What is stdio transport?
The stdio transport is an MCP transport in which the client launches the server as a subprocess and exchanges newline-delimited JSON-RPC messages with it over the server's standard input and output.
Also written: stdio, MCP stdio, standard input output transport
Explained
In the stdio transport, an MCP client starts the server as a child process. The server reads JSON-RPC messages from its standard input and writes its own messages to standard output. Each message sits on one line, so messages are delimited by newlines and must not contain embedded newlines. Nothing else may be written to those two streams: the server must not print anything to stdout that is not a valid MCP message, and the client must not send anything to stdin that is not one.
Standard error is free for logging. A server may write informational, debug, or error text there, and the client may capture, forward, or ignore it, but should not treat it as proof that something failed.
Shutdown is built on stream closure. The client closes the server's input, waits for it to exit, and forcibly terminates the process if it does not. Servers should exit promptly when their input closes. If a server dies unexpectedly, the client should restart it.
Because the client starts the server as its own subprocess, this transport suits servers that run locally on the same machine. The MCP authorization page says stdio implementations should not follow its OAuth flow and should instead take credentials from the environment.
Primary source
stdio - Model Context Protocol specification (2026-07-28) (modelcontextprotocol.io), read Oct 26, 2026
This entry paraphrases the page above. Sources change; check it for the current wording.
Listings that use this
The 5 top-ranked listings tagged for stdio transport. Rank weighs adoption, freshness, documentation and publisher identity; how we rank and grade. Money never changes the order.
- 0.874score
REA
morluto
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
ConnectorAFreshness: ALocal★ 377.4KClaude Code +5 - 0.873score
Browser Use
browser-use.comOfficial
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
ConnectorAFreshness: ARemoteLocal★ 119K↓ 1.5M/wkClaude Code +5 - 0.867score

Scrapling MCP Server
D4Vinci
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass.
ConnectorAFreshness: ALocal★ 89.4K↓ 269.4K/wkClaude Code +5 - 0.867score

Context7
upstashOfficial
Up-to-date docs for AI agents
ConnectorAFreshness: ARemoteLocalRead-only★ 63.6KClaude Code +5 - 0.865score
Claude Flow
ruvnet
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
ConnectorAFreshness: ALocal★ 78.9KClaude Code +5
Related
Cite this page
What is stdio transport?. Agent Mart. https://agentmart.dev/glossary/stdio-transport (last updated 2026-10-26)
Written Oct 26, 2026, updated Oct 26, 2026. All glossary terms