anthropics / anthropics/claude-code

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

Ouverte
#91,624 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:mcp area:permissions enhancement
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

### 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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
authorization, cli
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.