MCP Server Security Scanner
Scan any MCP server config + tool list for prompt-injection, exfiltration, and over-privileged tool risks — and get a severity-ranked report with a fix for every finding, in seconds.
$15
Works with the AI Agents you already use
About this skill
Listing Sheet — mcp-server-security-scanner
Title
MCP Server Security Scanner
Slug
mcp-server-security-scanner
Category Tags
security, MCP, prompt-injection, auditing, developer-tools
Supported Agents
Claude Code, Codex CLI, Gemini CLI, Cursor, OpenClaw
Price & Model
$15 one-time. ROI: one blocked misconfiguration costs far less than one leaked credential or one agent-driven data exfiltration — a single pre-flight scan pays for the skill.
Marketplace Short Description
Scan any MCP server config + tool list for prompt-injection, exfiltration, and over-privileged tool risks — and get a severity-ranked report with a fix for every finding, in seconds.
Full About
The problem: MCP servers hand agents powerful tools — shell access, file writes, network fetches, database queries. One over-privileged tool, or one secret committed in the config, turns a helpful assistant into an exfiltration channel. Most teams find out after connecting the server.
How it works — 5 gated stages:
- Collect — the MCP server config + tool list as JSON.
- Validate input — parseable JSON with
serverandtools; stop, don't guess, on malformed input. - Scan — deterministic script-first scanner (
scripts/main_pipeline.py, stdlib only, no network) applies 9 rules (R1–R9): unauthenticated network transport, secret-shaped env values, arbitrary command execution, raw SQL, unrestricted network fetch, broad write scope, instruction-like tool descriptions, missing schema/description, and confined read-only tools. - Validate output —
scripts/validate_output.pychecks schema, severity ordering, count consistency, and zero errors. - Deliver — severity-ranked Markdown + JSON report with a concrete fix per finding and a
BLOCK/REVIEW/PASSverdict.
Included files: SKILL.md (gated workflow), scripts/main_pipeline.py, scripts/validate_output.py, references/decision_matrix.md, references/failure_modes.md, templates/output_template.md, sample_data/sample_input.json (fictional 7-tool server) + sample_data/expected_output.md (real dry-run output), README.md, CHANGELOG.md, requirements.txt (stdlib only).
Verified proof: dry run on the fictional sample server found 12 findings — 3 Critical, 5 High, 1 Medium, 3 Low — verdict BLOCK, validator passes with zero errors.
Limits / disclaimers: Static analysis of the declared config and tool list only; it does not observe runtime behaviour or inspect tool implementations not described in the config. Severity ranks are opinionated heuristics, not a CVE database lookup. A PASS verdict means no rule fired, not "provably secure". The scanner never executes untrusted tool definitions, never touches the network, and redacts suspected secret values. Sample data is fictional and labelled as such.
Pre-flight security check result
- No hardcoded secrets in the package (checked: no credential-shaped values outside the fictional sample, which is labelled fictional and uses an invented placeholder value).
- No network access in any script; no external exfiltration.
- No
eval/exec/ dynamic import on untrusted input; tool descriptions are matched as data only. - Suspected secret values are redacted in reports, never printed.
- Dry run:
verdict=BLOCK total=12 critical=3 high=5 medium=1 low=3 info=0; validator:VALID: 12 findings, severity order OK, counts match, zero errors.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python 3.8+Security Scanner MCPFictional Docs MCP