Skip to main content
Glama

πŸ›‘οΈ 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.

Version Zero Dependencies Benchmark License yepinggu66/mcp-sentry MCP server

πŸ“’ Important Notice (v2.0 vs. v3.0 Evolution): MCP-Sentry v2.0.0 was almost completely free. With the major evolutionary leap in MCP-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)

  1. βͺ 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!

  2. πŸ’° 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.

  3. 🧬 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.

  4. πŸͺ€ 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.

  5. πŸ“„ 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 (stdio + HTTP)

βœ… 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 ([EVAL])

βœ… Official Signed Commercial Seal

βœ… Custom Branded Compliance Seal

Commercial SaaS Redistribution & Master Keygen

❌ Prohibited

Single-Org Production Use

βœ… 100% Exclusive IP & Master Keygen


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 bench

3. 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 rollback

5. 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/ui

6. 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.html

Available Tools

3 tools
sentry_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

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    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.

    Naming Consistency3/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      15
      94 npm
      15
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP 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 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enforces runtime governance on AI agent actions β€” file access, command execution, delegation chains, and permission escalation.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP 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.
      2
      Apache 2.0