Title: issue_write update (state: closed) hangs — mutation succeeds but no response is ever returned · Issue #2636 · github/github-mcp-server · GitHub
Open Graph Title: issue_write update (state: closed) hangs — mutation succeeds but no response is ever returned · Issue #2636 · github/github-mcp-server
X Title: issue_write update (state: closed) hangs — mutation succeeds but no response is ever returned · Issue #2636 · github/github-mcp-server
Description: Summary issue_write with method: "update" and state: "closed" performs the GitHub mutation but never returns a JSON-RPC response. The issue is successfully closed (confirmed in the GitHub UI), but the MCP tool call hangs and the client m...
Open Graph Description: Summary issue_write with method: "update" and state: "closed" performs the GitHub mutation but never returns a JSON-RPC response. The issue is successfully closed (confirmed in the GitHub UI), but ...
X Description: Summary issue_write with method: "update" and state: "closed" performs the GitHub mutation but never returns a JSON-RPC response. The issue is successfully closed (confirmed in ...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2636
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"issue_write update (state: closed) hangs — mutation succeeds but no response is ever returned","articleBody":"## Summary\n\n`issue_write` with `method: \"update\"` and `state: \"closed\"` performs the GitHub mutation but **never returns a JSON-RPC response**. The issue is successfully closed (confirmed in the GitHub UI), but the MCP tool call hangs and the client must time out or be interrupted. Other `issue_write` update calls (e.g. editing the body or labels without a state change) return normally within a second or two.\n\n## Environment\n\n- **github-mcp-server**: `1.0.3` (commit `4bded57e02e9346cb1fd595156e07dea51f0fb29`)\n- **Transport**: stdio (`github-mcp-server stdio`)\n- **Auth**: PAT via `GITHUB_PERSONAL_ACCESS_TOKEN`\n- **OS**: Linux (Ubuntu, Node 24 MCP client)\n- The server is reached through a proxy (callmux), but the symptom is at the JSON-RPC layer: the request is dispatched, the GitHub mutation lands, and no `tools/call` response message is ever sent back. The proxy only observes a pending call with no reply.\n\n## Reproduction\n\nCall `issue_write` with a state transition to closed plus labels:\n\n```json\n{\n \"method\": \"update\",\n \"owner\": \"\u003cowner>\",\n \"repo\": \"\u003crepo>\",\n \"issue_number\": 158,\n \"state\": \"closed\",\n \"state_reason\": \"completed\",\n \"labels\": [\"infra\", \"fixed\"]\n}\n```\n\n## Expected\n\nThe tool returns the updated issue (URL / number / state) within a couple of seconds, the same as any other `issue_write` update.\n\n## Actual\n\n- The issue **is** closed on GitHub (the underlying API mutation succeeds).\n- No response is returned to the MCP client — the `tools/call` never completes.\n- The client hangs until it hits its own call timeout (or is manually interrupted).\n\n## Impact\n\nBecause the call never returns, an agent driving the server has no way to know the operation succeeded. It either blocks for the full client-side timeout window or interrupts and may incorrectly treat the close as failed (and, worse, retry it). A consistently-returned response — even just the updated issue object — would resolve this.\n\n## Notes / guesses\n\nThe hang appears specific to the **state-change-to-closed** path (a plain label/body update on an open issue returns fine). It looks like the update handler may complete the mutation but block or fail to write the response when `state: \"closed\"` (possibly combined with `state_reason` / `labels`) is part of the same call. Happy to capture stderr / a protocol trace if that would help narrow it down.\n","author":{"url":"https://github.com/edimuj","@type":"Person","name":"edimuj"},"datePublished":"2026-06-07T12:50:01Z","url":"https://github.com/github/github-mcp-server/issues/2636"}
| 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:7ffee0a8-dd25-7597-f4de-7a6820745ecd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEC2:1FDCFC:290CB11:3671096:6B06B90F |
| html-safe-nonce | bc5dda05df5b394b1fed7202b17f80e55cf11eb093ac242c69cd52e3af82310c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUMyOjFGRENGQzoyOTBDQjExOjM2NzEwOTY6NkIwNkI5MEYiLCJ2aXNpdG9yX2lkIjoiMTkyNjQ2NDAwMTM4MzI1MDE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76f39a0b762204fcb837f6ef71014093df720b17048349b9557e1c2d45c6896c |
| hovercard-subject-tag | issue:4607380435 |
| 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/2636/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4c373c48d5182fbf325f205cdb0b7e95a2ea1689aba17a24c5c13982f6efc43/github/github-mcp-server/issues/2636 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4c373c48d5182fbf325f205cdb0b7e95a2ea1689aba17a24c5c13982f6efc43/github/github-mcp-server/issues/2636 |
| og:image:alt | Summary issue_write with method: "update" and state: "closed" performs the GitHub mutation but never returns a JSON-RPC response. The issue is successfully closed (confirmed in the GitHub UI), but ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | edimuj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 32031aaff792fa7ad778f7418e1fbfc0d525a5779804329b769aa75230448a18 |
| 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 | 37014d914b7d14eede971655595f687a0202af40 |
| 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