feat(mcp): upgrade to spec 2025-11-25
- Advertise protocolVersion 2025-11-25 in initialize response
- Add MCP-Protocol-Version response header on all Streamable HTTP responses
- Add Mcp-Session-Id header on initialize response (MAY per spec)
- Origin header validation (MUST per spec) — rejects non-allowlisted origins
- Batch request filtering: remove null entries from response array
- Keep full backwards-compat with 2024-11-05 (old SSE transport preserved)
1 parent e0f22e9 commit d8e32ba4491eef2fba6b640b48b7d57bd7fe8ebb
@Antigravity AI Antigravity AI authored 21 days ago
Showing 1 changed file
View
ai-hub/app/api/routes/mcp.py