What are the limitations of the STDIO transport?
MCP Advanced: STDIO Transport, Connection Handshake, Bidirectional Communication
Audio flashcard · 0:27Nortren·
What are the limitations of the STDIO transport?
0:27
The primary limitation is that both client and server must run on the same machine because they communicate through process pipes. You cannot use STDIO to connect to a remote MCP server hosted in the cloud or on another computer. This makes STDIO unsuitable for production deployments where the server needs to be publicly accessible or shared across multiple clients on different machines. For those scenarios, you need the StreamableHTTP transport, which introduces its own set of trade-offs around server-to-client communication capabilities.
---
modelcontextprotocol.io