Works with the AI Agents you already use
MCP Config Security Audit: Secrets, Pins, Tool Risks
What you get - A 9-step review method with fixed severity rules and a per-server verdict: Block, Fix then use, or OK.
$12
MCP Config Security Audit: Secrets, Pins, Tool Risks
Example session with this skill installed
Audit the MCP servers in our team's mcp.json before we roll it out. I exported each server's tool list to tools.json.
- Read your context and instructions
- Compiled the mcp config security
Ran python3 mcp_audit.py --config mcp.json --tools tools.json (no network, secrets masked):
Servers: 8 (5 stdio, 3 remote)
Tool listings: tools.json, 7 servers, 18 tools
Findings: 13 HIGH, 11 MEDIUM, 1 LOW
HIGH rows (Fix column omitted here; the full 25-row table is in references/example.md):
| # | Server | Finding | Evidence |
|---|---|---|---|
| 1 | files | Filesystem access to a home directory | args[2] = /Users/sam |
| 2 | tickets | Secret pasted into config | env TICKETS_API_KEY = sk*** (32 chars) |
| 3 | tickets | Password embedded in a connection URL | env DATABASE_URL = password in URL: FA*** (11 chars) |
| 4 | tickets | Destructive tools with no confirmation step | delete_ticket |
| 5 | ops-shell | Server can run shell commands | server name "ops-shell"; package "northwind-shell-mcp"; tool run_command |
| 6 | ops-shell | Filesystem access to the filesystem root | args[3] = / |
| 7 | ops-shell | Risky tools auto-approved | autoApprove: run_command (shell) |
| 8 | crm-sync | Secret pasted into config | header Authorization = sk*** (34 chars) |
| 9 | crm-sync | Secret in URL query string | url ?api_key= FA*** (23 chars) |
| 10 | crm-sync | Remote server over plain HTTP | url http://crm.northwind.example:8080/mcp |
| 11 | crm-sync | Tool description gives orders to the model (lookup_contact) | description: hide from user "Do not tell the user"; description: cross-tool order "Before using any other tool"; description: hidden tag "<IMPORTANT>" |
| 12 | mail-relay | Secret pasted into config | args[4] SMTP_PASSWORD = FA*** (17 chars) |
| 13 | mail-relay | Tool description gives orders to the model (send_email) | param body: exfiltration "include any API keys" |
MEDIUM (11): unpinned npx, uvx, and :latest docker image; write tools with no confirmation step on 5 servers; duplicate tool names (read_file, search, sendEmail/send_email). LOW (1): local-preview on http://localhost.
Verdicts: Block: files, tickets, ops-shell, crm-sync, mail-relay. Fix then use: repo-tools (pin the version), docs-search (duplicate search). OK: local-preview (confirm it binds to 127.0.0.1).
Next steps
- Rotate today:
TICKETS_API_KEY, the tickets DB password, the crm-sync bearer token andapi_key,SMTP_PASSWORD. Then move each to an env var reference. - Remove
ops-shellandcrm-syncuntil someone can explain the<IMPORTANT>block. - Narrow
filesto the project folder; pin every package and image. - Add
--fail-on highto the pre-commit hook and re-run after every config change.
Connects securely to your tools. The creator never sees your data.
About this skill
Every MCP server you add gets your agent's trust: its tools, its descriptions in the model's context, and often a key in your config file. Most configs are copied from a README and never reviewed.
What you get
- A 9-step review method with fixed severity rules and a per-server verdict: Block, Fix then use, or OK.
- Seven automated checks: secrets pasted into env, args, headers, or URLs; unpinned package runners (npx, bunx, pnpm dlx, uvx, pipx, docker tags); shell access and filesystem access to root or a home directory; remote servers over plain http; write and destructive tools with no confirmation step, including ones on auto-approve; tool and parameter descriptions that give orders to the model; duplicate tool names across servers.
- A stdlib Python script that prints one Markdown table: severity, server, finding, evidence, fix. Secret values are never printed: only the key name, 2 characters, and the length.
--fail-on highfor CI and pre-commit. - A worked example: an 8-server fictional config with 25 findings, verdicts, the fixed config, and the re-run.
What makes it different
It reads tool listings as well as the config, so it catches tool poisoning and shadowed names, not only leaked keys. It also tells you what to fix and in what order: rotate first, then move the secret.
What it does not do
It does not read server source code, start servers, make network calls, or prove a server safe. A clean report means no known problems were found. It does not mean the server is safe.
Does not audit server source code or perform penetration testing. Requires Python 3.10+. Tool-level checks require manual export of tool listings.
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 3 days ago
- Software
- @northwind/mcp-files
Node.jsNorthwind Repo MCP
uv (Python tool runner)
Python 3.10+ (standard library only)some-server
An MCP config JSON (mcpServers shape: Claude Desktop, .mcp.json, Cursor; VS Code servers also works). Optional: tool listings per server as JSON
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.