Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Subagents fail with resource_exhausted when using MCP tools
Summary
Custom subagents work correctly with built-in tools but consistently fail with resource_exhausted error when attempting to use MCP tools (specifically Basecamp MCP).
Environment
- Cursor Version: 2.4.28
- OS: macOS
- Model: Claude Opus 4.5
- MCP: Basecamp MCP configured and working
Impact
- Severity: Medium
- Workaround: Handle MCP-based operations in main agent instead of subagents
This limits the ability to use subagents for context isolation when working with external services via MCP.
Questions
- Is MCP tool usage within subagents currently supported, or is this a known limitation?
- Is there a way to increase resource allocation for subagents?
- Are there plans to address this?
Request ID
3ce789e2-f71d-453d-9f32-4611c313ee5e
Thanks for any help!
Steps to Reproduce
1. Create a simple test subagent (~/.cursor/agents/test-echo.md):
---
name: test-echo
description: Simple test subagent that echoes back what it receives.
---
Echo back whatever you receive and say "Test successful!"
2. Create an MCP-using subagent (~/.cursor/agents/basecamp-context.md):
---
name: basecamp-context
description: Retrieves context from Basecamp cards.
---
You retrieve Basecamp card data. When given a card URL or reference:
1. Parse the project_id and card_id
2. Use get_card(project_id, card_id) to retrieve details
3. Return a summary
3. Test the simple subagent:
Use the test-echo subagent to say hello
Result:
Works - returns “Test successful!”
4. Test the MCP subagent:
Use the basecamp-context subagent to retrieve card https://3.basecamp.com/xxxxx/buckets/xxxxx/card_tables/cards/xxxxx
Result:
Fails with resource_exhausted
5. Confirm MCP works in main agent:
Call get_card(project_id, card_id) directly from main agent.
Result:
Works perfectly
Test Results Summary
| Test | Result |
|---|---|
| Simple subagent (no tools) | |
| Subagent + MCP tools | |
| MCP tools in main agent |
UI Observations
When the subagent fails, the UI shows:
- “Explored Thought for 2s”
- “Thought for 1s”
- “Work on task attempted”
- “Task failed”
- “The subagent is experiencing resource issues.”
No logs appear in ~/.cursor/subagents/ folder (folder doesn’t exist).
Expected Behavior
Custom subagents should be able to use MCP tools, as documented:
Can I use MCP tools in subagents?
Yes. Subagents inherit all tools from the parent, including MCP tools from configured servers.
Source: Subagents | Cursor Docs
Actual Behavior
Subagents that attempt to use MCP tools fail with resource_exhausted error.
Operating System
MacOS
Version Information
- Cursor Version: 2.4.28
For AI issues: which model did you use?
- Model: Claude Opus 4.5
For AI issues: add Request ID with privacy disabled
Request ID: 3ce789e2-f71d-453d-9f32-4611c313ee5e
Does this stop you from using Cursor
No - Cursor works, but with this issue