MCP transport: definition and example
An MCP transport is the binding that defines how JSON-RPC messages are framed and delivered between a client and a server. The specification defines two standard bindings: stdio, newline-delimited messages over a subprocess's standard streams, and Streamable HTTP, where each message is an HTTP POST to a single endpoint. Protocol meaning is the same on both.
Facts read on .
Example
The Streamable HTTP binding mirrors selected body fields into HTTP headers so that intermediaries can route and inspect requests without parsing the body, and the spec says the body remains the source of truth.
Sources
- MCP specification 2026-07-28: Transports (modelcontextprotocol.io), read