Mcp Memory Gateway
@IgorGanapolsky
About Mcp Memory Gateway
MCP Memory Gateway is a pre-action gate engine for AI coding agents. Unlike memory servers that store and retrieve context (Mem0, Zep), this server enforces behavior change: repeated failures are auto-promoted into prevention rules, and PreToolUse hooks physically block tool call
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-memory-gateway": {
"command": "npx",
"args": [
"-y",
"mcp-memory-gateway",
"serve"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Mcp Memory Gateway?
Mcp Memory Gateway is a pre-action gate engine for AI coding agents. Unlike memory servers that store and retrieve context, it enforces behavior change by auto-promoting repeated failures into prevention rules and physically blocking tool calls that match known failure patterns before they execute. It captures structured up/down feedback, validates against a rubric engine, promotes to searchable JSONL and LanceDB vector memory, and recalls relevant context at session start.
How to use Mcp Memory Gateway?
Install with npx mcp-memory-gateway init. It works with Claude Code, Codex, Gemini, Amp, Cursor, and any MCP-compatible agent. No further configuration or invocation details are provided in the README.
Key features of Mcp Memory Gateway
- Pre-action gate engine blocks tool calls before they execute.
- Repeated failures auto-promote into prevention rules.
- Captures structured up/down feedback with rubric validation.
- Promotes validated feedback to searchable JSONL and LanceDB vector memory.
- Recalls relevant context at session start.
- Works with Claude Code, Codex, Gemini, Amp, and Cursor.
Use cases of Mcp Memory Gateway
- Preventing AI agents from repeating known mistakes during coding sessions.
- Enforcing behavior change by physically blocking harmful tool calls.
- Curating high-quality feedback signals through rubric validation.
- Recalling past failure patterns at the start of a new session.
FAQ from Mcp Memory Gateway
What differentiates Mcp Memory Gateway from other memory servers like Mem0 or Zep?
Mcp Memory Gateway is a pre-action gate engine that enforces behavior change by blocking tool calls that match known failure patterns, rather than simply storing and retrieving context.
What runtime or dependencies does Mcp Memory Gateway require?
The README does not specify runtime or dependencies beyond being installable via npx mcp-memory-gateway init.
Where is memory data stored?
Memory is stored in searchable JSONL files and LanceDB vector memory.
What agents or clients are compatible with Mcp Memory Gateway?
It works with Claude Code, Codex, Gemini, Amp, Cursor, and any MCP-compatible agent.
Does Mcp Memory Gateway support feedback validation?
Yes, it captures structured up/down feedback and validates it against a rubric engine, rejecting vague signals.
More Memory & Knowledge MCP servers
Semantic Scholar MCP Server
YUZongminA FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
MemoryMesh
CheMiguel23A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN

Memory
modelcontextprotocolModel Context Protocol Servers
Comments