Audit an MCP client config
audit_mcp_configChecks an MCP client config (claude_desktop_config.json, .mcp.json, .cursor/mcp.json, .vscode/mcp.json...) for risky servers: secrets written in the file, unpinned npx/uvx packages, unknown publishers, plain HTTP, broad filesystem access, shell wrappers, too many servers. Returns a grade (A to F) and each finding with why it matters and how to fix it. Works without an API token. The config is checked in memory and not stored or logged, and the result never repeats a value from it; you may still replace secret values with placeholders such as "${API_KEY}" before sending (then check yourself that no secret is written in the file).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"config": "<config>"
},
"name": "audit_mcp_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The config: a JSON object, or its text (comments and trailing commas are fine) |