# MCP Config Security Audit: Secrets, Pins, Tool Risks

> Audit the MCP servers your agent uses before you trust them: pasted secrets (masked), unpinned npx/uvx/pipx/docker, shell or home-dir access, plain-http remotes, unconfirmed destructive tools, prompt injection in tool descriptions, shadowed tool names.

MCP Config Security Audit: Secrets, Pins, Tool Risks is a paid AI agent skill on Agensi by Signal Over Noise, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Signal Over Noise](https://www.agensi.io/creators/jammin411)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcp-config-security-audit-secrets-pins-tool-risks
- Tags: security, mcp, llm-ops, audit, secrets-detection

## 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 high` for 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.

## Requires

- @northwind/mcp-files
- Node.js
- Northwind 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

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the MCP Config Security Audit: Secrets, Pins, Tool Risks skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific security risks does this skill help identify?

This skill identifies security vulnerabilities in Model Context Protocol (MCP) server setups, such as leaked API keys, unpinned package runners that risk supply chain attacks, and broad filesystem access to sensitive directories like root or home. It also screens tool metadata for prompt injection risks and destructive tools that lack confirmation steps.

### What files or software do I need to perform an audit?

You must provide an MCP configuration JSON file and optionally a JSON file containing your agent's tool listings. The skill requires a local Python 3.10+ environment to run the provided audit script so that sensitive configuration data is never pasted into a chat interface.

### What kind of report does this skill produce?

The skill generates a Markdown table that categorizes findings by severity (HIGH, MEDIUM, or LOW). Each entry includes the server name, the specific finding, evidence with masked secrets, and recommended fixes.

### Are there any security checks that this skill does not perform?

It does not audit the server source code line by line, perform runtime penetration testing, or evaluate the corporate trustworthiness of a vendor. It is limited to the static analysis of the configuration files and tool metadata you provide.

### How should I ask my agent to use this skill?

You can ask your agent to audit a specific configuration file by providing the path to your config and tool listings. For example, you might say, "Audit the MCP servers in my config file for security risks" or "Check this .mcp.json for leaked secrets and prompt injection before I commit it to a repository."

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
