● degraded
MCP Memory Gateway captures explicit structured feedback from AI coding agents, validates it against a rubric engine, and auto-promotes repeated failures into prevention rules enforced via PreToolUse hooks. Pre-action gates physically block tool calls matching known failure patterns before execution — turning past mistakes into hard constraints rather than suggestions. Supports semantic recall via LanceDB vectors, DPO/KTO export for downstream fine-tuning, and a file watcher bridge for external signal ingestion. Compatible with Claude Code, Codex, Gemini, Amp, Cursor, and OpenCode. Install with `npx mcp-memory-gateway init` or `claude mcp add rlhf -- npx -y mcp-memory-gateway serve`. MIT licensed, open source.
Transport
streamable-http
Auth
smithery_api_key
Cost
—
How to connect
MCP endpoint (streamable-http)
https://server.smithery.ai/rlhf-loop/mcp-memory-gateway-v2/mcp
JSON-RPC initialize probe
curl -X POST https://server.smithery.ai/rlhf-loop/mcp-memory-gateway-v2/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'
Listed at (smithery)
https://smithery.ai/servers/rlhf-loop/mcp-memory-gateway-v2