mcpaudit
v0.1.2Audit any MCP server: handshake, schemas, descriptions, error handling, scored.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit_server
Audit an MCP server by launching it over stdio: initialize handshake, protocol version, server info, tools/list quality (names, descriptions, inputSchema validity, undescribed parameters), response times, and error handling on a deliberately bad tool call. Returns a scored report (0-100) with named, evidence-backed issues.
| Parameter | Type | Description |
|---|---|---|
command * | string | Server launch command, e.g. npx or node |
args | array | Command arguments, e.g. ["-y", "@reneturcios/shipcheck", "mcp"] |
env | object | Extra environment variables for the server process |
timeoutMs | number | Per-step timeout in milliseconds, default 60000 |
audit_config
Audit every server in an MCP client config file (Claude/Cursor style: {"mcpServers": {name: {command, args}}}) or a single named entry. Each server is launched and audited like audit_server. Returns one scored report per server.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the config JSON file, on the machine running this server |
server | string | Only audit this named entry |
timeoutMs | number | Per-step timeout in milliseconds, default 60000 |
audit_tools
Offline audit of a tools/list array (no server launched): validates tool names, descriptions, inputSchema shape, required-vs-properties consistency, and duplicate names. Returns a scored report.
| Parameter | Type | Description |
|---|---|---|
tools * | array | The tools array exactly as a server returned it from tools/list |
label | string | Label for the report target |