AI DevOps
mcp-guard
Open-source security middleware for Model Context Protocol servers with secret redaction, ACL filtering, and prompt-injection detection
- community votes
- 0
- DR by Ahrefs no change since last check
- 0
Ahrefs Domain Rating counted 30 Nov 2026, last shift 27 Nov 2026.
What it does
A lightweight, zero-dependency MIT library that scrubs secrets and PII, enforces access controls, and detects prompt injections in MCP server communications.

mcp-guard: the homepage
mcp-guard is an open-source security middleware and CLI tool for Model Context Protocol (MCP) servers built by 4sails. It provides deterministic scrubbing of secrets and personally identifiable information in both directions, enforces fail-closed inherited access control lists, and detects or quarantines prompt injections before data reaches AI coding tools.
The library strips AWS keys, GitHub tokens, Slack webhooks, Stripe keys, OpenAI and Anthropic API keys, JWTs, PEM blocks, database URIs, and external PII using precedence-safe rules that preserve data integrity. It works as a bidirectional stdio MCP proxy that wraps existing MCP servers and can scan Jira and Slack JSON exports in continuous integration pipelines.
mcp-guard requires no external dependencies and runs directly on Node.js 20 or later. The tool is designed for agencies and IT outsourcing teams that need to safely connect AI agents to business tools like Jira, Slack, and Git while respecting client confidentiality and preventing data leakage.
What it packs
- Deterministic secret and PII redaction across JSON and text payloads
- Fail-closed access control list filtering
- NFKC-normalized prompt-injection detection and taint quarantine
- Bidirectional stdio MCP firewall for outbound and inbound traffic
- CI scanner for Jira and Slack JSON exports
- Zero external dependencies
- Runs on Node.js 20 or later
Pricing
Pricing model: Open source
One click to follow mcp-guard. Their milestones, product news and founder stories then reach you by email.
mcp-guard: raw metrics
The numbers for 4sails.tech: Ahrefs Domain Rating and Majestic links, arrows for the shift since last count.
- 0 Domain Rating no change since last check
- 0 Trust Flow no change since last check
- 0 Citation Flow no change since last check
- 0 Referring domains no change since last check
- 0 External backlinks no change since last check
Ahrefs Domain Rating counted 30 Nov 2026, last shift 27 Nov 2026. Majestic counted 27 Nov 2026, last shift 27 Nov 2026. Link numbers by Majestic. Trust Flow, Citation Flow and Topical Trust Flow are trademarks of Majestic-12 Ltd.
mcp-guard: domain under the hood
Open the domain record
Data from the public RDAP record as of 1 Dec 2026, 00:59 UTC.
- Domain age 6 days
- Registered
- Expires
- Registrar GoDaddy.com, LLC
- DNSSEC Not signed
mcp-guard: after-launch readout
| Measure | At launch, then latest |
|---|---|
| Domain Rating (Ahrefs) | 0 to 0 no change since launch 27 Nov 2026, then 30 Nov 2026 |
| Trust Flow (Majestic) | 0 first measured 27 Nov 2026 |
| Referring domains (Majestic) | 0 first measured 27 Nov 2026 |
Day 3 since launch. Next receipt: day 30, 27 Dec 2026. We show what changed, not what caused it: many things affect these numbers. Nothing here is estimated.
Launch tips, free to read
Read the free launch playbook: a step-by-step plan for the days before, the day itself and the weeks after.
- The week before
- Launch day
- Launch week
- Later on
Straight answers
What secrets and credentials does mcp-guard redact?
mcp-guard strips AWS keys, GitHub/GitLab/npm/GCP tokens, Slack webhooks, Stripe keys, OpenAI/Anthropic keys, JWTs, PEM blocks, database URIs, and external PII using precedence-safe rules that preserve data integrity.
How does mcp-guard work with existing MCP servers?
mcp-guard wraps any existing stdio MCP server as a bidirectional proxy to scrub both outbound tool-call arguments and inbound JSON-RPC responses live. It can also scan Jira and Slack JSON exports in CI pipelines with non-zero exit codes on leaks.
What does mcp-guard's taint quarantine feature do?
The optional --taint-untrusted quarantine wrapping runs NFKC-normalized prompt-injection thresholds to detect or quarantine indirect prompt injections before data reaches AI coding tools.
What are the system requirements for running mcp-guard?
mcp-guard requires no external dependencies and runs directly on Node.js 20 or later. No API keys are needed to run the included multi-client audit demo.
mcp-guard has a free listing. The owner can unlock the full profile with a paid launch for $5:
- Founder story (locked)
- Milestones (locked)
- Demo video (locked)
- Dofollow website link: not on this free listing (its website link is nofollow)
More beasts
CloudFixAWS cost optimization software that finds and fixes cloud waste
ExcellentManage at agent speedTidal TelemetryLLM observability in one line of code