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
- Set GITHUB_PERSONAL_ACCESS_TOKEN as a Windows user environment variable.
- Enable the GitHub plugin, or add https://api.githubcopilot.com/mcp/ to mcp.json with the Bearer header.
- 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