anthropics / anthropics/claude-code

[FEATURE] Batch tool use approval as a call-scoped token

Offen
#91,624 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:mcp area:permissions enhancement
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### Preflight Checklist

- [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)

### Problem Statement

Right now, approvals are per-call. There's no mechanism for Claude to say "here are the 8 Zoom reads I'll need, approve them all" and have that serve as an authorization token for those specific calls. Each call triggers its own prompt regardless. For example, Zoom already has trusted credentials at the MCP level. The per-call Claude Code prompt is a second, separate gate that can only be bypassed via allowedTools in settings.json, so if you're a part of an org that allows the connector but restricts auto approval, any recurring tool use become sitting there with Claude open to make sure you don't miss a request and it takes all of your time. I

### Proposed Solution

If Claude could just add a toggle to the main connectors settings page that allows users to select whether to have these read/write requests batched (read batched with read, write batched with write where the workflow allows for it) and then the user could just receive a single notification that they have a batch of requests for review. These batched requests would live in the relevant chat and would not time out; the prompt session would become dormant until the user approves (reactivates session) or denies (kills session).

### Alternative Solutions

I asked claude code to build me a tool that batches these requests but said it could not.

### Priority

Critical - Blocking my work

### Feature Category

CLI commands and flags

### Use Case Example

_No response_

### Additional Context

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the connector settings behavior and settings.json references in the issue, then trace where per-call approval prompts and allowedTools bypasses are handled. Define how read and write requests are grouped, how approval or denial affects the dormant session, and verify the behavior through the project's existing approval tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
authorization, cli
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.