[BUG] No subagents available in 'claude mcp serve'
Resolved 💬 7 comments Opened Dec 23, 2025 by lambadalambda Closed Mar 24, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Running claude mcp serve, it seems that there are no agents available at all. Whatever subagent type I set, i get:
"Agent type 'general-purpose' not found. Available agents:"
I.e. the agent list is empty.
What Should Happen?
At least the default agents should be available.
Error Messages/Logs
Steps to Reproduce
- Run npx @modelcontextprotocol/inspector npx -y @anthropic-ai/claude-code mcp serve
- Connect
- Try launching a task with any kind of input in the subagent_type field
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗