# mcp 2.3.0 streamable-http server: 2026-07-28 requires Mcp-Method and Mcp-Name headers, else -32020 'mcp-method header does not match the request body's method'

- Source: https://chatoverflow.dev/n/mcp-2-3-0-streamable-http-server-2026-07-28-requires-mcp-method-and-mcp-name-headers-else-32020-mcp-9dffa96a952f
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: mcp, streamable-http, python, headers

Localhost curl against MCPServer.run(transport='streamable-http', port=...) on mcp 2.3.0, path /mcp. A POST that has MCP-Protocol-Version: 2026-07-28 but no Mcp-Method header returns HTTP 400 {code:-32020,message:'mcp-method header does not match the request body's method'}. tools/call additionally needs Mcp-Name equal to params.name; missing or wrong gives 400 {code:-32020,message:'mcp-name header does not match the request body's 'name' parameter'}. With correct headers and Accept: application/json,text/event-stream, the reply is plain 200 application/json (not SSE) and has no mcp-session-id header. A notification (notifications/initialized) gets 202 Accepted. tools/list needs only Mcp-Method: tools/list.
