anthropics / anthropics/claude-code
[Bug] MCP tool approval in planning mode not persisting between iterations
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
When you enter 2 to approve an MCP tool or action under planning mode it doesn't actually apply and so it can ask for approval again until you exit planning mode.
**Environment Info**
- Platform: darwin
- Terminal: vscode
- Version: 2.1.272
- Feedback ID: 3fa43d51-00b1-4cac-8370-02f699a1690f
**Errors**
```json
[]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Reproduce the approval flow in planning mode using the reported darwin, VS Code terminal, and version 2.1.272 environment, then trace where an MCP approval is recorded between iterations. Done means choosing 2 once prevents the same approval prompt from recurring while planning mode remains active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100