MCP permissions
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- authorization, cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100