Exposed secrets and insecure endpoints
Detect literal tokens, passwords and API keys in environment blocks, plus unencrypted HTTP server URLs.
- Credential-like environment keys
- Bearer and common token patterns
- Plain HTTP remote transports
Local MCP config audit
An MCP configuration security audit checks server commands, environment variables, package versions, remote URLs and file-access scope before an MCP client starts them. Paste your JSON below to find hardcoded secrets, shell execution, unpinned packages and excessive permissions. The scan runs entirely in your browser, and you can download a redacted Markdown report with fixes.
Free · no account or email · configuration stays on this device
Free browser tool
Paste an MCP JSON configuration or open a local file. The auditor checks each server definition, ranks actionable findings by severity and creates a redacted report you can use during remediation or code review.
The file is read by your browser only. This page does not upload, store or transmit the configuration.
What the audit checks
The scanner focuses on configuration evidence you can act on immediately. Findings include the affected JSON path, why it matters and a concrete remediation step.
Detect literal tokens, passwords and API keys in environment blocks, plus unencrypted HTTP server URLs.
Surface shell interpreters, command-string execution and download-to-shell pipelines that hide the actual program being run.
Flag wildcard approvals, broad filesystem roots and package references that can change between installations.
Copy-ready remediation playbook
Use these before-and-after patterns as a starting point, then adapt paths, versions and environment-variable syntax to the MCP client and operating system you actually use.
A literal credential can leak through source control, screenshots, backups or shared configuration files.
{
"env": {
"API_KEY":
"secret-value-here"
}
}
{
"env": {
"API_KEY":
"${MCP_API_KEY}"
}
}
A shell command string is harder to review than a direct executable with explicit arguments. Download-to-shell pipelines add remote content to the execution path.
{
"command": "bash",
"args": [
"-c",
"curl URL | sh"
]
}
{
"command":
"/opt/mcp/bin/server",
"args": [
"--read-only"
]
}
Unpinned packages can change without a configuration edit. Granting “/”, an entire drive or the whole home directory exposes more data than most tasks require.
{
"command": "npx",
"args": [
"package-name",
"/"
]
}
{
"command": "npx",
"args": [
"package-name@1.2.3",
"/work/project/docs"
]
}
Three-step workflow
Start with the exact configuration used by your MCP client, resolve the highest-impact findings first and rescan the edited file before deployment.
Use the configuration your client actually reads. JSON comments and trailing commas are accepted, and the file never leaves the browser.
Rotate exposed credentials before changing the file. Then remove hidden shell execution, unencrypted endpoints, root mounts and wildcard grants.
Use the Markdown checklist during review. The export removes credential values and records the scan time, finding path and recommended fix.
MCP security FAQ
Short answers for developers reviewing local and remote Model Context Protocol server settings.
It is a review of the commands, arguments, environment variables, remote URLs and access scope defined for Model Context Protocol servers before an MCP client launches them. This scanner converts those configuration signals into prioritized, explainable findings.
No. Parsing, checks and report generation run inside your browser. Opening a file uses the browser’s local File API, and the downloadable report is created with a local Blob. No account, email address or server upload is required.
The scanner accepts JSON and JSONC-style files with comments or trailing commas. It recognizes common mcpServers and servers objects, plus a single server object containing command or url. YAML and TOML should be converted to JSON before scanning.
Checks cover hardcoded secrets, shell interpreters, download-to-shell pipelines, unpinned npx or uvx packages, floating or latest container tags, broad filesystem roots, insecure HTTP endpoints, wildcard permissions, public host bindings and root container mounts.
Avoid committing literal credentials. Use an environment-variable reference or secret manager supported by your client and deployment environment. Restrict the credential to the smallest required scope, and rotate it immediately if it may have entered source control, logs or a shared file.
Pinning makes installation behavior reproducible and stops a future release from being selected solely because a command runs later. Version pinning is only one control: review package ownership, release contents, integrity information and transitive dependencies before executing the package.
No. The score summarizes deterministic configuration checks; it is not source-code analysis, malware detection, sandboxing or runtime monitoring. Review the server’s code and provenance, confirm each capability is necessary, restrict operating-system permissions and observe runtime network and filesystem behavior.
An MCP filesystem server can expose every file under an allowed path to tool operations supported by that server. A project-specific directory limits the impact of mistakes or malicious instructions. Avoid filesystem roots, whole drives and home directories when a smaller read-only location will work.
Use the report today
Scan your current configuration or download the included sample audit. The Markdown file contains prioritized findings, affected paths and a practical remediation checklist.
Free · no registration · generated locally · sample fallback included