This package is deprecated. mcp-memory-gateway is marked deprecated on npm by its publisher. See 4 alternatives.
MCP Memory Gateway
io.github.IgorGanapolsky · Updated
Pre-action gates that block AI agents from repeating known mistakes.
At a glance
MCP Memory Gateway is an MCP server in the AI & Memory category. It runs locally over stdio via `npx -y mcp-memory-gateway`, and declares no required credentials. It scores C (43/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install MCP Memory Gateway in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install MCP Memory Gateway in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add mcp-memory-gateway -- npx -y mcp-memory-gatewayVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes. It discovers them automatically.
How to install MCP Memory Gateway in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "mcp-memory-gateway": { "command": "npx", "args": [ "-y", "mcp-memory-gateway" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install MCP Memory Gateway in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "mcp-memory-gateway": { "command": "npx", "args": [ "-y", "mcp-memory-gateway" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install MCP Memory Gateway in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.mcp-memory-gateway] command = "npx" args = ["-y", "mcp-memory-gateway"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install MCP Memory Gateway in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "mcp-memory-gateway": { "command": "npx", "args": [ "-y", "mcp-memory-gateway" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install MCP Memory Gateway in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "mcp-memory-gateway": { "command": "npx", "args": [ "-y", "mcp-memory-gateway" ] } } }
How to install MCP Memory Gateway in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "mcp-memory-gateway": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-memory-gateway" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does MCP Memory Gateway expose?
This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.
What the code can do
Read from the published package source — never executed. Parsed 80 of 245 source files.
This server can run other programs on your machine, read and write files and make network requests.
How it was published
- Runs postinstall on install — this executes when you install the package, before you deliberately run anything.
- No provenance attestation — there is nothing linking this published artifact to a specific source commit.
- 1 npm maintainer — a single point of compromise · last published by igorganapolsky.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- mcp-memory-gateway is deprecated — The publisher has marked this package deprecated on npm.
Client compatibility
Health score
C · 43Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%not measurable
No commit history available.
- Adoption20%not measurable
No usage data available.
- Transparency20%50%
2/4: ✓ public source repo, ✗ declared license, ✓ documentation, ✗ discoverable tool list.
- Provenance15%75%
Links to its own repository; package linkage unverified.
- Packaging15%0%
Package is deprecated.
Documentation
Full READMEThumbGate 👍 👎
<b>ThumbGate is the self-improving pre-action firewall for AI coding agents</b> AI coding agents repeat mistakes — and one wrong tool call can wipe a directory, leak a key, or push broken code.
What it does
ThumbGate is the local-first Pre-Action Checks engine for AI coding agents. It runs in the PreToolUse hook to evaluate the proposed tool call before execution — so costly mistakes can be caught before they happen.
ThumbGate GitHub star growth is measured with GitHub's privacy-safe `GET /repos/{owner}/{repo}/stargazers/history` endpoint (weekly counts, no stargazer identities). Run npm run stars:history -- --fixture tests/fixtures/github-star-history.json --json for the local proof. Stars are not npm installs and not revenue. The live GitHub Marketplace Action is ThumbGate Agent Governance (uses: IgorGanapolsky/ThumbGate@v1).
Usage over star count. Evaluate ThumbGate from the install path and live usage badges above (npx thumbgate init, Marketplace uses:, npm weekly downloads, GitHub clones), not from whether the repo has twenty stars or twenty thousand. No pitch deck is required. We do not farm GitHub profile badges (no YOLO-merge of protected main, no 5-minute Issue close theater, no fake Co-authored-by). Galaxy Brain needs real accepted answers in Discussions Q&A. npm run github:achievements -- --fixture tests/fixtures/github-achievements.json --json inventories what is already earned vs what we refuse to farm.
Who it's for
ThumbGate is for operators whose AI coding agents can leak a secret or destroy a checkout before a human sees the tool call (Claude Code, Cursor, Codex, Gemini CLI, MCP). Discovery should reach those operators — not a star campaign.
ThumbGate is not a GitHub star package, not fake engagement, and not a substitute for npm installs or merged PRs. Real engagement is npx thumbgate init and a PreToolUse hook that actually fires.
Tech memes (shareable)
Lightweight visuals for how agents fail without a pre-action gate:
| Meme | Meaning | |------|---------| | !Agent destroys prod without a gate | Unchecked tool calls ship destructive commands. | | !Prompt vs PreToolUse hook | A prompt is advice; a PreToolUse hook is enforcement. |
It hard-blocks detected secret leaks and two direct self-disable command classes by default — commands that terminate the ThumbGate gate process or enable its bypass environment override. Other high-risk classes (rm -rf, force-push, fetch-and-run, direct guardrail edits) warn and log by default. Set THUMBGATE_STRICT_ENFORCEMENT=1 for strict enforcement (warnings become hard denies).
Excerpt — the full document is on GitHub.
Alternatives to MCP Memory Gateway
- Cairn.ink MemoryA · 80Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
- hmem — Humanlike Memory for AI AgentsA · 85Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
- Cathedral — Persistent Memory for AI AgentsB · 73Persistent memory and drift detection for AI agents across session restarts.
- nlqdb — analytical memory for AI agentsB · 70Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Maintain MCP Memory Gateway? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-igorganapolsky-mcp-memory-gateway)Catalog data refreshed . Something wrong? Report it.