mcp-sentry
π‘οΈ MCP-Sentry v3.0 β Self-Evolving Security Gateway, Time-Machine Rollback & USD Budget Crusher for MCP
Zero external dependencies. Sub-millisecond latency (0.031 ms avg). Bidirectional JSON-RPC 2.0 firewall, 1-click Time-Machine file rollback, real-time USD Token Diet compressor, and Self-Evolving Behavioral Immunity for Claude Code, Cursor, Windsurf & Enterprise MCP fleets.
π’ Important Notice (v2.0 vs. v3.0 Evolution):
MCP-Sentry v2.0.0was almost completely free. With the major evolutionary leap inMCP-Sentry v3.0.0(1-Click Time-Machine File Rollback, Smart USD Token Diet, Self-Evolving Behavioral Immunity & Signed SOC2 Compliance Dossiers), all evolutionary production features are strictly commercial and require a paid Pro License ($49) or the $30,000 Full IP & Master Keygen Buyout.
π What's New in v3.0 (Why Developers & Enterprises Upgrade)
βͺ ShadowVault Time-Machine (
mcp-sentry rollback)Automatically captures 0.1ms content-addressed delta snapshots before any mutating MCP tool (
write_file,edit_file,delete_file,patch) modifies your codebase.Did an AI agent hallucinate, corrupt 6 files, or break an uncommitted workspace? Run
mcp-sentry rollback(or click βͺ 1-Click Time-Machine Rollback in the Live Web UI) to restore every file to its exact pre-agent byte state in 1 second!
π° Real-Time USD Budget Crusher & Smart Payload Diet (
TokenDietEngine)Calculates real-time token & USD burn across both requests and bloated MCP responses (
max_session_usd: 5.00).Smart Payload Diet: Automatically trims massive 100KB+ JSON/log dumps from MCP tools down to high-signal head+tail context before they enter your LLM window β saving 50%β80% on daily Claude / OpenAI API bills.
𧬠Self-Evolving Behavioral Immunity (
AdaptiveImmunityEngine)Every time an attack is blocked or an operator clicks DENY on the Human-in-the-Loop dashboard, MCP-Sentry extracts the AST/payload skeleton and synthesizes a new Immunity Gene (
GENE-XXXXXXXX), automatically immunizing your gateway against mutated follow-up attempts.
πͺ€ Active Canary Honeypot Trap (
CanaryHoneypot)Mints watermarked decoy credentials (
sk-proj-SENTRYCANARY...,AKIASENTRY...) to bait untrusted MCP servers. Any outbound tool attempting to exfiltrate a canary token is caught with 0% false positives and permanently quarantined.
π Cryptographic SOC2 / EU AI Act Compliance Dossier Exporter (
mcp-sentry audit --export-soc2 report.html)Exports a self-contained, SHA-256 hash-chained & HMAC-signed HTML compliance report for security audits.
Related MCP server: guardrails-mcp-server
π Community vs. Pro ($49) vs. Full IP Buyout ($30,000)
Capability | Community (Free Eval) | β‘ Developer Pro ($49 One-Time) | ποΈ Enterprise / Full IP Buyout ($30,000) |
24-Vector OWASP MCP Threat Firewall ( | β Unlimited | β Unlimited | β Unlimited + White-Label IP |
βͺ ShadowVault Time-Machine File Rollback | 1 file / session (Eval) | β Unlimited Files & Sessions | β Unlimited + Fleet Sync |
π° Smart Payload Diet (Saves 50%β80% API USD) | 3 compressions / session | β Unlimited Auto-Diet & USD Cap | β Unlimited + Cost Telemetry |
𧬠Self-Evolving Behavioral Immunity Genome | 3 in-memory genes / session | β Persistent Genome + 65-Rule Enterprise Pack | β Master Genome Vault + Signer |
π SOC2 / EU AI Act HTML Audit Certificate | Watermarked ( | β Official Signed Commercial Seal | β Custom Branded Compliance Seal |
Commercial SaaS Redistribution & Master Keygen | β Prohibited | Single-Org Production Use | β 100% Exclusive IP & Master Keygen |
π Unlock Developer Pro ($49 One-Time β Pays for itself in 1 week of saved Claude API tokens): Instant PayPal Checkout
π Acquire Full Turnkey IP & Master Keygen Vault ($30,000): AgentWall M&A Sandbox & Console or email yepinggu6@gmail.com
Quick Start
1. Install
git clone https://github.com/yepinggu66/mcp-sentry.git
cd mcp-sentry
pip install -e .2. Check Evolutionary Status & Run 24-Vector Benchmark
mcp-sentry status
mcp-sentry bench3. Wrap Any MCP Server in Cursor / Claude Desktop (mcp.json)
{
"mcpServers": {
"filesystem-guarded": {
"command": "mcp-sentry",
"args": ["wrap", "--policy", "sentry.yaml", "--", "npx", "-y", "@modelcontextprotocol/server-filesystem", "."]
}
}
}4. Instant Time-Machine Rollback When an AI Agent Breaks Your Code
mcp-sentry rollback5. Run HTTP Reverse Proxy + Live Firewall, Time-Machine & HITL Console
mcp-sentry init
mcp-sentry proxy --upstream http://127.0.0.1:9000/mcp --port 8787 --policy sentry.yaml
# Open http://127.0.0.1:8787/sentry/ui6. Activate Your Pro / Enterprise License Key & Export Signed SOC2 Report
mcp-sentry activate SENTRY-V3-PRO-PERPETUAL-YOURNAME-XXXXXXXXXXXXXXXX
mcp-sentry audit --verify --export-soc2 soc2_compliance_certificate.htmlAvailable Tools
3 toolssentry_audit_payloadB
Audit an AI agent tool call or payload against 24 OWASP MCP threat vectors (path traversal, DLP secret leaks, destructive commands, prompt injection, rug-pulls).
Inputs: arguments (required), tool_name (required).
sentry_shadowvault_queryA
Query ShadowVault 1-click Time-Machine snapshots and file modifications tracked during the current AI agent session.
Inputs: session_id.
sentry_statusA
Inspect MCP-Sentry active zero-trust security policies, budget limiter, ShadowVault time-machine status, and runtime threat statistics.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: payload threat auditing, ShadowVault snapshot/modification querying, and runtime policy/status inspection. The slight mention of ShadowVault status inside sentry_status does not meaningfully blur its boundary with sentry_shadowvault_query.
All tools share the sentry_ prefix and snake_case formatting, which helps readability. However, the suffixes mix patterns: verb_noun in audit_payload, entity_action in shadowvault_query, and a bare noun in status.
Three tools map cleanly to the server's core capabilities: audit, query, and status. The set is tightly scoped with no redundant or filler tools.
The server supports detection/audit, forensic querying, and status inspection, but it lacks tools for configuring policies, managing the budget limiter, or restoring/remediating snapshot changes. Agents can observe and audit but cannot act on findings, leaving notable lifecycle gaps.
Maintenance
Related MCP Connectors
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.1594 npm15Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for AI agent security guardrails. Provides input validation, prompt injection detection, PII redaction, output filtering, policy enforcement, rate limiting, and comprehensive audit logging.111 npm1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enforces runtime governance on AI agent actions β file access, command execution, delegation chains, and permission escalation.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that provides runtime defense for AI agents, protecting against prompt injection, data exfiltration, and other adversarial attacks through a ranked pipeline of up to 36 inline defenses and 3 output scanners.2Apache 2.0