github / github/copilot-cli

MCP permissions

Aberta
#3,028 8 comentários 5 reações 0 responsáveis Ver no GitHub
area:mcp area:permissions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.