
MCP Memory Gateway
Deterministic pre-action governance for AI agents that blocks repeated mistakes before they execute. Hooks into PreToolUse to intercept risky commands like force pushes or destructive file operations, matching them against prevention rules built from your own thumbs-down feedback. Works with Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, and OpenCode. The core mechanic is simple: agent tries a bad action, you reject it once, ThumbGate blocks it permanently in future sessions before any tokens are spent. Also generates a versioned BRAIN.md artifact that consolidates lessons, guardrails, and gates into agent-readable context. Useful when you're paying per-token for frontier models and tired of debugging the same hallucinated function calls or policy violations across sessions.
- GitHub stars
- 23
- transport
- STDIO
- last updated
- Mar 21, 2026
Sponsors
Readme
ThumbGate π π
ThumbGate Infrastructure Firewall with Thumbs Up and Thumbs Down
ThumbGate is the self-improving pre-action firewall for AI coding agents
AI coding agents repeat mistakes β and one wrong tool call can wipe a directory, leak a key, or push broken code.
Details
- Repository
- github.com/igorganapolsky/mcp-memory-gateway
- Website
- rlhf-feedback-loop-production.up.railway.app
- Category
- AI & LLM Tools
- Package
mcp-memory-gateway- Transport
- STDIO
- Registry
- MCP registry, active