GitHub MCP connects, then fails with "Client error: terminated" (Windows)

Describe the Bug

Moved here from the Atlassian MCP 401 thread at Dean’s request, since it’s a separate issue.

On Windows, the GitHub MCP server at api.githubcopilot.com/mcp/ connects and then fails about half a second later with Client error: terminated. The row shows “Error · terminated”. This happens with the GitHub plugin and also with a direct entry in ~/.cursor/mcp.json with the plugin turned off. Authentication uses a fine-grained personal access token sent as Authorization: Bearer.

The token and the server work fine outside Cursor. From the same machine, a manual initialize, initialized, and tools/list sequence returns 200 with 46 tools, and the GitHub /user API returns my account. The server answers the optional GET event stream with 405. Limiting toolsets with X-MCP-Toolsets: repos,issues,pull_requests made no difference.

Still happening on Cursor 3.27.22. Log from the mcp.json entry (the plugin log is the same):

17:03:09.802 [info] [V2 FSM] connection:connect_start: conn=idle,auth=unknown -> conn=connecting,auth=unknown
17:03:10.524 [info] Successfully connected to streamableHttp server
17:03:10.524 [info] [V2 FSM] connection:connect_success: conn=connecting,auth=unknown -> conn=connected,auth=unknown
17:03:10.995 [warning] MCP HTTP exchange completed
17:03:10.995 [error] Client error: terminated terminated
17:03:10.995 [warning] [V2 FSM] connection:transport_error: conn=connected,auth=unknown -> conn=failed,auth=unknown

Steps to Reproduce

  1. Set GITHUB_PERSONAL_ACCESS_TOKEN as a Windows user environment variable.
  2. Enable the GitHub plugin, or add https://api.githubcopilot.com/mcp/ to mcp.json with the Bearer header.
  3. Restart Cursor and open Tools & MCP.

Expected Behavior

Expected: the GitHub MCP stays connected and its tools become available.
Operating system: Windows
Cursor version: 3.27.22
Does this stop you from using Cursor: No, but GitHub MCP tools are unavailable.

Operating System

Windows 10/11

Version Information

Version: 3.27.22
VSCode Version: 1.128.0
Commit: b1aa50cb6db84fd3e8c808259cb172ea73425c10
Date: 2026-10-27T00:33:02.045Z
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Jarno_Salomaki, thanks for moving this over, and for the manual test results.

From your log, the connection to the GitHub server is set up fine, and then the network connection Cursor’s MCP process is using gets closed partway through a response, right after the server answers the optional event stream with 405. This doesn’t look specific to GitHub or to your token.

Could you try this and let me know if it changes anything:

  1. Open the Command Palette (Ctrl+Shift+P) and run “Preferences: Open User Settings (JSON)”.
  2. Add this line inside the braces: “http.fetchAdditionalSupport”: false
  3. Save the file, then fully quit Cursor (close every window) and start it again.
  4. Open Cursor Settings > Tools & MCP and check whether the GitHub server stays connected and lists its tools.

If it makes no difference, you can remove the line again.

Two more questions that would help:

  • Are you behind a proxy, a VPN, or antivirus/security software that inspects HTTPS traffic?
  • What did you use for the manual test that worked (curl, PowerShell, something else)?

Same issue here on a different server, and “http.fetchAdditionalSupport”: false fixed it for us.

Setup:

  • Windows, Cursor [3.27.22 / 3.28.7], MCP log lines prefixed with [Shared MCP process]
  • Remote Streamable HTTP MCP server (Drupal mcp_server module, PHP mcp/sdk), auth via a custom header
  • [VPN / HTTPS-inspecting antivirus: yes/no]

Log before the fix (identical to the original report):

[Shared MCP process] Successfully connected to streamableHttp server
[Shared MCP process] [V2 FSM] connection:connect_success: conn=connecting,auth=unknown → conn=connected,auth=unknown
[Shared MCP process] MCP HTTP exchange completed
[Shared MCP process] Client error: terminated terminated
[Shared MCP process] [V2 FSM] connection:transport_error: conn=connected,auth=unknown → conn=failed,auth=unknown

What the server access log showed for each attempt:

  1. POST initialize → 200
  2. POST notifications/initialized → 202
  3. GET (open SSE stream) → 405 with “Allow: POST, DELETE, OPTIONS”
  4. nothing else; the client dropped the connection

The same server works from Cursor on Linux: after the GET 405 that client keeps going with tools/list and stays connected. The same request sequence with curl also works (each step < 0.3 s).

Fix: added “http.fetchAdditionalSupport”: false to User Settings (JSON), fully quit Cursor and started it again. The server now stays connected and lists its tools.

So it looks like the default network path of the shared MCP process on Windows fails right after a valid GET 405, independent of the server.

The change fixed the reported failure. After adding "http.fetchAdditionalSupport": false and fully restarting Cursor, GitHub stayed connected and listed 39 tools. The log from this start has no Client error: terminated.

What I saw on screen was a long wait. From 10:15:48 until 10:17:54 the GitHub row stayed on Connecting, so at first it looked as if nothing was happening. At 10:17:54 it connected, and the tools were there. The count is 39 because my mcp.json entry limits the toolsets to repos, issues, and pull_requests. The earlier manual test, without that limit, returned 46.

No proxy is configured. Windows is set to direct access, and no proxy environment variables are set. No VPN tunnel is up. An F5 adapter is installed and disconnected. The Norton VPN service is running, but traffic goes out through the local Ethernet adapter.

Norton 360 is inspecting HTTPS. A connection to api.githubcopilot.com is re-signed by Norton Web/Mail Shield Root, described as generated by Norton Antivirus for SSL/TLS scanning.

The manual test that worked was an MCP initialize, notifications/initialized, and tools/list against https://api.githubcopilot.com/mcp/. It returned 200 and 46 tools. I could not find on this PC whether that client was curl or PowerShell.