audit_mcp_config
Audit an MCP JSON/JSONC config (mcpServers/servers) for hardcoded vendor keys, high-entropy literals, plaintext HTTP, URL query tokens, unpinned npx/uvx/docker packages, dangerous shell/container flags, and broad/sensitive filesystem scopes.
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 |
|---|---|---|---|
| sarif | No | If true, return SARIF 2.1.0 JSON alongside summary. | |
| config | Yes | Parsed MCP config object OR raw JSON/JSONC string. | |
| sourceName | No | Optional filename label for the report (default: mcp.json). |