[BUG] Subagents stall waiting for MCP servers to be approved when merged into worktrees
Resolved 💬 5 comments Opened Jun 22, 2026 by tachyon-beep Closed Jun 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?
[BUG] Subagents stall waiting for MCP servers to be approved when deployed in worktrees using ultracode.
What Should Happen?
They should inherit the mcp permissions of the agent that spawned them.
Error Messages/Logs
Steps to Reproduce
- Ask claudecode to use ultracode on a task in a work tree.
- Load up tmux and look at the subagents.
- See that the agents are acting as if they're being initiated for the first time and asking what mcp servers they're allowed to use.
- Wonder why this wasn't caught using automatic testing.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.185
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗