mcp.json config checker

Paste your mcp.json, .mcp.json or claude_desktop_config.json to find secrets, unpinned servers and risky server settings. Tokens stay masked and never leave your browser.

Run the check

Drop a project folder or files here

node_modules, .git, virtualenvs and build folders are skipped. Limit 25 MB / 5,000 files.

The Python engine (Pyodide, a few MB, cached by your browser) loads when you start.

The mistake

Writing a token directly into env, args or headers; launching servers with npx -y pkg, uvx pkg or @latest; giving a filesystem server /, C:\ or your home directory; running docker servers with --privileged or the docker socket; remote servers over plain http.

Why it is dangerous

MCP client configs are copied between machines, pasted into issues and committed to repos, and the token travels with the file. Unpinned packages download whatever the registry serves at every client start, so a compromised maintainer account runs on your machine with your permissions. A broad filesystem root exposes SSH keys, browser profiles and cloud credentials to a single prompt injection.

How to fix it

  1. Rotate any token that was written into the file.
  2. Reference it instead: Claude Code / .mcp.json "env": { "KEY": "${KEY}" }; VS Code "${input:key}" with a password input; Cursor "${env:KEY}".
  3. Pin an exact package version (and a digest for docker images), and give filesystem servers only the project folder.

What this checker looks for

This page runs mcp-audit, which reads mcp.json / .mcp.json / claude_desktop_config.json and MCP server source (Python, JS/TS). The rules most relevant to this page:

RuleWhat it finds
MCP001Hard-coded secret in MCP config
MCP002MCP server launched without a pinned version
MCP003MCP server pinned to a moving tag (@latest / :latest)
MCP004Filesystem MCP server given a broad root
MCP005Docker MCP server with privileged or host access
MCP006Remote MCP server over plain http

Every finding has a rule id, a severity, file:line, the offending line (secrets masked), why it matters and how to fix it. Run mcp-audit rules for the full list.

FAQ

Which config files are recognised?

claude_desktop_config.json, .cursor/mcp.json, .vscode/mcp.json and .mcp.json, among others.

Is my token shown in the results?

Only masked, exactly as the command-line tool prints it. Nothing is uploaded.

Are my files uploaded anywhere?

No. The checker is Python running inside your browser tab (Pyodide, WebAssembly). Your files are read with the browser's File API and written into an in-memory file system that exists only in this tab. Your files are never sent anywhere. The only network requests load the Python runtime and the checker code, plus Google Analytics page-view counting, which never sees your files. You can disconnect from the internet after the engine has loaded and the scan still works.

Is a clean report a guarantee?

No. It is a static check for known patterns, not a penetration test. A clean report means none of these patterns were found, nothing more.

Can I run the same check on my machine or in CI?

Yes. Every checker on this site is an open-source command-line tool (MIT licence, Python 3.10+ standard library only). The results here are the same as `scan --json` on the command line, except for checks that need git (whether a file is committed or ignored), which cannot run in a browser.