-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MCP permissions #3028
Copy link
Copy link
Open
Labels
area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registryMCP server configuration, discovery, connectivity, OAuth, policy, and registryarea:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsTool approval, security boundaries, sandbox mode, and directory restrictions
Metadata
Metadata
Assignees
Labels
area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registryMCP server configuration, discovery, connectivity, OAuth, policy, and registryarea:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsTool approval, security boundaries, sandbox mode, and directory restrictions
Type
Fields
Give feedbackNo fields configured for Feature.
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 <tool_name>
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