Deepsleuth MCP server
io.github.DeepSleuth/deepsleuth·v1.0.4·1 starsDeterministic, no-LLM security scanner for MCP servers, plus an inline proxy gate.
1 stars940 downloads/wk
Reviews
Write oneNobody has reviewed Deepsleuth yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Deepsleuth tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
docstring_param_docsParameter names (and their text) from a docstring's argument section: Google (``Args:`` then ``name (type): text``), numpy (``Parameters``, a dashed underline, ``name : type`` with indented text) and Sphinx (``:param name: text``). Structural: a header line, then entries indented deeper than it; a non-blank line at or above the header's indent, or another section header, ends the section.
find_duplicate_tool_defs
Public scan report
scanner v0.1.10 · 2026-10-13 · same rubric, same numbers if you re-run it
- Code scan47 source files scanned3/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 6 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
Findings (3)
- mediumsubprocess with shell=True
exec.shell-truesecurity_scanner_deepsleuth_mcp-1.0.4/deepsleuth/analysis/buildbackend.py: …n``/``os.exec*``, ``subprocess`` with ``shell=True`` or with a shell / downloader as arg…
- mediumeval / new Function used
exec.evalsecurity_scanner_deepsleuth_mcp-1.0.4/deepsleuth/analysis/constfold.py: …o] = {} self.steps = 0 def eval(self, node: ast.AST, loc: Dict[str, Any]… - highWhole environment serialized (possible credential exfil)
env.dumpsecurity_scanner_deepsleuth_mcp-1.0.4/deepsleuth/analysis/envdump.py: …ronment -- ``str(dict(os.environ))``, ``json.dumps(dict(os.environ))``, a loop over ``os.environ.items()`` …
How Deepsleuth compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 55/100
- higher than 12% of 4,460 AI and agents servers
- Tools
- 2
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 940
- more than 92% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read
Install Deepsleuth in Claude Code, Cursor or VS Code
claude mcp add deepsleuth -- uvx security-scanner-deepsleuth-mcp
What the publisher says
From the Deepsleuth repository's README, as published. We do not edit it. Read it on GitHub
Deepsleuth — read the fine print
Deepsleuth is a deterministic, no-LLM security scanner for MCP servers. It audits what a server says — and, more importantly, what it does.
Most MCP scanners read only the declared manifest (tools/list names, descriptions, schemas). They never launch the server, never call a tool, never read a response, never read the implementation source, and never reason across calls — so whole classes of attack are structurally invisible to them.
Deepsleuth sees those. It is a single frontend-agnostic detection core with two frontends:
transparent proxy that is an MCP server to the agent and an MCP client to one downstream server. It audits tool descriptions at startup, enforces a gate before every tools/call, and scans every response before returning it. Includes a headless proxy-eval mode for offline scoring.
- Frontend A — inline MCP gateway / proxy (the headline artifact). A
server in a Docker sandbox, actively elicits behavior with synthesized calls + planted canaries, and produces findings. Also the offline scoring harness.
- Frontend B — batch / sandbox scanner. A pre-flight auditor that launches a
Both frontends run the same detectors over the same Context — a detector is written once and works in both.
No LLM. Ever.
Fully deterministic: parsing, static AST + taint/dataflow, normalized regex/token heuristics, unicode/encoding/entropy analysis, structural diffing, and sandboxed dynamic execution with instrumentation. Same input → byte-identical findings. Offline (no network egress except to the Docker daemon). No threat feeds.
Install
Python 3.11+. No required third-party packages — the scanner speaks MCP over stdio itself, so it installs in externally-managed (PEP 668) environments.
pip install security-scanner-deepsleuth-mcp # published on PyPI
# or from source:
pip install git+https://github.com/DeepSleuth/deepsleuth-mcp.git # zero required dependencies
deepsleuth --help
# or straight from the source tree:
python -m deepsleuth --helpThe PyPI distribution is named security-scanner-deepsleuth-mcp (what it is, plus the brand); the tool, repo and MCP server are deepsleuth. The package installs the deepsleuth console command — and an alias script under the distribution's own name, so uvx security-scanner-deepsleuth-mcp runs the server for registry clients.
Deepsleuth is itself an MCP server, so agents can scan with it directly:
{"mcpServers": {"deepsleuth": {"command": "python", "args": ["-m", "deepsleuth.mcp_server"]}}}Tools: listdetectors, checklisting, scan_target.
Install as an agent plugin
The repo is a valid Agent Plugins package (plugin.json + mcp.json, spec 1.0.0): any compatible client can install it directly from the repository and gets the deepsleuth MCP server plus the audit-mcp-server skill. The stdio entry (bin/deepsleuth-mcp) needs only python3.11+ — the scanner has zero third-party requirements:
{"type": "stdio", "command": "./bin/deepsleuth-mcp"}For the dynamic layer (Frontend B and proxy-eval) you need the Docker CLI + daemon. Without Docker the scanner degrades gracefully: static/manifest detectors still run and the skipped dynamic coverage is reported (never a crash).
Run
# Frontend B — batch/sandbox scanner (also the offline scoring harness)
python -m deepsleuth scan <target> [--no-dynamic] [--json out.json] [--timeout N] [--reference-listing tools.json]Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Deepsleuth: common questions
- Is Deepsleuth MCP server safe?
- With care: it is graded C, so read the findings first (55/100). Read the Deepsleuth safety report
- How do I install Deepsleuth?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Deepsleuth need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Deepsleuth maintained?
- The last commit was 28 days ago (2026-10-07). The latest release is v1.0.4.
- What can I use instead of Deepsleuth?
- Servers from other publishers that do the same job: Agent Security Scanner MCP server, HOL Guard MCP server and Decionis Commerce Gate MCP server.
- How does Deepsleuth compare with other AI and agents MCP servers?
- safety score 55/100 (higher than 12% of 4,460 AI and agents servers); tools 2 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Deepsleuth
Same job from other publishers: the closest match first, then the best rated.
- Agent Security ScannerSecurity layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.not reviewedEstablishedC
- HOL GuardLocal-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.not reviewedEstablishedA
- Decionis Commerce Gate MCPCommerce preflights, D365 authorization; opt-in agent writes require authorized backend connectors.not reviewedEstablishedA
- llmtrimMCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.not reviewedEstablishedA
- three.ws Avatarsthree.ws 3D avatars in your agent: render a live, interactive 3D avatar inline, or get an embed.not reviewedEstablishedA