scan_mcp_config
Audits MCP configs for plaintext secrets, prompt-injection markers, insecure non-localhost HTTP endpoints, hidden Unicode, and unpinned npx packages with static checks.
Instructions
Audit an mcp.json or MCP client configuration string for plaintext API keys/secrets, prompt-injection markers in tool metadata, insecure non-localhost HTTP endpoints, hidden Unicode tags, and unpinned npx packages. Purely static and stateless.
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_json": "<config_json>"
},
"name": "scan_mcp_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sarif | No | When true, includes a SARIF 2.1.0 report block for CI security gates. | |
| config_json | Yes | Raw JSON string of an mcp.json or Claude/Cursor/VS Code/Zed MCP configuration. |