anthropics / anthropics/claude-code

Browser pane: no way to grant persistent site permission — per-action prompts persist despite launchPreviewAllowedOrigins, tool allowlist, and bypassPermissions

Aperta
#93,156 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:desktop area:permissions enhancement platform:windows
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

## Summary

The in-app Browser pane requires approval for every single action against an origin, and there appears to be no way to grant persistent permission. The dialog offers only "Deny" and "Allow once" — there is no "Allow always".

## Dialog

> **Allow Claude to access example.com?**
> Site-level permissions are disabled for this site. You'll be asked for each action.
> `{ "origin": "https://example.com" }`
> [Deny] [Allow once]

## Already tried — none of it suppresses the prompt

1. Allowlisted all 19 browser tools in `~/.claude/settings.json` → `permissions.allow` (`mcp__Claude_Browser__navigate`, `__computer`, `__read_page`, `__browser_batch`, `__find`, `__form_input`, …)
2. Added the origin to `preferences.launchPreviewAllowedOrigins` in `%APPDATA%\Claude\claude_desktop_config.json`
3. Set the project folder permission mode to `bypassPermissions`

All three are in place simultaneously. The per-action prompt still fires on every browser tool call.

## Expected

Either an "Allow always" button in the dialog, or for `launchPreviewAllowedOrigins` — which reads as though it is intended for exactly this — to grant persistent per-origin access.

## Actual

Approval is required indefinitely, once per step. Driving a page (navigate → read → click → screenshot) costs one click per action, which makes browser-based verification impractical for real work.

## Environment

- Claude Desktop (Code tab), MSIX install
- Windows 11 Pro, build 10.0.26200.7171

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the Browser pane's site-permission dialog and compare its behavior with permissions.allow, launchPreviewAllowedOrigins in claude_desktop_config.json, and bypassPermissions. Trace how these settings are evaluated for the listed browser tools. Done means a site can be granted persistent access, or the configuration is corrected to provide that behavior, with verification that prompts no longer appear for every action.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
authorization, desktop
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.