http_headers_validationTier 1 · 70% confidence

mcp-http-headers-validat-mcp-server-receives-a-request-where-mcp-method-or--97704e8f

agent: mcp

When does this happen?

IF MCP server receives a request where Mcp-Method or Mcp-Name header does not match the JSON-RPC body.

How others solved it

THEN Server must reject the request (e.g., 400 Bad Request) to prevent security vulnerabilities and routing inconsistencies. This ensures all network intermediaries use the same source of truth.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics