Best for
- Security teams needing to ensure the security of MCP servers.
- Developers checking for vulnerabilities in MCP servers before deployment.
- Organizations looking to integrate security scanning into CI/CD pipelines.
This is not a typical connect-and-use MCP server; read the source repository before using it.
MCP Scanner is a comprehensive security scanning tool for MCP servers. It offers multiple analysis engines and rich features, but may require some configuration for full use.
Strongest · Documentation 15/20 Weakest · Reliability 4/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Python 3.11+ · Docker
MCP_SCANNER_API_KEY
Cisco AI Defense API key, only needed for the API analyzer; obtained from the Cisco AI Defense console.
MCP_SCANNER_LLM_API_KEY
LLM provider API key (OpenAI/Bedrock etc.); still required (any value) for local LLMs.
VIRUSTOTAL_API_KEY
VirusTotal API key for malware hash lookups; free tier available at virustotal.com.
MCP_SCANNER_ENDPOINT
Cisco AI Defense inspect API base URL, defaults to the US regional endpoint.
MCP_SCANNER_LLM_MODEL
Any LiteLLM-supported model name, e.g. gpt-5.2 or a Bedrock Claude model ID.
MCP_SCANNER_LLM_BASE_URL
Custom LLM endpoint, needed for Azure OpenAI or Azure Foundry.
MCP_SCANNER_LLM_API_VERSION
API version string for Azure OpenAI-style endpoints.
MCP_SCANNER_LLM_TIMEOUT
LLM call timeout in seconds; use 300 for extended-thinking models.
MCP_SCANNER_LLM_ENDPOINT
Endpoint for a local LLM such as Ollama or vLLM.
AWS_PROFILE
AWS profile name for Bedrock access via AWS credentials.
AWS_REGION
AWS region for Bedrock calls, e.g. us-east-1.
MCP_SCANNER_VIRUSTOTAL_ENABLED
Set to false to disable VirusTotal scanning while keeping the API key (e.g. in CI).
MCP_SCANNER_VIRUSTOTAL_UPLOAD_FILES
Whether to upload unknown files to VirusTotal; default false.
MCP_SCANNER_VT_MAX_FILES
Max files scanned per directory, default 10; 0 for unlimited.
MCP_SCANNER_STDIO_TIMEOUT
Stdio MCP server startup timeout in seconds, default 60; raise for servers with heavy dependencies.
Install using uv:
uv tool install --python 3.13 cisco-ai-mcp-scannerOr install from source:
git clone https://github.com/cisco-ai-defense/mcp-scanner
cd mcp-scanner
uv sync --python 3.13After installing, run `mcp-scanner --scan-known-configs --analyzers yara --format summary`; no API keys are needed, and a successful summary of servers found in well-known MCP client configs confirms the install works.
MCP Scanner is a Python tool designed to scan MCP (Model Context Protocol) servers and tools for potential security findings. It leverages three powerful scanning engines: YARA rules, LLM-as-a-judge, and Cisco AI Defense inspect API, which can be used together or independently. The scanner supports multiple modes including a CLI tool and a REST API server, and offers features such as multi-engine security analysis, vulnerable package scanning, readiness scanning, behavioral code scanning, VirusTotal binary malware scanning, PyPI package scanning, static/offline scanning, and more. It is suitable for developers and security teams looking to ensure the security of MCP servers.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 5d147dc7e363 Data synced 2026-10-12 Read the FMRS scoring method