AgentWall (MCP-Sentry)

Claude Code, Cursor और Windsurf MCP सर्वरों के लिए शून्य-निर्भरता वाला शुद्ध Python सुरक्षा फ़ायरवॉल, टूल-पॉइज़निंग गार्ड, .env सीक्रेट DLP, टोकन-बर्न सर्किट ब्रेकर और 1-सेकंड फ़ाइल रोलबैक प्रॉक्सी।

दस्तावेज़

🛡️ AgentWall (MCP-Sentry v3.0)

Zero-dependency, sub-millisecond security firewall, token-burn circuit breaker, and 1-second file rollback for MCP agents (Claude Code, Cursor, Windsurf).

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

🌐 Live Attack Simulator · ⚡ Unlock Developer Pro ($49 One-Time) · 🏆 Security Challenge


Why AgentWall?

Giving coding agents local shell, database, and third-party MCP server access is powerful—until a poisoned tool description leaks your .env, an infinite retry loop burns $300 in API tokens overnight, or a hallucinated command wipes your repo.

AgentWall wraps any stdio or HTTP MCP server with zero external dependencies and 0.031 ms average latency:

  • Tool Poisoning & Rug-Pull Protection: Blocks hidden <IMPORTANT> prompt injections, zero-width Unicode payloads, and mid-session schema mutations via SHA-256 hash-locking.
  • Zero-Token Dead-Loop Circuit Breaker: Structural AST fingerprinting stops runaway retry loops automatically without spending a single LLM token.
  • In-Flight Secret DLP: Masks OpenAI, Anthropic, AWS, GitHub PATs, private keys, and DB URIs before egress.
  • 1-Second Time-Machine Rollback (Pro): ShadowVault snapshots files before agent mutations so mcp-sentry rollback restores corrupted files instantly.
  • Smart USD Token Diet (Pro): Compresses bloated MCP tool responses on the fly to cut redundant token bills by 60%+.
  • HITL Approval Webhooks & Audit Ledger (Pro): Approve risky tool calls from Slack/Discord with a tamper-evident SHA-256 audit trail.

Quick Start (30 Seconds)

git clone https://github.com/yepinggu66/mcp-sentry.git
cd mcp-sentry

# Run the built-in 30-vector red-team benchmark locally
python -m mcp_sentry bench

Wrap any MCP server in your claude_desktop_config.json or .cursor/mcp.json:

{
  "mcpServers": {
    "filesystem-guarded": {
      "command": "mcp-sentry",
      "args": ["--", "npx", "-y", "@modelcontextprotocol/server-filesystem", "./"]
    }
  }
}

Community (MIT) vs. Developer Pro

FeatureCommunity (MIT — Free)Developer Pro ($49 One-Time)Team ($299/yr)
Zero-dependency Python stdio/HTTP Firewall✅✅✅
Tool Poisoning & Rug-Pull Hash-Lock✅✅✅
Dead-Loop Circuit Breaker & .env DLP✅✅✅
30-Vector Red-Team Benchmark (bench)✅✅✅
1-Second ShadowVault File Rollback—✅✅
Smart USD Token Diet (60%+ Compression)—✅✅
Self-Evolving AST Immunity & Canary Honeypot—✅✅
Slack / Discord HITL Approval Webhooks—✅✅
Signed SOC2 Audit Dossiers & 15 Seats——✅