MCP permissions
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### Describe the feature or problem you'd like to solve
add configuration allowence to usage of some tools from mcp servers
### Proposed solution
Similar
"trustedFolders": [
".",
"C:\\Users\\t0155821\\repos\\ilbs",
"C:\\Users\\t0155821\\.copilot",
"C:\\Users\\t0155821\\.config\\agents"
],
in config.json add "trustedTools": [ "mcp_server_name": ["tool_name1", "tool_name2"]]
in CLI tool there should be as well command /allow-tool
### Example prompts or workflows
especially that's useful when we always know that some mcp functionality is read-only, and cannot have negative impact, or same with side effect impact is accepted
e.g. our tool reads db, gets data from webpage , why to asks each time,
### Additional context
GitHub Copilot CLI 1.0.39
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue points to the config.json trustedFolders pattern and the CLI’s /allow-tool command; start by tracing how MCP tools currently trigger approval prompts. Define the configuration and command behavior, then verify that listed tools can be used without repeated prompts while unlisted tools still require approval.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- authorization, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100