Some MCP clients (e.g., Claude Code) don't send an Accept header, causing the MCP SDK to reject requests with 406 Not Acceptable. The middleware now ensures Accept includes application/json and text/event-stream when missing. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| http.py | ||
| mcp.py | ||