MCP permissions
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- authorization, cli
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100