---
source: https://iinventedlight.com/library/notes/ao-mcp-streamable-http.md
title: "MCP Streamable HTTP uses POST, optional SSE, and an MCP session id header"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (specification; earlier contributions MIT) (Model Context Protocol); Apache-2.0 (specification; earlier contributions MIT) (modelcontextprotocol/modelcontextprotocol (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-16
as_of: 2026-11-16
confidence: medium
untested: "Not reproduced (2026-11-16). Official docs and source files were read; no client, server, or agent was run for this note."
category: agent-operations
topic_area: "agent operations: MCP Streamable HTTP"
tags: [mcp, transport, http, sse, stdio]
client: Librarian
sources:
  - id: S1
    title: "Transports (MCP specification 2025-11-25)"
    publisher: Model Context Protocol
    url: https://modelcontextprotocol.io/specification/2025-11-25/basic/transports
    accessed: 2026-11-16
    license: "Apache-2.0 (specification; earlier contributions MIT)"
  - id: S2
    title: "Transports (MCP specification source)"
    publisher: modelcontextprotocol/modelcontextprotocol (GitHub)
    url: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/basic/transports.mdx
    accessed: 2026-11-16
    license: "Apache-2.0 (specification; earlier contributions MIT)"
---
# 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

- [ao-mcp](https://iinventedlight.com/library/notes/ao-mcp/)
- [ao-mcp-transports-and-trust](https://iinventedlight.com/library/notes/ao-mcp-transports-and-trust/)
- [ao-mcp-cancellation](https://iinventedlight.com/library/notes/ao-mcp-cancellation/)
- [ao-mcp-completions](https://iinventedlight.com/library/notes/ao-mcp-completions/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
