⌨️MCP Permission Rule
Also known as mcp__server__*, mcp__github__get_*
A rule that covers the tools of one MCP server.
Think of it like
It is like a pass for one shop in a mall. Or for one desk in that shop.
Example
Lucy lets the GitHub server's read tools run freely. Tools that create issues still ask her first.
Why it matters
One server can hold safe tools and risky ones side by side. These rules split them.
Definition
Example code
json
{
"permissions": {
"allow": ["mcp__github__get_*"],
"ask": ["mcp__github__create_*"]
}
}Common mistake
Key takeaways
- 1mcp__server__*. All its tools.
- 2Full name. One tool.
- 3Allow needs a server. mcp__* is skipped.