stdio transport

The MCP transport in which the client starts the server as a subprocess and they exchange one JSON-RPC message per line over standard input and output.

In more detail

Anything else the server prints to standard output corrupts the stream, so logs go to standard error. It suits local servers; shut the subprocess down cleanly, and kill it if it does not exit.

Related terms

Taught in

References

Certification courses