Title: Insiders Feedback: `issue_write` form in VS Code shows `-32020 header mismatch: missing Mcp-Param-owner header` while loading repository metadata · Issue #3834 · github/github-mcp-server · GitHub
Open Graph Title: Insiders Feedback: `issue_write` form in VS Code shows `-32020 header mismatch: missing Mcp-Param-owner header` while loading repository metadata · Issue #3834 · github/github-mcp-server
X Title: Insiders Feedback: `issue_write` form in VS Code shows `-32020 header mismatch: missing Mcp-Param-owner header` while loading repository metadata · Issue #3834 · github/github-mcp-server
Description: Version: Insiders Feature :issue_write form in VS Code Feedback: Summary When issue_write opens its MCP App form in VS Code agent mode, the form shows this error at the top: -32020: header mismatch: missing Mcp-Param-owner header The err...
Open Graph Description: Version: Insiders Feature :issue_write form in VS Code Feedback: Summary When issue_write opens its MCP App form in VS Code agent mode, the form shows this error at the top: -32020: header mismatch...
X Description: Version: Insiders Feature :issue_write form in VS Code Feedback: Summary When issue_write opens its MCP App form in VS Code agent mode, the form shows this error at the top: -32020: header mismatch...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3834
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Insiders Feedback: `issue_write` form in VS Code shows `-32020 header mismatch: missing Mcp-Param-owner header` while loading repository metadata","articleBody":"Version: Insiders\n\nFeature :`issue_write` form in VS Code\n\nFeedback:\n\n**Summary**\n\n\nWhen `issue_write` opens its MCP App form in VS Code agent mode, the form shows this error at the top:\n\n\n```\n-32020: header mismatch: missing Mcp-Param-owner header\n```\n\n\nThe error clears on its own, and submitting the issue still works. It happens on almost every form we open.\n\n\n**Environment**\nVS Code 1.146.0 (commit 69047191fc427f2f92828279aae1d90d8eeda7ab, x64), Windows\nChat running through the Copilot agent host (\"copilotcli\" harness)\nMCP server: GitHub remote MCP server (HTTP), hosted on a GHE.com tenant\n\n**Steps to reproduce**\n\n\n1. In agent mode, ask the agent to file an issue so that it calls `issue_write` with `method: \"create\"`, `owner`, `repo`, `title` and `body`.\n2. The form renders fine.\n3. Fill in the form and submit. An error is raised; `-32020: header mismatch: missing Mcp-Param-owner header`\n4. Click submit again - the error goes away and issue is submitted.\n\n\n**Analysis**\n\n\nWhen the form loads, it calls back to the server through the MCP Apps bridge (`app.callServerTool`) to fetch labels, assignees, milestones, issue types and custom issue fields (`ui_get`). The submit call (`issue_write`) works, so the failure is in one or more of those `ui_get` lookups. Those calls start inside the form rather than from the model, and they appear to reach the server without the `Mcp-Param-owner` and `Mcp-Param-repo` headers that the server now requires on repo-scoped calls.\n\n\nOne detail worth checking: `ui_get` with `method: \"issue_types\"` sends only `owner`, while the other lookups send both `owner` and `repo`.\n\n\n[Impact: the Labels, Assignees, Milestone or Type dropdown was empty, or nothing visibly broke.]\n\n\n**Expected**\n\n\nThe form's own lookups succeed, or a failed lookup degrades quietly (for example, an empty dropdown) instead of showing a raw JSON-RPC error and stack trace to the user.\n\n\n**Related**\n\n\n- [[github/github-mcp-server#3311](https://github.com/github/github-mcp-server/issues/3311)](https://github.com/github/github-mcp-server/issues/3311), about the server enforcing the headers regardless of negotiated protocol version. It was closed after the maintainers couldn't reproduce it.\n- [[chatboxai/chatbox#4007](https://github.com/chatboxai/chatbox/issues/4007)](https://github.com/chatboxai/chatbox/issues/4007), the same error in another client.\n- [[modelcontextprotocol/typescript-sdk#2639](https://github.com/modelcontextprotocol/typescript-sdk/issues/2639)](https://github.com/modelcontextprotocol/typescript-sdk/issues/2639), which says there's no supported way to send these headers on an older-protocol connection.\n\n\n**Agent Host Log**\n```\n[info] MCP server '\u003cgithub-server>' pending (starting)\n[error] [ProtocolServer] mcp:// request 'tools/call' on mcp://copilotcli/\u003cchat>/\u003cgithub-server> failed\n Request session.mcp.apps.callTool failed with message: MCP tools/call failed for \u003cgithub-server>/ui_get:\n MCP request failed: MCP transport closed before the tool responded (x3)\n[info] MCP server '\u003cgithub-server>' connected (ready)\n[error] [ProtocolServer] mcp:// request 'tools/call' on mcp://copilotcli/\u003cchat>/\u003cgithub-server> failed\n Request session.mcp.apps.callTool failed with message: MCP tools/call failed for \u003cgithub-server>/ui_get:\n McpError: MCP error -32020: header mismatch: missing Mcp-Param-owner header for parameter \"owner\"\n[info] MCP server '\u003cgithub-server>' requires authentication\n[info] MCP server '\u003cgithub-server>' not_configured (stopped)\n[error] [ProtocolServer] ... MCP tools/call failed for \u003cgithub-server>/issue_write:\n McpError: MCP error -32020: header mismatch: missing Mcp-Param-owner header for parameter \"owner\"\n```\n\n**Renderer Log**\n\n```\n[warning] [RemoteAgentHostProtocol] Request failed: {\"code\":-32603,\"message\":\"Error: Request session.mcp.apps.callTool failed ...\n MCP tools/call failed for \u003cgithub-server>/ui_get: McpError: MCP error -32020: header mismatch:\n missing Mcp-Param-owner header for parameter \\\"owner\\\"\"}\n[error] [MCP App] Error handling tools/call: ... \u003cgithub-server>/ui_get ... -32020 ... missing Mcp-Param-owner header\n```\n","author":{"url":"https://github.com/notthatbreezy","@type":"Person","name":"notthatbreezy"},"datePublished":"2026-11-12T21:18:56Z","url":"https://github.com/github/github-mcp-server/issues/3834"}
| 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:75b46725-1581-5020-21fe-28528d5d6794 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFEC:80C99:89CA43:B6E74F:6B0632CB |
| html-safe-nonce | ded4158bc6b1cac5767e23c5d94efe958526b802e4dedaa2671b0ed7ca2089c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkVDOjgwQzk5Ojg5Q0E0MzpCNkU3NEY6NkIwNjMyQ0IiLCJ2aXNpdG9yX2lkIjoiOTUwOTE2MzEzODY0NjE0NjAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cd382082c3f9f5274f96372e366a06349a201bcc8b9fc9899ea8f6889570511a |
| hovercard-subject-tag | issue:6359235039 |
| 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/3834/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad5e94af0b272a04722d1bd971a3ae932fffbd42588b63183e155b2c3555636a/github/github-mcp-server/issues/3834 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad5e94af0b272a04722d1bd971a3ae932fffbd42588b63183e155b2c3555636a/github/github-mcp-server/issues/3834 |
| og:image:alt | Version: Insiders Feature :issue_write form in VS Code Feedback: Summary When issue_write opens its MCP App form in VS Code agent mode, the form shows this error at the top: -32020: header mismatch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | notthatbreezy |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| 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