You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Monitoring: Mcp-* headers, new error codes, cancellation-as-abort #1628
Stack: SDK V2 + New Spec — 5 of 10 (pairs with card 4; needs era model from card 3).
Upgrade the Network and Protocol tabs for the standardized HTTP headers and new error taxonomy.
Scope
Display and validate the new headers:Mcp-Method, Mcp-Name, Mcp-Param-* (and MCP-Protocol-Version), including =?base64?{b64}?= sentinel-encoded values. Show header/body consistency at a glance.
New error codes shown distinctly:-32020 HeaderMismatch, -32021 MissingRequiredClientCapability, -32022 UnsupportedProtocolVersion (body lists supported) — all HTTP 400; plus modern -32601 as HTTP 404 (the JSON-RPC body is what distinguishes a modern server from a legacy HTTP+SSE bare 404).
Cancellation now appears as connection abort, not a notifications/cancelled frame — reflect that in the Network view.
Verify browser-path header mirroring:Mcp-Param-* mirroring is skipped in browsers (CORS) and happens on the Node side. Since the web client proxies through the backend, mirroring should work — verify in core/mcp/remote/** and surface accurately.
Raw-request passthrough is the only way to exercise page-by-page pagination and cache-bypass — coordinate with the raw-request work in card 1 (explicit ResultSchema), optionally expose "fetch single page" / "bypass cache" / "refresh".
Completed via PR #1722 (squash-merged into v2/main at 729e056 → merge commit). Auto-close doesn't fire for PRs targeting the non-default v2/main branch, so closing manually per the v2 workflow.
changed the title [-]Network: Mcp-* headers, new error codes, cancellation-as-abort[/-][+]Monitoring: Mcp-* headers, new error codes, cancellation-as-abort[/+]on Jul 18, 2026
Activity
Network smoke-test showcase + fix redaction clobbering JSON-RPC error…
Network: modern Mcp-* headers, new error codes, cancellation-as-abort (…
cliffhall commentedon Jul 18, 2026
Completed via PR #1722 (squash-merged into v2/main at 729e056 → merge commit). Auto-close doesn't fire for PRs targeting the non-default v2/main branch, so closing manually per the v2 workflow.
[-]Network: Mcp-* headers, new error codes, cancellation-as-abort[/-][+]Monitoring: Mcp-* headers, new error codes, cancellation-as-abort[/+]Thread cacheMode through managed list refresh via SDK cache-aware ver…