You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add concurrency protection for MCP approval requests
Implement a semaphore-based lock to ensure only one approval request can be processed at a time. If a second request arrives while the first is pending, it will be immediately rejected with the message: "Another approval request is being processed. Wait until this request is approved."
This prevents:
- Confusion from multiple overlapping approval prompts
- Race conditions in the approval flow
- Concurrent access to the approval UI
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0 commit comments