AgentWall (MCP-Sentry)
Zero-dependency pure Python security firewall, tool-poisoning guard, .env secret DLP, token-burn circuit breaker, and 1-second file rollback proxy for Claude Code, Cursor & Windsurf MCP servers.
Documentation
π‘οΈ 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).
π 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 rollbackrestores 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
| Feature | Community (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 | β | β | β |
- π Get Developer Pro ($49 One-Time via PayPal)
- π§ Team / Enterprise Licensing:
yepinggu6@gmail.com