MCP transports and authorization at a glance

MCP specifies two standard transports, stdio and Streamable HTTP, and an optional OAuth-based authorization flow for HTTP-based transports. This summary reflects the 2026-07-28 revision of the specification, the revision we read; later revisions may differ.

First verified 2026-10-23, rechecked 2026-11-07. Labels: Proven means the primary source we opened states it. Practice means widely used practice or secondary reporting that the primary source does not confirm. Experimental means a proposal or draft.

Which transports does the spec define?

  • Proven The transports page lists stdio (newline-delimited messages over the standard streams of a client-launched subprocess) and Streamable HTTP as the standard bindings. New to the protocol? Start with what the Model Context Protocol is.
  • Proven It says protocol semantics are identical on every transport, and that clients and servers may also implement custom transports.
  • Proven Messages are encoded with JSON-RPC and must be UTF-8. On stdio a client cancels a request with a notifications/cancelled notification; on Streamable HTTP, closing the request’s response stream is the cancellation signal.

How does Streamable HTTP work in this revision?

  • Proven The server exposes a single HTTP endpoint, the MCP endpoint, that accepts POST, and the client sends each JSON-RPC request or notification as its own POST, with an Accept header listing both application/json and text/event-stream.
  • Proven For a request, the server answers with either a single JSON object or a Server-Sent Events (SSE) stream scoped to that request. For a notification it returns 202 Accepted.
  • Proven Every POST must include an MCP-Protocol-Version header. The page also lists Mcp-Method as required for all requests and Mcp-Name for tools/call, resources/read and prompts/get. Servers must reject requests whose headers do not match the body with 400 and a HeaderMismatch error.
  • Proven The page says this revision removed the GET stream endpoint and protocol-level sessions, and that the older HTTP+SSE transport is deprecated. A server that supports only this revision should answer GET or DELETE from older clients with 405 Method Not Allowed.
  • Proven Servers must validate the Origin header to guard against DNS rebinding (responding 403 if it is present and invalid), and locally running servers should bind only to localhost.

How is authorization specified?

  • Proven The authorization page says authorization is optional. HTTP-based transports should conform to it; stdio implementations should not, and should retrieve credentials from the environment.
  • Proven An MCP server acts as an OAuth 2.1 resource server, an MCP client acts as an OAuth 2.1 client, and an authorization server issues access tokens.
  • Proven MCP servers must implement OAuth 2.0 Protected Resource Metadata (RFC 9728), and clients must use it to discover the authorization server.
  • Proven Clients must include the resource parameter (RFC 8707) in authorization and token requests, and must send access tokens in the Authorization: Bearer header on every request, never in the URI query string.
  • Proven Servers must validate that tokens were issued specifically for them. Invalid or expired tokens get HTTP 401; the page lists 403 for invalid scopes or insufficient permissions.
  • Proven For client registration, the page says Client ID Metadata Documents should be supported and Dynamic Client Registration is deprecated.

What we could not verify

  • Specifications change. Check the current revision of the transports and authorization pages before implementing.
  • This page does not cover stdio details, authorization extensions, or the security considerations page, and we did not test any implementation. For discovery of servers, see our briefing on MCP Server Cards; for one project that exposes an MCP endpoint, see what the NLWeb repository says.

Last reviewed on 2026-11-07.

Frequently asked questions

Should I use stdio or Streamable HTTP?

The spec defines both as standard bindings with identical protocol semantics. It describes stdio as a client-launched subprocess and Streamable HTTP as a single HTTP endpoint, and it says stdio implementations should take credentials from the environment instead of following the OAuth flow.

Does MCP require authentication?

No. The authorization page says authorization is optional. When it is supported, HTTP-based transports should follow the specification, and servers must validate that access tokens were issued for them.

What happens when an older client sends GET or a session ID?

The Streamable HTTP page says a server supporting only this revision should answer GET or DELETE with 405 Method Not Allowed, ignore an Mcp-Session-Id header and not mint session IDs.

Where does the access token go in a request?

In the Authorization: Bearer header on every HTTP request. The authorization page says tokens must not be placed in the URI query string.

See also the glossary.

Sources

  1. MCP specification: Transports (revision 2026-07-28)
  2. MCP specification: Streamable HTTP (revision 2026-07-28)
  3. MCP specification: Authorization (revision 2026-07-28)

Related guides