Works with the AI Agents you already use

    MCP Config Security Audit: Secrets, Pins, Tool Risks

    by Signal Over Noise

    1

    What you get - A 9-step review method with fixed severity rules and a per-server verdict: Block, Fix then use, or OK.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

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

    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):

    #ServerFindingEvidence
    1filesFilesystem access to a home directoryargs[2] = /Users/sam
    2ticketsSecret pasted into configenv TICKETS_API_KEY = sk*** (32 chars)
    3ticketsPassword embedded in a connection URLenv DATABASE_URL = password in URL: FA*** (11 chars)
    4ticketsDestructive tools with no confirmation stepdelete_ticket
    5ops-shellServer can run shell commandsserver name "ops-shell"; package "northwind-shell-mcp"; tool run_command
    6ops-shellFilesystem access to the filesystem rootargs[3] = /
    7ops-shellRisky tools auto-approvedautoApprove: run_command (shell)
    8crm-syncSecret pasted into configheader Authorization = sk*** (34 chars)
    9crm-syncSecret in URL query stringurl ?api_key= FA*** (23 chars)
    10crm-syncRemote server over plain HTTPurl http://crm.northwind.example:8080/mcp
    11crm-syncTool 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>"
    12mail-relaySecret pasted into configargs[4] SMTP_PASSWORD = FA*** (17 chars)
    13mail-relayTool 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

    1. Rotate today: TICKETS_API_KEY, the tickets DB password, the crm-sync bearer token and api_key, SMTP_PASSWORD. Then move each to an env var reference.
    2. Remove ops-shell and crm-sync until someone can explain the <IMPORTANT> block.
    3. Narrow files to the project folder; pin every package and image.
    4. Add --fail-on high to 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 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.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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-filesNode.jsNorthwind Repo MCPuv (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

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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."

    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.