Dev.to
8/5/2026

Day 26/30: MCP Transport Options
Short summary
A developer debugging a LangGraph and MCP support bot discovered that the default stdio transport fails when client and server run on different machines. Switching to MCP's Streamable HTTP transport enables remote deployment by sending messages over HTTP. The post includes a code example and notes the need for retry logic (e.g., tenacity) to handle connection drops.
- •MCP's default stdio transport breaks when client and server are on different machines
- •Streamable HTTP transport enables remote MCP deployment over HTTP
- •Retry mechanisms like tenacity are needed to handle connection drops in production
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



