census_audit_config
Audit a whole MCP client config in one call (.mcp.json, claude_desktop_config.json, .cursor/mcp.json, .vscode/mcp.json, Codex config.toml text). Resolves every entry without guessing (url → remote_url, npx → npm package, uvx → PyPI package) and returns one PASS / REVIEW / BLOCK / UNKNOWN verdict per entry under a built-in policy, plus CENSUS-AUDIT/1 text, valid_until_epoch and exit_code (1 on any BLOCK). UNKNOWN is never upgraded to PASS. Cost 1 credit per config per UTC day; keyless callers get one config of ≤25 entries per IP per day. Not a malware scan; PASS is not a sandbox. Strip env/headers before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The config document: an object with mcpServers | servers | mcp_servers, a list under entries[], or raw text (JSON or Codex config.toml) | |
| format | No | ||
| strict | No | exit_code 2 when any entry is REVIEW or UNKNOWN | |
| policy_id | No | builtin:baseline | |
| previous_tools_digests | No | alias → tools_digest from your last audit; sets tools_drift per entry |