mcpwatch
v0.1.1Audit MCP servers from inside Claude Code.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_directory
Run the MCPWatch security scanner on a local directory. Returns a 0-100 score, A-F letter grade, and findings from the 10 OWASP MCP Top 10 checks (command injection, path traversal, SSRF, prompt injection via tool descriptions, unauthenticated mutations, secret leakage, over-permissive filesystem scopes, missing rate limits, outdated dependencies, missing input schema validation).
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the directory to scan |
name | string | Optional name for the target (defaults to the directory basename) |
sarif | boolean | If true, return findings as a SARIF v2.1.0 document for GitHub Code Scanning |
scan_github_repo
Fetch the latest MCPWatch scan result for a public GitHub repository from the live crawler. Use this when you want to audit an MCP server by its GitHub owner/repo name instead of cloning it locally. Returns the same grade + findings shape as scan_directory.
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub owner (user or org) |
repo * | string | GitHub repository name |
get_leaderboard
Fetch the current MCPWatch leaderboard of public MCP servers ranked by security grade. Returns the most recently scanned set with per-repo grade, score, and finding count. Use this to pick a safe MCP server from a set of candidates.
| Parameter | Type | Description |
|---|---|---|
grade_filter | string | Optional letter grade filter (A, B, C, D, F) |
limit | integer | Maximum number of entries to return (default: 20) |
get_badge_url
Return the URL of a live MCPWatch SVG grade badge for a GitHub repository. Drop this into any README to show the current MCPWatch grade.
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub owner |
repo * | string | GitHub repository name |