Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
MCP servers configured with command-based transport (command + args using npx) successfully connect and register tools, but those tools are never exposed to the AI agent in Agent mode. Both command-based (taskmaster-ai via npx) and URL-based (context7 via HTTPS URL) MCP servers show as connected with tools enabled in the MCP settings panel, but neither exposes tools to the AI agent.
Steps to Reproduce
- Configure a command-based MCP server in
~/.cursor/mcp.json:
{
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
"args": ["-y", "task-master-ai"],
"env": {
"TASK_MASTER_TOOLS": "all",
"ANTHROPIC_API_KEY": "..."
}
}
}
}
- Restart Cursor completely
- Open MCP settings - server shows green status with “44 tools enabled”
- MCP logs show successful connection:
[info] Successfully connected to stdio server
[info] listOfferings: Found 44 tools
[info] Found 44 tools, 0 prompts, and 0 resources
- Tools are cached correctly in ~/.cursor/projects//mcps/user-taskmaster-ai/tools/ (44 .json files)
- Switch to Agent mode and ask the agent to use taskmaster tools
- Agent does not have access to any MCP tools
Expected Behavior
The 44 registered and cached tools should be available to the AI agent in Agent mode.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Cursor Version: 2.3.41
OS: macOS Darwin 25.2.0
MCP Server: task-master-ai (latest via npx)
For AI issues: which model did you use?
Sonnet 4.5, Opus 4.5, GPT-5.2
Additional Information
Actual Behavior:
Tools are discovered, registered, and cached, but never exposed to the AI agent. The agent cannot see or invoke any MCP tools from command-based servers.
Evidence:
taskmaster-ai: 44 tools enabled (green) - not accessible to agent
context7: 2 tools enabled (green) - not accessible to agent
Does this stop you from using Cursor
No - Cursor works, but with this issue

