Who it is forA security reviewer or platform engineer who must review MCP setups across several developer machines or projects and track results in their own tools.
The problemTerminal output is hard to store, compare, or feed into a ticketing or reporting script, so reviews of many MCP configs stay manual.
The outcomeA JSON report file that a script or spreadsheet can parse, with findings tied to rule IDs such as MAT-010 and MAT-012.
What you need first
- Python 3.9 or newer
- pipx or pip available in the terminal
- An MCP client config file (for example claude_desktop_config.json or .cursor/mcp.json), or access to the machine where those files live
Steps
- Install the tool with
pipx install git+https://github.com/graygnatconsole/mcp-audit-tool.git. - Run
mcp-audit scan --format json --output report.jsonto audit discovered configs and save the report. - To audit a specific file instead, run
mcp-audit scan ~/.cursor/mcp.json --format json --output report.json. (inferred, check the README) - Run
mcp-audit rulesto list the rule IDs and severities so the team can map them to internal policy. - Open report.json and confirm each finding lists a rule ID, server name, and severity.
Prompt for your agent
Use the GitHub repo graygnatconsole/mcp-audit-tool to run `mcp-audit scan <config-path> --format json --output report.json` on <config-path>. Return a summary table of findings grouped by severity. Verify that report.json exists and parses as valid JSON before summarizing.
Caveat. The README does not describe the JSON schema field by field, so check a sample report.json before writing a parser that depends on specific keys.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for graygnatconsole/mcp-audit-tool and "Export a JSON audit report for team review"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer