github / github/copilot-cli

MCP permissions

Open
#3,028 8 comments 5 reactions 0 assignees View on GitHub
area:mcp area:permissions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.