Audit local MCP server configurations: unpinned packages, plain-text credentials, risky permissions.
MCPpedia last refreshed this data
io.github.asterionsec/mcp-audit is an MCP server that audit local MCP server configurations: unpinned packages, plain-text credentials, risky permissions. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"mcp-audit": {
"args": [
"-y",
"@asterionsec/mcp-audit@0.1.1",
"--mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Audit local MCP server configurations: unpinned packages, plain-text credentials, risky permissions.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @asterionsec/mcp-audit against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in security
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
Routes each task to the few skills, MCP servers and tools that fit it.
MCP Security Weekly
Get CVE alerts and security updates for io.github.asterionsec/mcp-audit and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Audit the MCP servers your AI tools are configured to run, before one of them runs something you did not expect.
mcp-audit reads the MCP configuration of Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf and Cline, and reports concrete, fixable risks: packages that are not pinned, credentials written in plain text, unencrypted remote servers, filesystem servers with access to your whole disk, containers with host access, shell bootstraps and tools that run without asking.
It is local and deterministic. It makes no network request, sends nothing anywhere and has no runtime dependencies. Credentials are always shown masked.
npx -y @asterionsec/mcp-audit@0.1.1
mcp-audit 0.1.1: 4 configuration files, 9 MCP servers
~/.claude.json [claude-code, 5 servers]
~/Library/Application Support/Claude/claude_desktop_config.json [claude-desktop, 3 servers]
...
HIGH MCP-SEC-001 Credential stored in plain text
"github" has a GitHub token in its env GITHUB_PERSONAL_ACCESS_TOKEN: ghp_•••••• (40 chars).
The file is inside a git repository, so it can be committed and shared.
Fix: Remove it from the file, rotate it, and reference an environment variable instead.
./.mcp.json /mcpServers/github/env/GITHUB_PERSONAL_ACCESS_TOKEN
MEDIUM MCP-PIN-001 Server package is not pinned to an exact version
"filesystem" runs @modelcontextprotocol/server-filesystem with no version.
Fix: Pin an exact version: @modelcontextprotocol/server-filesystem@<x.y.z>.
An MCP server runs with your user's permissions, and the agent that calls it reads text you never see. Most configurations copied from a README run npx -y some-server, which downloads whatever version the registry serves at every start, and keep API keys next to it in a file other programs can read. Those are the two ways a single compromised package or leaked file turns into access to your machine and accounts. This tool finds them in seconds.
mcp-audit [options] [config files...]
With no files it reads every supported client's configuration for your user and the project files in the current folder.
| Option | What it does |
|---|---|
--project <dir> | Also read a project's .mcp.json, .cursor/, .vscode/, .gemini/ and .claude/ settings (repeatable) |
--no-defaults | Read only the files and projects given |
--format text|json|sarif, --json, --sarif | Output format. SARIF 2.1.0 works with GitHub code scanning |
--fail-on <severity> | Exit 1 when a finding is at or above critical, high (default), medium, low or info; none always exits 0 |
--probe | Start each local stdio server, read its tool list and check the descriptions (see below) |
--list-rules | Print the rules |
--mcp | Run as an MCP server |
--no-color | Plain output |
Exit codes: 0 nothing at or above --fail-on, 1 at least one finding at or above it, 2 usage or runtime error.
- run: npx -y @asterionsec/mcp-audit@0.1.1 --no-defaults --project . --sarif > mcp-audit.sarif
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: mcp-audit.sarif
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": ["-y", "@asterionsec/mcp-audit@0.1.1", "--mcp"] } } }
It exposes one read-only tool, audit_mcp_configs. The MCP server never starts other servers: --probe is a command-line choice, so a prompt cannot make your agent execute every configured server.
The static rules read configuration only. --probe goes one step further: it starts each local stdio server the way your client would, sends initialize and tools/list, stops it, and checks what the tools say about themselves. It runs those servers' code (your client already does, every time it starts); remote servers are not contacted.
| ID | Severity | What it finds |
|---|---|---|
| <a |