MCP configuration audit
Audits local MCP server configs for unpinned packages, exposed keys and risky permissions
MCP configuration audit is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-audit -- npx -y @asterionsec/mcp-auditAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-audit": {
"command": "npx",
"args": [
"-y",
"@asterionsec/mcp-audit"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-audit": {
"command": "npx",
"args": [
"-y",
"@asterionsec/mcp-audit"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-audit": {
"command": "npx",
"args": [
"-y",
"@asterionsec/mcp-audit"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-audit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@asterionsec/mcp-audit"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-audit -- npx -y @asterionsec/mcp-auditOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-audit]
command = "npx"
args = ["-y", "@asterionsec/mcp-audit"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-audit": {
"command": "npx",
"args": [
"-y",
"@asterionsec/mcp-audit"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Or run: gemini mcp add -s user mcp-audit npx -- -y @asterionsec/mcp-audit
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-audit": { "command": "npx", "args": [ "-y", "@asterionsec/mcp-audit" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About MCP configuration audit
Scans the MCP configuration files of Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf and Cline and reports fixable risks such as unpinned npx or uvx launches, credentials sitting in plain text, and filesystem servers with access to the whole disk. Each finding names the file and setting, shows secrets masked, and explains what to change.
The tool runs entirely on your machine with no network requests and no runtime dependencies. An optional probe mode starts local stdio servers, reads their tool lists and flags hidden characters or instructions aimed at the model inside tool descriptions. It can also run in CI and emit SARIF for GitHub code scanning.
It suits developers who configure MCP servers for AI coding assistants and security teams who want to review those setups across projects before a repository is cloned or committed.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- audit_mcp_configs
- Read-only audit of MCP configuration files, without starting other servers.
What it does
- Unpinned package detection
- Flags npx, uvx, bunx, pipx and container launches that lack an exact version or digest.
- Plain-text credential scan
- Finds API keys and tokens in env vars, headers, arguments and URLs by known format or name.
- Permission review
- Highlights tools that run without confirmation and project servers that start automatically.
- Filesystem and container risks
- Catches filesystem servers given the home folder or disk root and containers with host-level access.
- Tool description probe
- Optionally starts local servers and checks tool names and descriptions for hidden or instructing text.
- CI and agent integration
- Outputs SARIF for code scanning and can run as a read-only MCP tool for an agent.
Good for
- Reviewing MCP server setups in Claude Code or Cursor before trusting a cloned repository
- Adding a configuration check to CI so risky MCP files are flagged on every push
- Finding API keys accidentally stored in plain text in client configuration files
- Auditing developer machines for servers that download unpinned code at every start
- Letting an agent check its own MCP configuration without starting other servers
Pricing
Open source
Free and open source under Apache-2.0
Prices change. Check asterionsec.com before you buy.
MCP configuration audit FAQ
Does MCP configuration audit send any data over the network?
No. It runs locally, makes no network request and has no dependencies. Remote servers are not contacted, even with the probe option.
Which clients does MCP configuration audit read?
Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf and Cline.
Does MCP configuration audit show my secrets?
No. Credentials are always shown masked, with only their first characters and length visible.
Can MCP configuration audit detect every hidden secret?
No. Secrets with no recognised format under a neutral name are not found, and the static rules do not judge what a server does once it runs.
Is MCP configuration audit free?
Yes. MCP configuration audit is open source, so you can use and self-host it for free.
How do I add MCP configuration audit to Claude Code?
Run this command in your terminal: claude mcp add mcp-audit -- npx -y @asterionsec/mcp-audit
What are the best alternatives to MCP configuration audit?
The closest alternatives to MCP configuration audit are MCP Config Auditor, MCP Config Auditor, MCP Security Guard, mcp-audit and MCP Server Security Scanner.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.