MCP servers configured but agent cannot use their tools

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

MCP servers are configured in Cursor, but their tools are not available to the agent in Composer. For example, GitHub MCP is set up in ~/.cursor/mcp.json, but the agent cannot use tools like create_pull_request, get_repository, etc. The agent only has access to built-in tools (Shell, Read, Write, Grep, etc.), not the MCP tools. This happens even after restarting Cursor and starting new sessions.

Steps to Reproduce

  1. Add an MCP server in Cursor (e.g., GitHub) via Settings → Features → MCP or ~/.cursor/mcp.json.
  2. Confirm the server is listed and enabled in MCP settings.
  3. Open Composer and start a new agent session.
  4. Ask the agent to perform an MCP-specific task (e.g., create a pull request or list issues).
  5. Observe that the agent reports it does not have access to MCP tools and only uses built-in tools.

Expected Behavior

The agent should be able to use tools exposed by configured MCP servers (e.g., GitHub, Shopify dev MCP). When an MCP server is enabled, its tools should appear in the agent’s tool list and be callable during the session.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.5.26
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

For AI issues: which model did you use?

Composer 1.5, Sonnet 4.5

For AI issues: add Request ID with privacy disabled

Request ID: 9819c8b0-62bc-409c-9174-238f2c6b4e12

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, this is a known issue. MCP servers can show as connected in the UI, but the agent doesn’t pick up their tools right away, or at all in some sessions.

A few workarounds that have helped others:

  1. Toggle the MCP server off and on in Cursor Settings > Tools & MCP. This forces a re-init. Sometimes toggling any MCP triggers a refresh for all of them.

  2. Call out the MCP by name in your first message. Instead of “create a pull request,” try “Using the GitHub MCP, create a pull request for…” This can prompt the agent to discover the tools.

  3. Try project-level config instead of global ~/.cursor/mcp.json. Add a .cursor/mcp.json in your project root with the same config. Some users report better reliability with project-level setup.

  4. After toggling, start a fresh chat. Existing sessions might not pick up newly available tools.

A couple questions to help dig further:

  • What status does GitHub MCP show in Cursor Settings > Tools & MCP, green, yellow, or red?
  • Is it configured only in ~/.cursor/mcp.json, or also at the project level?

The team is aware of this and tracking it.

Related threads if helpful:

Let me know how it goes.

2 Likes

Hey @deanrie, thanks for the help!

Toggling the MCP server off and back on in Cursor Settings → Tools & MCP did the trick. It seems like this sometimes happens after Cursor auto-updates to a newer version. When that happens, I just need to toggle the MCP server to get everything working again.

also, yes all my mcps are configured in ~/.cursor/mcp.json

Appreciate the support!

2 Likes

nice! also, try to check the output of the mcp server! it can give some clear insight! Terminal - Output …