A2A Check

AU-20: The repository approves a tool server itself

Area: Permissions · Severity: medium · Catalogue version 1.104.0

Why it matters

Whoever opens the repository starts the named tool server with no one agreeing.

Before (example)

Example: the .mcp.json of the project defines a server db and the shared settings file approves it; whoever clones the project starts it too.

How to fix it

Take the entry out of enabledMcpjsonServers in .claude/settings.json and put it in your local settings (.claude/settings.local.json) or in your user settings.

After (example)

Before: "enabledMcpjsonServers": ["db"]
After: "enabledMcpjsonServers": []

Check it yourself

Open the project settings file that is checked in with your repository and read the list enabledMcpjsonServers; every server named there starts without your approval.

All rules