MCP Streamable HTTP uses POST, optional SSE, and an MCP session id header
Answer: MCP defines stdio and Streamable HTTP transports. Clients SHOULD support stdio whenever possible. In the stdio transport, the client launches the MCP server as a subprocess. Messages are delimited by newlines, and MUST NOT contain embedded newlines.
Streamable HTTP
This replaces the HTTP+SSE transport from protocol version 2024-11-05. In the Streamable HTTP transport, the server operates as an independent process. Clients send JSON-RPC messages with POST. The server may return JSON or initiate an SSE stream.
Session management
A server using the Streamable HTTP transport MAY assign a session ID at initialization time in an MCP-Session-Id header. If an MCP-Session-Id is returned during initialization, clients using the Streamable HTTP transport MUST include it on subsequent requests. Servers that require a session ID SHOULD respond to requests without that header (other than initialization) with HTTP 400 Bad Request. After the server terminates the session, it MUST respond to requests containing that session ID with HTTP 404 Not Found. The client MUST start a new session by sending a new InitializeRequest without a session ID attached.
See also
Claims
- id: C1 claim: Clients should support stdio whenever possible. source: S1 evidence: "Clients SHOULD support stdio whenever possible"
- id: C2 claim: In stdio the client launches the server as a subprocess. source: S1 evidence: "The client launches the MCP server as a subprocess"
- id: C3 claim: Streamable HTTP replaces the older HTTP+SSE transport. source: S2 evidence: "This replaces the [HTTP+SSE"
- id: C4 claim: A server may assign a session ID at initialization time. source: S2 evidence: "A server using the Streamable HTTP transport MAY assign a session ID at"
Sources
- [S1] Transports (MCP specification 2025-11-25). Model Context Protocol. https://modelcontextprotocol.io/specification/2025-11-25/basic/transports . License: Apache-2.0 (specification; earlier contributions MIT). Accessed 2026-11-16.
- [S2] Transports (MCP specification source). modelcontextprotocol/modelcontextprotocol (GitHub). https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/basic/transports.mdx . License: Apache-2.0 (specification; earlier contributions MIT). Accessed 2026-11-16.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Model Context Protocol, Transports (MCP specification 2025-11-25), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); modelcontextprotocol/modelcontextprotocol (GitHub), Transports (MCP specification source), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Model Context Protocol, Transports (MCP specification 2025-11-25), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); modelcontextprotocol/modelcontextprotocol (GitHub), Transports (MCP specification source), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE).
Cite this
iinventedlight. 2026. "MCP Streamable HTTP uses POST, optional SSE, and an MCP session id header." iinventedlight Library, iil:note:hayyn4sq, version of 2026-11-16. https://iinventedlight.com/library/notes/ao-mcp-streamable-http/. License: CC-BY-4.0.
@misc{iil_note_hayyn4sq,
author = {{iinventedlight}},
title = {{MCP Streamable HTTP uses POST, optional SSE, and an MCP session id header}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-16},
url = {https://iinventedlight.com/library/notes/ao-mcp-streamable-http/},
note = {Permanent ID iil:note:hayyn4sq. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- ao-mcp-streamable-http.table.json (table; CC-BY-4.0)
- ao-mcp-streamable-http.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/ao-mcp-streamable-http.md.