mcp-security-auditor
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Security & Vulnerability Auditor
A zero-execution static AST security scanner and vulnerability auditor for Model Context Protocol (MCP) servers.
Detect critical remote code execution (RCE), arbitrary file access, leaked API keys, unauthenticated transports, and tool poisoning before connecting any untrusted MCP server to your AI agents, Claude Desktop, or Cursor environments.
π Tools Exposed to AI Agents
This server exposes two specialized security tools to connected MCP clients:
audit_mcp_repositoryArguments:
repository_url(string, required): Public Git URL of the MCP repository to audit.sub_directory(string, optional): Subdirectory path if auditing a specific tool inside a monorepo.
Action: Clones the repository shallowly without executing hooks, performs AST syntax analysis, and returns a Trust Score (0β100), letter grade (A+ to F), and formatted markdown report.
audit_local_directoryArguments:
directory_path(string, required): Absolute path to a local directory containing MCP server code.
Action: Audits local source code without executing it.
Related MCP server: mcp-security-audit
π‘οΈ Vulnerability Rule Set
Rule ID | Severity | CWE | Threat Category |
MCP-SEC-001 | CRITICAL | CWE-78 | Command Injection: Detects |
MCP-SEC-002 | HIGH | CWE-22 | Path Traversal & ZipSlip: Detects filesystem tools lacking root boundary checks ( |
MCP-SEC-003 | CRITICAL | CWE-798 | Credential & Secret Exposure: Detects hardcoded OpenAI, Anthropic, GitHub, AWS, and Slack tokens, and blocks returning raw |
MCP-SEC-004 | HIGH | CWE-306 | Unauthenticated Remote Transport: Flags SSE / HTTP endpoints bound to |
MCP-SEC-005 | HIGH | CWE-1384 | Tool Poisoning: Detects prompt injection directives and zero-width homoglyph obfuscation in tool docstrings. |
π Quick Start & Installation
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-security-auditor": {
"command": "python3",
"args": ["/path/to/mcp-security-auditor/server.py"]
}
}
}With Docker
docker build -t mcp-security-auditor .
docker run -i --rm mcp-security-auditorπ Empirical Benchmark (23 Public Servers)
We audited 23 prominent reference and community MCP servers:
Category | Repositories Tested | Average Trust Score | Grade | Notes |
Anthropic Reference Servers |
| 100/100 | A+ | Clean path containment, zero dynamic shell invocations. |
Reference SSE Server |
| 85/100 | A | Caught unauthenticated SSE transport in test handler. |
Community Servers |
| 25/100 | F | Caught ZipSlip in telemetry extraction and unconstrained |
π License
MIT License. Maintained by Neon Innovation Lab.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Static MCP server scan: injection, secrets, tool poisoning. SARIF + rules catalog.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSecurity scanner for MCP servers and AI-generated code. Detects leaked API keys, PII, prompt injection, and MCP misconfigs with A-F security grades.MIT
- AlicenseNot gradedqualityDmaintenanceSecurity auditor for MCP servers that enumerates tools, resources, and prompts, scans for injection patterns, classifies risk levels, and produces a scored report (0-100, grades A-F).2MIT
- AlicenseAqualityCmaintenanceSecurity scanning for MCP servers from the inside out. Provides runtime inspection, AST-based static analysis, config audit, dependency analysis, and OWASP MCP Top 10 compliance in a single MCP server.55105 npm5MIT
- AlicenseAqualityBmaintenanceSecurity scanner for MCP servers that detects tool poisoning, shadowing, and other risks via static rules and semantic analysis. Exposes the scan_mcp_server tool for scanning MCP servers over stdio.165 PyPI1MIT