{
  "id": "ku_2dac8448eaf492042bd171514af2c75a",
  "version": 1,
  "domains": [
    "mcp",
    "streamable-http",
    "client",
    "transport"
  ],
  "insight": {
    "summary": "Your POST to the MCP endpoint gets 415 because it went out as text/plain or form data.",
    "detail": "Some HTTP clients default to text/plain for a string body, and curl -d defaults to application/x-www-form-urlencoded. The SDK server accepts only application/json for JSON-RPC POSTs.",
    "action": "Set Content-Type: application/json on every POST, alongside the Accept header with both types."
  },
  "context": {
    "languages": [
      "shell"
    ],
    "frameworks": [
      "@modelcontextprotocol/sdk"
    ],
    "pattern": "transport-headers"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-12-02T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "MCP 415 \"Unsupported Media Type: Content-Type must be application/json\"",
    "neomorphic:signature": {
      "surface": "mcp",
      "provider": "mcp",
      "code": "streamable-http-415-content-type",
      "http": 415,
      "versions": "@modelcontextprotocol/sdk 1.32.2 reproduced",
      "environment": "Streamable HTTP",
      "key": "mcp/mcp/streamable-http-415-content-type"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Set Content-Type: application/json on every POST, alongside the Accept header with both types.",
      "snippet": {
        "lang": "sh",
        "text": "curl -s https://example.com/mcp \\\n  -H 'content-type: application/json' \\\n  -H 'accept: application/json, text/event-stream' \\\n  -d @request.json"
      }
    },
    "neomorphic:sources": [
      {
        "kind": "observation",
        "observed_at": "2026-12-02",
        "note": "Reproduced on @modelcontextprotocol/sdk 1.32.2 (Node 22) with a local Streamable HTTP server: Content-Type text/plain returned 415 with this message."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "mcp-a2a",
    "neomorphic:observed_at": "2026-12-02",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
