monaa-guard
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
monaa-guard
Stop Claude Code, Cursor & Antigravity from burning $20 reading node_modules, leaking .env, or drifting mid-build.
Cut local MCP token bloat 40%–65% free forever—or unlock 17.8x KV-cache compression in the cloud.

1-Line Install
curl -fsSL https://raw.githubusercontent.com/monaa-research/monaa-guard/main/install.sh | shOr paste this repo URL directly into Cursor / Claude Code / Antigravity chat:
Install and set up https://github.com/monaa-research/monaa-guard in this project using install.sh, wrap our MCP servers with monaa-guard proxy, and run monaa-guard doctor.What happens in ~10 seconds:
Downloads the SHA-256 verified Rust binary (
v0.1.0) for macOS or Linux (x86_64/arm64, zero Python dependencies).Wires
.mcp.jsonto proxy MCP tools throughmonaa-guard—your LLM API keys stay100%on your machine (0keys transmitted).Blocks
.envreads,rm -rf, symlink escapes, and reverse-engineering attempts in27 µslocally before any tool executes.
monaa-guard init "Real-time invoice schema validator CLI" # Create SPEC.md, TASKS.md, SKILL.md, & .mcp.json
monaa-guard savings # Print your token savings card + share badge
monaa-guard doctor # Benchmark local latency (<50 us) & key custodyRelated MCP server: aperion-shield
Before vs. After (Real Audited Billing Proof)
On 190.37M+ audited input tokens, deterministic prompt/prefix alignment drops billed input cost from $22.31 -> $1.25 ($0.1172 -> $0.0066 per 1M tokens, 17.8x cheaper):
What Changes | Unprotected Coding Agent |
|
|
Token Bloat ( | Full raw dump into context | 40%–65% smaller locally (unlimited, free forever) | Stacks 17.8x KV-cache alignment on top |
Bill on 190.37M Tokens ( |
|
|
|
| Depends on prompt luck | Blocked in | Blocked + signed execution audit trail |
Mid-Build Tool / Schema Drift | Silent tool/schema changes | Shared | Strict post-handshake schema pinning |
LLM API Key Custody | Depends on proxy | 100% local ( | 100% BYOK ( |

Track Every Dollar Locally (monaa-guard savings)
+----------------------------------------------------------------------+
| monaa-guard // Free Local Token Compactor & 27 us Wire Shield |
+----------------------------------------------------------------------+
| Responses Compacted : 142 |
| Tokens Saved Local : 1,840,200 |
| Payload Reduction : 54% |
| Bloat / Loops Cut : 9,410 bloat lines · 312 echoes |
| Est. Local Savings : $0.22 |
| Extra Cloud Waiting : $20.35 (17.8x KV-Cache Multiplier) |
+----------------------------------------------------------------------+Start Your Free 7-Day 17.8x Cloud Trial
The local token compactor & 27 µs firewall stay free and unlimited forever (zero daily caps, zero credit card). When you want the 17.8x cloud KV-cache compression, strict schema pinning, and Day-1 priority on the upcoming MONAA Native AI Model:
monaa-guard trial <you@company.com> --github <your_github_username>Or claim your pass visually at monaa.tech/guard!
No wasted clock: Your 7 full days begin only on your first cloud request—claiming early burns zero time.
No surprise lockouts: After Day 7,
monaa-guardcleanly keeps your unlimited free local compactor &27 µsshield active.Launch pricing when you upgrade (through Dec 31, 2026):
₹9for 30 days in India (manual UPI/card, strictly no AutoPay) ->₹999/ 30d; or$3.90Month 1 globally ->$30/mo($306/yr).
Connect Any IDE or Terminal Agent
Claude Code:
claude mcp add guarded-tools -- monaa-guard proxy --upstream "npx -y @modelcontextprotocol/server-filesystem ."Cursor / VS Code / Antigravity (
.mcp.json):{"mcpServers":{"guarded-tools":{"command":"monaa-guard","args":["proxy","--upstream","npx -y @modelcontextprotocol/server-filesystem ."]}}}Agent guides: See AGENTS.md and CLAUDE.md. Built in Pure Safe Rust (
#![forbid(unsafe_code)],#![deny(clippy::unwrap_used)],#![deny(clippy::expect_used)]).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Autonomous agent guardrails, bash sandboxing, MCP rugpull diffing & prompt firewalls.
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Formally-verified injection/exfiltration detector for AI agents (MCP-02).
44 MCP tools: Rust compute, SMT policies, 2D/3D packing, scheduling, interval proofs & receipts.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that vets LLM-emitted shell commands BEFORE execution — detects rm -rf nested deep in chains, package-manager glob removal (apt remove 'nvidia'), dd/mkfs filesystem destruction, chmod 777 / chown -R privilege blast, network-exfil via curl | bash, chained shutdown/reboot, git destructive ops. 30 detection rules across 8 families. Sub-second, local, free, MCP-native.3MIT

aperion-shieldofficial
AlicenseAqualityBmaintenanceLocal guardrails for AI coding agents. Checks each tool call from Claude Code, Cursor, Codex and MCP servers, and stops or asks before destructive ones run (DROP TABLE, rm -rf, force-push, unscoped UPDATE/DELETE). Free, runs on your machine, source-available under the Elastic License 2.0.1613Elastic 2.0- AlicenseAqualityAmaintenanceDependency-free, locally sandboxed MCP stdio server. Tools run as WASM inside a capability-based WASI sandbox (wasmtime); every tools/call is attested with cost/policy and signed manifests fail-closed.3137 PyPI48Business Source 1.1
- FlicenseNot gradedqualityNot gradedmaintenanceEnables MCP-compatible clients and autonomous agents to dynamically compress long-horizon context by pruning verbose tool outputs, HTML boilerplate, and semantic redundancy by 40-70%. It reduces token burn and latency through deterministic, zero-dependency processing.-