$49
One-time digital kit for founders who want the audit workflow ready today.
- Policy and baseline templates
- GitHub Action setup checklist
- Audit pack handoff template
- Private repo rollout guide
Local-first scanner for risky shell commands, leaked secrets, env files, broad filesystem access, Docker runtime risk, remote MCP endpoints, plaintext HTTP, and unpinned packages.
mcp-servers.json:12
args: ["/"]
/var/run/docker.sock
{
"ruleId": "MCP010",
"level": "error",
"message": "Shell command executes inline script",
"uri": "mcp-servers.json"
}
MCP connects AI clients to tool servers. That connection is powerful because a server can expose file access, shell commands, SaaS APIs, databases, browser tools, containers, or remote endpoints.
The config is the review point. It shows what command starts, which package runs, what paths are mounted, which env files load, and what secrets or headers are passed into the server.
Claude Desktop, Cursor, Codex, or an internal agent decides which MCP servers are available to the model.
A local process or remote endpoint exposes tools, resources, or prompts that the agent can call.
This is where shell wrappers, unpinned packages, broad filesystem paths, Docker socket mounts, plaintext HTTP, and credentials usually enter.
Scan the config before the agent runs it, then commit policy and baseline files for repeatable team review.
Run from a repo root or a nested package. mcp-guard checks project, parent, editor, and user-level MCP configuration without uploading local paths or secrets.
Checks `.mcp.json`, `mcp.json`, `.cursor/mcp.json`, and `.vscode/mcp.json` from the current directory upward.
Scans common user-level config paths so local agent setup is visible before it becomes team risk.
Redacts secret-like values while still showing where credentials enter MCP server runtime.
Flags remote MCP servers, plaintext HTTP endpoints, high-risk container flags, and policy violations against approved URLs.
Fast, private, and simple enough for local review or pre-commit workflows.
npm i -g agent-mcp-guard
mcp-guard init
mcp-guard rules --format markdown
mcp-guard policy --config .mcp.json --dry-run
mcp-guard scan --policy .mcp-guard-policy.json --format html
Block risky MCP config changes before they merge, with reports attached to the run.
- uses: ChaoYue0307/mcp-guard-action@v0.4.11
with:
config: .mcp.json
# policy: .mcp-guard-policy.json
baseline: .mcp-guard-baseline.json
fail-on: high
comment-pr: "true"
upload-sarif: "true"
Turn raw config risk into a customer-ready audit pack a founder, security lead, or engineering team can act on.
mcp-guard audit --config .mcp.json \
--policy .mcp-guard-policy.json \
--output-dir mcp-guard-audit
mcp-guard verify-audit
Critical 4
High 7
Medium 2
Use one scanner across local review, pull requests, artifacts, and GitHub Security. Reports are generated locally and secret-like values are redacted before output.
Rules and findings map to SARIF 2.1.0 so teams can track MCP risks beside other code scanning alerts.
Readable risk score, server inventory, severity summary, evidence, and remediation guidance.
Machine-readable active findings, accepted baseline findings, stable fingerprints, and summary counts.
SHA-256 hashes and byte sizes let teams confirm downloaded reports still match the generated evidence pack.
Real repositories rarely start clean. Baseline mode lets teams commit the current reviewed state, keep those findings visible, and fail pull requests only when new high-risk MCP changes appear.
mcp-guard scan --config .mcp.json \
--write-baseline .mcp-guard-baseline.json
mcp-guard scan --config .mcp.json \
--baseline .mcp-guard-baseline.json \
--fail-on high
Create a JSON baseline with stable fingerprints for current findings.
Commit the baseline after reviewing accepted risk and reasons.
CI reports accepted findings but fails only on new active findings.
This is a reproducible example generated by the current CLI from a committed MCP config. The config is synthetic, but the findings and reports are real outputs from `mcp-guard`.
Unpinned `npx`, broad `/` filesystem access, shell installer, Docker socket mount, remote endpoint, and secret-like values.
4 critical, 7 high, and 2 medium findings with rule IDs, evidence, and remediation guidance.
Keep the CLI and Action free for trust and distribution. Customers can buy packaged deliverables through Stripe-hosted checkout, then receive templates, licenses, or setup intake without a sales call.
One-time digital kit for founders who want the audit workflow ready today.
Recurring plan for teams running mcp-guard in private repositories.
Productized setup package for teams that want a clean first rollout.
Stripe-hosted checkout handles cards, wallets, receipts, and subscriptions without collecting payment details on this site.
The fulfillment worker can send purchase emails, store Pro license records, and expose a private license verification endpoint.
Keep open-source scanning free while paid plans unlock private-team workflows, policy packs, customer portal billing, and dashboard history.
mcp-guard is an automated local scanner. Paid setup pilots are available for teams that want the CLI, GitHub Action, baseline, PR comments, and SARIF reporting wired into a real repository without sending configs to a hosted service.