Dfx Mcp Scanner
БесплатноНе проверенSecurity scanner for MCP (Model Context Protocol) servers. Detect malicious tools, data exfiltration, and supply chain risks.
Описание
Security scanner for MCP (Model Context Protocol) servers. Detect malicious tools, data exfiltration, and supply chain risks.
README
Security scanner for MCP (Model Context Protocol) servers. Detect malicious tools, data exfiltration, and supply chain risks before connecting an MCP server to your AI agent.
PyPI Python 3.10+ License: MIT CI
Why MCP Scanner?
MCP servers give AI agents (Claude Code, Cursor, Copilot) direct access to tools, filesystems, and APIs. But nobody is checking if those servers are safe.
MCP Scanner analyzes:
- MCP server config files (Claude Code, Cursor, generic)
- Command-level risks (
npx --yes,curl|bash,sudo) - Secret exposure in environment variables
- Filesystem and network access patterns
- Source code of MCP server implementations (with AgentGuard integration)
Quick Start
pip install dfx-mcp-scanner
# Scan your Claude Code MCP config
mcp-scanner
# Scan a specific config
mcp-scanner ~/.cursor/mcp.json
# JSON output
mcp-scanner .mcp.json --format json
What It Detects
| Rule | Severity | Description |
|---|---|---|
| Remote code execution | CRITICAL | `curl |
| Auto-install packages | HIGH | npx --yes without version pinning |
| Privileged execution | CRITICAL | Server running as root/sudo |
| Secret exposure | CRITICAL | Real API keys/tokens in config env vars |
| Host filesystem access | HIGH | Server accessing /etc, /root, /proc |
| External network access | MEDIUM | Server connecting to non-localhost URLs |
| Excessive tool count | LOW | Server registering >20 tools |
Supported Configs
- Claude Code (
~/.claude/claude_code_config.json) - Cursor (
~/.cursor/mcp.json) - Project-level (
.mcp.json) - Generic MCP server configs
AgentGuard Integration
When AgentGuard is installed, MCP Scanner performs deep source code analysis on MCP server implementations using all 10 OWASP ASI detection rules.
License
MIT - see LICENSE.
Built by Dockfix Labs.
AgentGuard Ecosystem
AgentGuard is the core security scanner. Companion tools:
| Tool | Purpose | Install |
|---|---|---|
| agentguard | AI agent code security scanner | pip install dfx-agentguard |
| mcp-scanner | MCP server security audit | pip install dfx-mcp-scanner |
| agentguard-app | GitHub App for PR reviews | Install from Marketplace |
| agentguard-vscode | VS Code inline diagnostics | Install from VS Code |
| agentguard-benchmark | Detection benchmark suite | git clone |
| agentguard-demo | Live demo with Code Scanning | git clone |
19 detection rules | 102 tests | 50 benchmark samples | OWASP ASI Top 10 GitHub Action: dockfixlabs/agentguard@v1
Установка Dfx Mcp Scanner
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/dockfixlabs/mcp-scannerFAQ
Dfx Mcp Scanner MCP бесплатный?
Да, Dfx Mcp Scanner MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Dfx Mcp Scanner?
Нет, Dfx Mcp Scanner работает без API-ключей и переменных окружения.
Dfx Mcp Scanner — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Dfx Mcp Scanner в Claude Desktop, Claude Code или Cursor?
Открой Dfx Mcp Scanner на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Dfx Mcp Scanner with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
