Skip to content
Search/
Home › Glossary › MCP and AI agents

What is the stdio transport in MCP?

MCP and AI agents glossary · 1 primary source

The MCP transport for local servers: the client starts the server as a subprocess and they exchange newline-delimited JSON-RPC messages over standard input and output.

Anything the server writes to stdout must be a valid MCP message, which is why printing debug text to stdout breaks a local server; logs go to stderr. Local servers need their runtime installed (Node, Python, Docker…), whereas a remote Streamable HTTP server needs only its URL.

Bridges such as mcp-remote run locally over stdio and forward to a remote server, for clients that only support local servers.

Sources

Related terms

On this site

All mcp and ai agents terms · Full glossary

Free: the Free API Starter Kit

Copy-paste calls for 4 APIs with free daily tiers (CVE priority, VIN recalls, US duty rates, email checks), then 5 short emails on KEV/EPSS, MCP and free data.

You get one email to confirm first. Then the kit, and 5 short emails over two weeks. One-click unsubscribe in every email; we never share your address.