mcp-transport-stdio-http
Installation
SKILL.md
MCP Transports — stdio vs Streamable HTTP
Pick the right transport and the rest of your server design follows.
When to Use
- Starting a new MCP server and choosing a transport
- Migrating from deprecated SSE transport to Streamable HTTP
- Debugging "connection dropped" or "session expired" errors
- Scaling a remote MCP server horizontally
Transport Matrix
| Transport | Use when | Pros | Cons |
|---|---|---|---|
| stdio | Local tools, CLI integrations, single-user | Zero network, trusted process, simplest | Only local; one client per server process |
| Streamable HTTP | Remote multi-user servers | Bidirectional, resumable, load-balanceable | More complex; requires session layer |
| SSE (legacy) | Existing deployments | — | Deprecated; migrate to Streamable HTTP |