Cursor Github MCP does not forward fle content into agent

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

I set up a Github MCP server and try to use it for searching the code on Github.
Agent is able to search and also download the content of the file.
But this content is available for me but not available for the agent.
Agent is asking to enable non existent option to forward the output.
Because this content is downloaded in some temp files it is not easy to add to the context.
Could you please fix this so that agent in the chat can access the file content

Steps to Reproduce

Set up Github MCP server, ask to download the file and print the content. It will fail

Expected Behavior

Should be able to get the content and consume it

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

GPT-5

Does this stop you from using Cursor

No - Cursor works, but with this issue

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m trying to use the get_file_contents GitHub’s MCP tool, the client actually does it, but for some reason, it cannot see the file content. I’ve tried the same prompt on Claude and Copilot and they can handle it properly.

Is there something missing for Cursor usage or is it just a problem for itself?

On the first attached print is the Cursor behavior, the second one is the Copilot, both are configured using the same PAT

Steps to Reproduce

Setup the GitHub MCP and try to access some .md file using the get_file_contents tool

Expected Behavior

Fetch the file content

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43 (Universal)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0

For AI issues: which model did you use?

Composer 1, GPT 5, Haiku 4.5

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

I’ve tried to attach 2 screenshots, but it attached just the copilot one, there is from cursor

Hey, thanks for the report. This is a known issue with GitHub MCP tool responses in Cursor 2.0.43, the tool runs successfully, but the content isn’t forwarded to the agent’s context.

To help the team debug, please share:

  • Request ID: Open the chat menu (top right) → Copy Request ID from the failed interaction
  • MCP Logs: View → Output Cmd+Shift+U → select the “MCP:github” dropdown → share any errors
  • Your GitHub MCP server configuration (remove any tokens)

The team is actively working on MCP improvements. I’ll flag this for engineering review.

Request id: db0986f2-cb3b-445d-b0c4-822e0ecbc46d
MCP Logs:

2025-11-04 12:00:06.797 [info] Found 40 tools, 2 prompts, and 0 resources

2025-11-04 12:00:15.218 [info] Handling CallTool action for tool 'get_file_contents'

2025-11-04 12:00:15.218 [info] Calling tool 'get_file_contents' with toolCallId: tool_0ba97621-5cff-4bc8-8342-318f86b2329

2025-11-04 12:00:15.223 [info] No stored tokens found

2025-11-04 12:00:17.458 [info] Successfully called tool 'get_file_contents'

GitHub MCP server configuration:

{

  "mcpServers": {

...

"github": {

"url": "https://api.githubcopilot.com/mcp/",

"headers": {

"Authorization": "Bearer {token}"

      }

    },

...

}

Thanks for providing the Request ID and logs - this will help the team investigate.

The issue is confirmed in Cursor 2.0.43: GitHub MCP tools execute successfully, but their responses aren’t being forwarded to the agent’s context. The engineering team is already working on MCP improvements and has this prioritized.

I’ll pass your diagnostic data to the team.

thanks dean. please let me know about any updates in this issue, there is a core workflow among my org across this usage

1 Like