MCP-Shield
OPEN-SOURCE MIT · STDIO + STREAMABLE HTTP FIREWALL

Runtime Firewall & Supply-Chain Auditor for MCP

Static manifest scanners miss symlink races, concurrent Git alternates escapes, leaked registry credentials, and IDE fork patch drift. Audit your MCP stack below in 5 seconds — zero signup, zero storage.

208,719
Public MCP GitHub repos audited by attack surface
14 + 20 GHSAs
Official MCP Registry & Reference Server advisories
CVSS 9.6
CVE-2026-120779 VS Code < 1.145.3 / fork parity check
0 Dependencies
Pure Python 3 stdlib CLI, proxy & blocking SARIF CI

Stateless 5-Second MCP Security Diagnostic

100% stateless edge scan · Never stores configs or secrets · Zero PII

Verified Primary-Source Advisories Covered

Every rule maps directly to official GitHub Security Advisories published Nov 2026 and reproduces in our sandbox pytest suite.

Advisory / CVE Affected Component Attack Vector MCP-Shield Control
GHSA-6whf-f7gm-x9cg MCP Registry < 1.8.1 GitHub Pages (*.github.io) site control hijacks org registry namespace CLI/CI Audit + Namespace Policy
GHSA-wqm4-g6j3-7272 mcp-publisher < 1.6.0 Login leaves .mcpregistry_* tokens in project directory Token Scanner + Write Block
GHSA-48j5-hj63-c82c server-memory < 2.2.2 saveGraph .tmp symlink race exposes 0600 files via chmod/rename Anti-Symlink Jail + O_NOFOLLOW
GHSA-5pwg-5xfw-x322 mcp-server-git < 2026.11.27 Concurrent .git/objects/info/alternates rewrite escapes --repository Git Internals Write Lock
CVE-2026-120779 VS Code < 1.145.3 & Forks MCP elicitation command: link RCE (CVSS 9.6) + Legacy SSE (8.8) IDE Parity + Elicitation Filter

Drop-In Runtime Firewall (Stdio & Streamable HTTP)

Wrap any MCP server in one line. Enforce hard OS-level invariants before a tool call reaches disk, Git, or external APIs.

Anti-Symlink Directory Jail

Walks every path component with lstat, rejects traversal and symlink escapes, locks .git/objects/info/alternates, and blocks legacy .mcpregistry_* credential writes.

mcp-shield proxy --mode stdio   --root ./workspace --   npx -y @modelcontextprotocol/server-memory@2.2.2

Strict Secret & Env Isolation

Runs stdio servers inside an allowlist-only environment (stripping GITHUB_TOKEN, AWS_*, OPENAI_API_KEY) and redacts or blocks secrets bidirectionally.

mcp-shield proxy --mode http   --listen 127.0.0.1:8787   --upstream http://127.0.0.1:3001/mcp   --secret-mode block

Write Idempotency & CI Gate

Deduplicates retried mutating tool calls (create_issue, write_file, push_files) via Idempotency-Key or SHA-256 fingerprint, plus SARIF 2.1.0 blocking GitHub Action.

mcp-shield audit .   --format sarif   --fail-on high   --output mcp-shield.sarif

Simple, Transparent Licensing

Core CLI, stdio/HTTP runtime proxy, GitHub Action, and sandbox tests are 100% open-source MIT forever.

Open-Source (MIT)

$0 / forever
  • Instant CLI auditor (mcp-shield audit)
  • Stdio & Streamable HTTP runtime firewall
  • Blocking GitHub Action with SARIF 2.1.0
  • Full sandbox exploit reproduction suite
Clone on GitHub (MIT)

Team Desk (5 Seats)

$199 / mo
  • 5 DevSecOps & AppSec team seats included
  • Org-wide GitHub Pages & MCP registry namespace watch
  • Fleet IDE patch-parity inventory enforcement
  • Custom runtime policy bundles & priority support
Start Team Desk ($199/mo)