Blog
Open-Source MCP Security Scanners 2026
January 8, 2027 · patchbay
TL;DR
MCP security scanning is a new category and the tooling reflects that. In December 2026 there are at least ten open-source scanners for Model Context Protocol servers, with meaningful overlap in what they check and significant differences in how they ship and who they are built for.
This page compares every one we could find: scanning model, language, deployment target, license, maintainer, and the one angle each project leans into. We ship patchbay and we call that out at the top so you can weigh the read accordingly. Every competitor link is included so you can evaluate for yourself.
The scanners
| Tool | Language | License | Deploy | Core angle | Public leaderboard | |------|----------|---------|--------|------------|---------------------| | patchbay | TypeScript / Node | MIT | CLI, GitHub Action, hosted (Jan 2027) | OAuth 2.1 RFC depth + public leaderboard | Yes, weekly rescans | | Invariant Labs mcp-scan | Python | Apache 2.0 | Local CLI | Tool poisoning + tool pinning | No | | Cisco MCP Scanner | Python | Apache 2.0 | CLI | YARA + LLM + Cisco AI Defense | No | | trustmcp | Python | MIT | CLI | A-F grade + static + dynamic + auth | No | | mcpscanner/cli | Go | Apache 2.0 | CLI | Active injection battery + SSRF guard + client-config scan | No | | Ramparts | Rust | Apache 2.0 | CLI | MCP endpoints + agent skill files (Claude Code, Cursor, Windsurf) | No | | mcpsec | Rust | Apache 2.0 | Cargo-installable | Rust-native speed | No | | mcp-audit | Python | Apache 2.0 | Local CLI | Privacy-first, no telemetry | No | | mcpvuln | Python | MIT | CLI | Source-code focused, honest about FPs | No | | ogulcanaydogan/mcp-security-scanner | Python | MIT | PyPI | Prompt injection + poisoning + rug-pull | No | | Snyk MCP Server (Evo) | ? | Commercial | Snyk CLI | Agent-first SAST / SCA / IaC via MCP | No |
How to pick
MCP security risk sits in four different places and no single scanner covers all four. Map your risk first, then pick the tool.
You ship an MCP server.
You need audit-before-release. Your scanner must integrate into CI, emit standardized output (SARIF), and gate merges on critical findings. Best fit: patchbay (GitHub Action + SARIF + OAuth RFC depth), Cisco MCP Scanner (YARA + LLM inspection), or trustmcp (A-F grade + SARIF).
You consume MCP servers installed on your machine.
You need supply-chain protection against tool-description rug pulls. Your scanner must inventory what you have installed and alert when tool definitions change. Best fit: Invariant Labs mcp-scan (tool pinning).
You run MCP servers in production and want runtime protection.
Scanning alone cannot stop a malicious tool result at call time. Pair any scanner with a runtime gateway: Docker MCP Gateway, Cloudflare MCP server portals, Pomerium, or Lasso MCP Gateway.
You want to audit MCP servers you do not control (vendor review, due diligence).
You need a scanner that works against a remote endpoint with minimal access. Best fit: patchbay CLI against the public URL, Ramparts, or mcpscanner/cli.
Deep dive: each tool
patchbay (our tool: disclose, then compare)
Built in TypeScript, MIT-licensed, ships as a CLI (npx @patchbay-nebius/audit-core), a GitHub Action, and a hosted continuous version launching 01.01.2027. Core strength: OAuth 2.1 depth checks against RFC 9728, 7636, 8707, 9207, plus transport headers, exposed secrets, tool poisoning, manifest drift, and CVE-backed check coverage.
patchbay publishes a public leaderboard that rescans every public MCP server in the registry weekly and grades them A to F with the full findings list. Scoring code is shared between the scanner and the leaderboard so a fresh scan matches the public grade.
Honest posture: patchbay had a measured 21.6% false-positive rate on a recent cold-outreach batch, which triggered a scanner-FP-cleanup week and canonical scoring normalization. A follow-up measurement in December 2026 on 100 hosts showed 50.8% isolated FP suppression on AUTH checks (94% on AUTH-005 specifically). FPs are an engineered-down problem, not a solved one.
Invariant Labs mcp-scan
Python, Apache 2.0, installs via uvx mcp-scan@latest. Core strength: tool poisoning and tool-description pinning. Hashes tool descriptions so rug pulls get flagged. Designed for local machine use against installed MCP servers.
Best fit if your main risk is "an MCP server I installed changed its tool definitions mid-flight."
Links: GitHub, Blog introduction
Cisco MCP Scanner
Python, Apache 2.0, backed by Cisco AI Defense. Three engines: YARA rules, LLM-based analysis, and the Cisco AI Defense inspect API. Scans MCP tools, prompts, resources, and server instructions.
Best fit if you already use Cisco AI Defense or want a scanner backed by a large vendor's threat intel.
Links: GitHub
trustmcp
Python, MIT-licensed, A-F grade system with SARIF output. Covers static checks, dynamic probing with fuzzing, and authentication checks. Closest feature-match to patchbay on grade + SARIF output.
Links: PyPI
mcpscanner/cli
Go, Apache 2.0, built around an active injection probe battery (path traversal, command injection, SQL injection, SSRF to cloud metadata, prompt-injection reflection) with a built-in SSRF guard that blocks private / loopback / link-local / cloud-metadata hosts by default. Also scans client config files for Claude Desktop, Cursor, and other clients via --config.
Best fit if you want active probing of concrete injection classes with an opinionated SSRF default.
Links: GitHub
Ramparts
Rust, Apache 2.0, covers MCP server endpoints plus agent skill files on disk: Claude Code slash commands, agentskills.io bundles, Cursor / Codex / Windsurf / Gemini equivalents, and IDE config files (.claude/settings.json, .cursor/hooks.json, VS Code tasks). Uses YARA + LLM + OSV.dev for the vulnerability layer. Single-binary deploy, Rust-native speed.
Best fit if your risk model spans MCP servers and local agent skill content, not just the endpoint.
Links: GitHub
mcpsec
Rust, cargo-installable, published security policy. Smaller surface, earlier-stage project.
Links: GitHub
mcp-audit
Python, Apache 2.0, privacy-first: runs locally, collects no telemetry. Scans MCP server configurations.
Links: PyPI
mcpvuln
Python, MIT, source-code scanner with strongest coverage for Python MCP servers. Open about its false-positive limits, which is rare in this category.
Links: PyPI
ogulcanaydogan/mcp-security-scanner
Python, PyPI-published. Detects prompt injection, tool poisoning, capability escalation, rug-pull attacks. Exports JSON, HTML, or SARIF.
Links: PyPI
Snyk MCP Server (Evo product line)
Commercial, enterprise-oriented. Snyk ships an MCP server that runs its existing Code (SAST), Open Source (SCA), IaC, Container, and Secrets scans from inside an agent runtime. Not an MCP-protocol-specific scanner the way the other tools here are, but a bridge that lets agents trigger Snyk scans on the code they are about to ship. The agentic-era product line is now branded Evo (Evo Agentic Development Security, Evo Agentic AppSec, Evo AI-SPM). Worth naming in a roundup because teams already on Snyk will reach for it first.
Links: Snyk platform, Snyk Evo
Combined usage: a realistic stack
A mature MCP security posture uses at least two layers:
- A CI scanner (patchbay, Cisco MCP Scanner, trustmcp) that gates merges on critical findings.
- A local scanner (Invariant Labs mcp-scan) that protects developer machines from installed-server drift.
If you run MCP servers in production, add a runtime gateway (Docker MCP Gateway, Lasso, Pomerium) that enforces policy at call time.
Scanning alone cannot stop a malicious tool result at call time. Scanners stop known patterns before deploy. Gateways stop bad behavior at runtime.
FAQ
Which MCP scanner is the most popular?
By name recognition, Invariant Labs' mcp-scan has the highest profile. By vendor weight, Cisco MCP Scanner has the largest backing company. By feature overlap with patchbay (A-F grade + SARIF), trustmcp is the closest match.
Is there a free MCP scanner?
Multiple. patchbay (MIT), Invariant Labs mcp-scan (Apache 2.0), Cisco MCP Scanner (Apache 2.0), mcpsec (Apache 2.0), mcp-audit (Apache 2.0), mcpvuln (MIT), ogulcanaydogan/mcp-security-scanner (MIT), Ramparts (Apache 2.0), trustmcp (MIT). mcpscanner/cli is Apache 2.0.
Which MCP scanner integrates with GitHub Actions?
patchbay ships a GitHub Action with SARIF output. Other scanners can be wrapped in a workflow but patchbay is the only one we found that publishes an official Action.
Which scanner catches OAuth 2.1 misconfiguration deepest?
patchbay has the most RFC-explicit OAuth coverage we are aware of as of December 2026, including RFC 9728 (PRM), RFC 7636 (PKCE), RFC 8707 (Resource Indicators), RFC 9207 (iss parameter). Other scanners check for "auth is present" but do not drill into the specific RFCs.
Which scanner has a public leaderboard?
patchbay is the only MCP scanner we found that publishes a public leaderboard of MCP servers with weekly rescans.
What we did not cover
Commercial-only scanners without open-source access (Akto's MCP module, some private vendor tools). Scanners that only exist as CVE catalogs without an active scanning CLI. Tools that cover LLM safety broadly but not MCP specifically.