MCP Scanner is a Python tool that examines Model Context Protocol servers and tools for security findings and potential threats. It can run as a command-line tool or REST API and uses YARA rules, LLM analysis, Cisco AI Defense, dependency checks, and other scans.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/cisco-ai-defense/mcp-scannerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/cisco-ai-defense/mcp-scanner/quick-scan)<a href="https://agentmods.dev/commands/cisco-ai-defense/mcp-scanner/quick-scan"><img src="https://agentmods.dev/badge/commands/cisco-ai-defense/mcp-scanner/quick-scan.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00127 |
| Opus 5 | $0.00008 | $0.00063 |
| Sonnet 5 | $0.00003 | $0.00025 |
| Haiku 4.5 | $0.00002 | $0.00013 |
Grade A, and why
quick-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Quick Security Scan
Perform a quick YARA-based security scan of the MCP server at "$ARGUMENTS".
This scan uses only YARA rules and does not require any API keys.
Run the following command:
mcp-scanner --analyzers yara --format summary remote --server-url "$ARGUMENTS"
If the URL is not provided, ask the user for the MCP server URL.
After scanning, provide a brief summary and suggest running a deeper scan with LLM analysis if any issues are found.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 19 lines · 15 tokens per session scan A 7196e0bcb3ae
quick-scan is a command published in the GitHub repository cisco-ai-defense/mcp-scanner (1,065 stars, last pushed 3d ago), licensed Apache-2.0. It adds 15 tokens to every session and 127 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
deps-audit
Audit project dependencies for vulnerabilities, outdated packages, license conflicts, and supply chain risks — then provide actionable remediation strategies.
template
Manage issue templates for streamlined issue creation.
auto-browse
Auto-browse — learn, optimize, and graduate browser operations or web data-mining workflows.
discover
Search the Everruns(Dev) API catalog for available operations.
fix
Universal debugging and fix application with semantic code analysis.
doctor
Badi configuration validation. Checks all Badi components and produces a diagnostic report.