mcpwatch

v0.1.1
io.github.lazymac2x/mcpwatch Checked 1 day ago Published 7 months ago

Audit 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).

ParameterTypeDescription
path *stringAbsolute path to the directory to scan
namestringOptional name for the target (defaults to the directory basename)
sarifbooleanIf 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.

ParameterTypeDescription
owner *stringGitHub owner (user or org)
repo *stringGitHub 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.

ParameterTypeDescription
grade_filterstringOptional letter grade filter (A, B, C, D, F)
limitintegerMaximum 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.

ParameterTypeDescription
owner *stringGitHub owner
repo *stringGitHub repository name