Scan Β· Score Β· Install β Your MCP Server Toolkit
The missing security and quality toolkit for the Model Context Protocol ecosystem. Scan MCP servers for vulnerabilities, score their quality, compare alternatives, and install with confidence.
| π¦ Registry | π Security Checks | π Quality Dimensions |
|---|---|---|
| 100+ servers scored | 10 detection engines | 5 scoring categories |
The MCP ecosystem is exploding β hundreds of servers, but no way to know which ones are safe, well-maintained, or even work. MCP Doctor is your one-stop CLI to navigate the MCP jungle.
Before installing an MCP server, run it through the Doctor.
In the first 6 months of 2026, security researchers filed 30+ CVEs targeting MCP servers, clients, and infrastructure:
- CVE-2026-44717 β
eval()RCE in mcp_calculate_server (CVSS 9.8) - CVE-2026-49257 β Default no-auth + 0.0.0.0 binding in mcp-pinot (CVSS 10.0)
- CVE-2026-46519 β Access control bypass in mcp-server-kubernetes (presentation-layer only filtering)
- CVE-2026-32814 β MCP SDK authentication bypass, 3 Indian AI startups compromised
- CVE-2026-25536 β Concurrent session data leakage in mcp-handler (Vercel)
A study of 39,884 open-source MCP servers found 106 zero-day vulnerabilities. OX Security found that 82% of MCP implementations have path traversal vulnerabilities.
MCP Doctor catches these before you deploy them.
| Feature | MCP Doctor | Cisco mcp-scanner | Snyk Agent Scan | Oxvault | mcp-shield | mcpsec |
|---|---|---|---|---|---|---|
| Security scanning | β 10 engines | β YARA+LLM+API | β LLM+guardrails | β SAST+runtime | β 20 rules | β fuzzer |
| Quality scoring (0-100) | β | β | β | β | β (A-F) | β |
| Curated registry (100+) | β | β | β | β | β | β |
| Server comparison | β | β | β | β | β | β |
| One-command install | β | β | β | β | β | β |
| CI/CD integration | β | β | β | β (SARIF) | β | β |
| Runtime proxy mode | β | β | β | β | β | β |
| REST API server | β | β | β | β | β | β |
| Local / no API dependency | β | β | β (needs token) | β | β | β |
| SARIF output | β | β | β | β | β | β |
How MCP Doctor fits: Cisco mcp-scanner and Snyk Agent Scan are excellent for auditing existing deployments. Oxvault is best for deep SAST of MCP source code. MCP Doctor is for the pre-install workflow β discover, compare, and install servers with confidence. Most teams need both: a scanner for what's deployed and a discovery tool for what to deploy next.
- π Security Scan β 8 detection engines: prompt injection, path traversal, credential leakage, network exfiltration, command injection, SSRF, supply chain, and excessive permissions
- π Quality Score β Automated 0-100 scoring based on: security, maintenance, documentation, testing, community
- βοΈ Compare β Side-by-side comparison of two MCP servers across all quality dimensions
- π¦ Registry β Curated database of 100+ popular MCP servers with pre-computed scores and categories
- β‘ Quick Install β
mcp-doctor install <server>β one command to scan + score + install - π©Ί CI/CD Audit β
mcp-doctor audit <server>β full report with exit codes for pipelines - π Stats β Registry overview with category breakdowns and averages
# Install
pip install mcpdoctor-cli
# Or install directly from GitHub (if PyPI not yet available)
pip install git+https://github.com/xlyoung/mcp-doctor
# Scan an MCP server for security issues
mcp-doctor scan @modelcontextprotocol/server-filesystem
# Score a server's quality (0-100)
mcp-doctor score modelcontextprotocol/servers
# Compare two servers side-by-side
mcp-doctor compare @modelcontextprotocol/server-postgres mcp-server-mysql
# See top-rated servers by category
mcp-doctor list --category database --sort score
# Install with confidence (blocks on critical security issues)
mcp-doctor install @modelcontextprotocol/server-github
# Full audit for CI/CD (exits non-zero on failure)
mcp-doctor audit @modelcontextprotocol/server-filesystem --threshold 60
mcp-doctor audit @modelcontextprotocol/server-filesystem --json # machine-readable
# View registry stats
mcp-doctor stats$ mcp-doctor scan @modelcontextprotocol/server-filesystem
π©Ί MCP Doctor β Security Scan
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Target: @modelcontextprotocol/server-filesystem
π Security Issues Found: 3
βββ π MEDIUM Unconstrained Parameters
β βββ 6 string params lack maxLength/pattern constraints
β β path (read_file, write_file, edit_file, ...)
βββ π‘ LOW Excessive Permissions
β βββ Configurable access control but no default restrictions
βββ π‘ LOW No Input Sanitization
βββ Path parameters accept ../ traversal sequences
β οΈ Security Score: 72/100 (Fair)
Use --json for machine-readable output
Use --threshold 80 to enforce minimum score in CI/CD
Each MCP server receives a score from 0-100:
| Category | Weight | What it checks |
|---|---|---|
| Security | 35% | Prompt injection, path traversal, network safety |
| Maintenance | 25% | Commit frequency, issue response time, release cadence |
| Documentation | 15% | README quality, API docs, examples |
| Testing | 15% | Test coverage, CI status, integration tests |
| Community | 10% | Stars, contributors, ecosystem integrations |
MCP Doctor scans for common MCP vulnerability patterns:
- Prompt Injection β User input flowing directly into LLM prompts without sanitization
- Path Traversal β File system tools accepting
../in paths without validation - Credential Leakage β API keys, tokens, or secrets exposed in logs or responses
- Network Exfiltration β Suspicious external endpoints (webhook.site, ngrok tunnels)
- Supply Chain β Typosquatting, abandoned dependencies, known CVEs
- SSRF β Server-side request forgery via unvalidated URL parameters
- Command Injection β Shell command execution with unsanitized input
- Excessive Permissions β Auth bypass flags, unrestricted filesystem globs, world-readable permissions
- Unconstrained Parameters β String params without maxLength/pattern/enum (DoS + injection chain risk)
- Tool Access Control Bypass β Presentation-layer filtering without execution-layer enforcement (CVE-2026-46519 pattern)
Can't decide between two MCP servers? Compare them:
$ mcp-doctor compare @modelcontextprotocol/server-postgres mcp-server-mysql
MCP Server Comparison
ββββββββββββββββββββ³ββββββββββββ³ββββββββββββ
β Metric β postgres β mysql β
β‘βββββββββββββββββββββββββββββββββββββββββββ©
β Overall Score β 90/100 β 78/100 β
β Security β 90 β 80 β
β Maintenance β 95 β 60 β
β Documentation β 70 β 50 β
β Testing β 55 β 50 β
β Community β 95 β 80 β
β Security Issues β 0 β 0 β
ββββββββββββββββββββ΄ββββββββββββ΄ββββββββββββ
β Recommendation: @modelcontextprotocol/server-postgres (score 90 vs 78)Browse the full registry: REGISTRY.md
Categories:
- ποΈ Database β PostgreSQL, MySQL, SQLite, Redis, MongoDB, Qdrant, ClickHouse, Supabase, Neon, Google Toolbox
- π File System β Local files, S3
- π Web β Brave Search, Playwright, Puppeteer, Firecrawl, Chrome MCP, BrowserMCP, bb-browser
- π§ DevOps β GitHub (official & MCP), GitLab, Docker, Kubernetes, Git, XcodeBuild
- π¬ Communication β Slack, Discord, Gmail, Telegram, WhatsApp
- π§ Knowledge β Notion, Obsidian, Memory, Confluence
- π€ AI/ML β FastMCP, Hugging Face, Replicate, Ollama
- π Security β Semgrep, NVD CVE, GhidraMCP, MCP Audit, MCPSec, HexStrike AI
- π¨ Design β Figma Context MCP
- π Productivity β Google Maps, Linear, Airtable, Google Calendar, Todoist, Kreuzberg
- π₯οΈ System β DesktopCommanderMCP, Windows-MCP
- π οΈ Developer Tools β MCP Inspector, git-mcp, MCP Registry
- βοΈ Cloud β AWS (awslabs), ActivePieces
- ποΈ Framework β mcp-use
- π Automation β ActivePieces
git clone https://github.com/xlyoung/mcp-doctor.git
cd mcp-doctor
pip install -e ".[dev]"
pytestFound an MCP server that should be in the registry? Open an issue or submit a PR!
See CONTRIBUTING.md for guidelines.
Found a security vulnerability? See SECURITY.md for responsible disclosure guidelines.
See CHANGELOG.md for release history.
MIT β do whatever you want with it.
Built for the MCP community. Star β if you find it useful!