# MCP Config Auditor

> MCP Config Auditor is a free MCP server for security. Audit your MCP client configs for unpinned packages, leaked secrets and typosquats. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, macOS, Windows, Linux
- **Repository:** https://github.com/guardbee/guardbee-mcp/tree/HEAD/packages/mcp-config-auditor
- **MCP Registry name:** io.github.GuardBee/mcp-config-auditor
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Where a source scanner reads one server's code, this package reads the configuration that decides which servers an agent will launch. It checks Cursor `mcp.json`, Claude Desktop `claude_desktop_config.json`, Windsurf `mcp_config.json` and VS Code `mcp.json`, without starting any server or uploading the config. Findings are mapped to OWASP MCP Top 10 identifiers.

The README lists over twenty patterns with severities. Critical ones include a package name one edit from a known server (typosquat), a credential in env or args, and `autoApprove` set to a wildcard. High ones include unpinned `npx`, `uvx` or `bunx` launchers, container images referenced by tag instead of digest, and remote HTTP servers without authentication. It can also compare tool names across servers for shadowing, inspect agent SKILL.md files for unrestricted shell access or instruction-override text, and run a `discover` pass that flags servers not on an organisation allowlist.

It is also a CLI with SARIF output and `--fail-on` gating for CI. A `--grades` option shows an A to F trust grade from the GuardBee MCP Index, looked up locally from a cached download so no package names leave the machine. Telemetry is off unless `GUARDBEE_TELEMETRY=1` is set.

## Features

- **Unpinned package detection:** Flags launchers running packages or images without a pinned version or digest.
- **Typosquat check:** Reports package names one edit from a known MCP server.
- **Secret scanning:** Finds credential-shaped values in env, args and skill files, with matches redacted.
- **Shadow server discovery:** Compares servers installed on a host with an organisation allowlist.
- **Skill file checks:** Looks for unrestricted shell or write access and instruction-override text in SKILL.md files.
- **CI-friendly output:** SARIF and JSON output with a --fail-on severity gate.
- **MCP Index grades:** Optionally shows A to F trust grades for configured registry servers.

## Good for

- Scan a developer laptop for risky MCP client configuration
- Fail a CI job when a config contains a hard-coded token
- Find MCP servers installed outside the approved list
- Detect two servers exposing the same tool name
- Grade the registry servers a team already uses

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-config-auditor -- npx -y @guardbee/mcp-config-auditor
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-config-auditor -- npx -y @guardbee/mcp-config-auditor
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-config-auditor]
command = "npx"
args = ["-y", "@guardbee/mcp-config-auditor"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mcp-config-auditor npx -- -y @guardbee/mcp-config-auditor

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-config-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@guardbee/mcp-config-auditor"
      ]
    }
  }
}
```

## FAQ

### Does MCP Config Auditor run the servers it checks?

No. The README says it does not start those servers and does not send the config anywhere.

### Is telemetry on?

Off by default; setting GUARDBEE_TELEMETRY=1 turns it on, and long strings and fields like token or password are replaced with a placeholder.

### Which clients does MCP Config Auditor read?

Cursor, Claude Desktop, Windsurf and VS Code configs, and discover also walks Claude Code, Gemini CLI, Cline and Zed paths.

### How do I add MCP Config Auditor?

Use `npx -y @guardbee/mcp-config-auditor` as the command in an mcpServers entry, or run it as a CLI.

### Is MCP Config Auditor free?

Yes. MCP Config Auditor is free to use.

### How do I add MCP Config Auditor to Claude Code?

Run this command in your terminal: claude mcp add mcp-config-auditor -- npx -y @guardbee/mcp-config-auditor

### What are the best alternatives to MCP Config Auditor?

The closest alternatives to MCP Config Auditor are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mcp-config-auditor-2
