Title: Mcp-Param-* projection is enforced regardless of negotiated protocol version, breaking 2025-11-25 clients since v1.12.0 · Issue #3311 · github/github-mcp-server · GitHub
Open Graph Title: Mcp-Param-* projection is enforced regardless of negotiated protocol version, breaking 2025-11-25 clients since v1.12.0 · Issue #3311 · github/github-mcp-server
X Title: Mcp-Param-* projection is enforced regardless of negotiated protocol version, breaking 2025-11-25 clients since v1.12.0 · Issue #3311 · github/github-mcp-server
Description: Summary Since the v1.12.0 rollout (2026-09-03), repo-scoped tools on the hosted remote server (https://api.githubcopilot.com/mcp/...) reject calls from clients that negotiated 2025-11-25: Negotiated protocol version: 2025-11-25 HTTP 400:...
Open Graph Description: Summary Since the v1.12.0 rollout (2026-09-03), repo-scoped tools on the hosted remote server (https://api.githubcopilot.com/mcp/...) reject calls from clients that negotiated 2025-11-25: Negotiate...
X Description: Summary Since the v1.12.0 rollout (2026-09-03), repo-scoped tools on the hosted remote server (https://api.githubcopilot.com/mcp/...) reject calls from clients that negotiated 2025-11-25: Negotiate...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3311
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mcp-Param-* projection is enforced regardless of negotiated protocol version, breaking 2025-11-25 clients since v1.12.0","articleBody":"### Summary\n\nSince the v1.12.0 rollout (2026-09-03), repo-scoped tools on the hosted remote server\n(`https://api.githubcopilot.com/mcp/...`) reject calls from clients that negotiated **2025-11-25**:\n\n```\nNegotiated protocol version: 2025-11-25\n\nHTTP 400: header mismatch: missing Mcp-Param-owner header for parameter \"owner\" (code -32020)\nHTTP 400: header mismatch: missing Mcp-Param-repo header for parameter \"repo\" (code -32020)\n```\n\n`Mcp-Param-*` projection is a **2026-07-28** feature. A client that negotiated 2025-11-25 sends `owner`\nand `repo` in the `tools/call` params, as that version specifies, and has no mechanism to emit projected\nheaders. Enforcing the header check against such a session makes `-32020` reachable on a protocol\nversion where it should not exist.\n\n### The underlying issue: the check is not version-scoped\n\nVersion negotiation during `initialize` exists so that one deployment can serve clients across protocol\nversions, applying each version's semantics per session. A version-correct implementation would branch:\n\n| Negotiated version | `owner` / `repo` read from | Header validation |\n|---|---|---|\n| 2026-07-28 | projected `Mcp-Param-*` headers | applies |\n| 2025-11-25 | `tools/call` params | must not apply |\n\n[PR #3167](https://github.com/github/github-mcp-server/pull/3167) states the projection mechanism is\n*\"not gated on protocol version negotiation\"* — consistent with validation living in the HTTP layer,\nwhich sits outside per-session version state and so cannot see what was negotiated. The result is that\n2026-07-28 semantics are applied to every session regardless of what the client agreed to.\n\nThis makes adopting any server ≥ v1.12.0 conditional on the *client* adopting 2026-07-28, which inverts\nthe compatibility guarantee that negotiation is meant to provide.\n\n### Impact\n\nA previously working integration broke with no client-side change, in a minor release. Clients pinned to\n2025-11-25 cannot call any repo-scoped tool, and there is no client-side remedy — emitting projected\nheaders is not something a 2025-11-25 client can do. Our only options are pinning a pre-v1.12.0\nself-hosted build or writing a proxy that converts arguments into headers.\n\n### Steps to reproduce\n\n1. Connect to `https://api.githubcopilot.com/mcp/x/all/readonly` with a client supporting only MCP 2025-11-25.\n2. Confirm the negotiated version is `2025-11-25`.\n3. Call any repo-scoped tool (e.g. `get_file_contents`) with `owner` and `repo` as ordinary arguments.\n4. Server returns HTTP 400 / `-32020` header mismatch.\n\n### Expected\n\nOn a session negotiated at 2025-11-25, `owner`/`repo` are read from the `tools/call` arguments and the\ncall succeeds. Projected-header validation applies only to sessions negotiated at 2026-07-28 or later.\n\n### Actual\n\n`-32020` header mismatch on every repo-scoped tool call, irrespective of negotiated version.\n\n### Version information\n\n- **Last working:** v1.11.0 (2026-08-25) — no projection present; `owner`/`repo` accepted as arguments.\n- **First broken:** the v1.12.0 rollout (2026-09-03).\n- [#3147](https://github.com/github/github-mcp-server/pull/3147) is CORS-only and not implicated;\n [#3167](https://github.com/github/github-mcp-server/pull/3167) allowlists the projections in preflight\n and describes the ungated behaviour.\n- Comparable failure mode under the previous SDK:\n [mark3labs/mcp-go#986](https://github.com/mark3labs/mcp-go/pull/986).\n\n### Questions\n\n1. Can projected-header validation be gated on the negotiated protocol version, so 2025-11-25 sessions\n fall back to reading the parameters from `tools/call`?\n2. In the interim, is there a supported opt-out — a request header or endpoint path — to disable\n parameter projection for clients still on 2025-11-25?\n","author":{"url":"https://github.com/iyoubee","@type":"Person","name":"iyoubee"},"datePublished":"2026-09-19T03:39:37Z","url":"https://github.com/github/github-mcp-server/issues/3311"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc112d40-2e18-e20e-a255-f0dba1573a4d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB56:15F7F4:B2A1DD:E70BB5:6B063976 |
| html-safe-nonce | c88ff580fe4d2159c8a0d67b383e5687b228f078ce3e964b8f3d47fc903c042d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjU2OjE1RjdGNDpCMkExREQ6RTcwQkI1OjZCMDYzOTc2IiwidmlzaXRvcl9pZCI6IjY5Mzc0OTIyNzM2NTE2NjExNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d49cfb4e1c01fddae3eca632095f72bab5eb17a6579839824deae2900a986093 |
| hovercard-subject-tag | issue:5507488414 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0720bef74d591bc906d398f055e2cf526a28fc8d27f4fbe66879917a4abec919/github/github-mcp-server/issues/3311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0720bef74d591bc906d398f055e2cf526a28fc8d27f4fbe66879917a4abec919/github/github-mcp-server/issues/3311 |
| og:image:alt | Summary Since the v1.12.0 rollout (2026-09-03), repo-scoped tools on the hosted remote server (https://api.githubcopilot.com/mcp/...) reject calls from clients that negotiated 2025-11-25: Negotiate... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iyoubee |
| hostname | github.com |
| expected-hostname | github.com |
| None | dcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f38f5735226749ec5e08a8649dce4cb2613d9ad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width