In-depth architectural comparison of the Threadctx MCP and MCP Memory Gateway MCP servers. Compare execution transports, security boundaries, tool capabilities, quality scores, and ready-to-paste client installation snippets for Claude, Cursor, Windsurf, and VS Code.
At a Glance & Executive Verdict
Threadctx MCP
Knowledge & Memory · Local stdio
Quality: 57/100 (Good) | Auth: API Key required
MCP Memory Gateway
Knowledge & Memory · Local stdio
Quality: 59/100 (Good) | Auth: No auth required
Verdict Summary: Choose Threadctx MCP if you need specialized Knowledge & Memory tools running via a local process. Choose MCP Memory Gateway if your workspace requires Knowledge & Memory integration with local subprocess execution. Both servers can be configured concurrently in your client's mcpServers manifest.
Which MCP Server Should You Choose?
Choose Threadctx MCP when:
You need dedicated capabilities in the Knowledge & Memory domain.
You prefer local stdio subprocess transport architecture.
Your security boundary fits: API Key required (Freemium).
You have access to required keys: THREADCTX_API_KEY, THREADCTX_MODE, THREADCTX_NO_AUTO_RULES.
Shared team memory for AI coding agents. Decisions, fixes, and gotchas persist per repo and are shared across Claude Code, Cursor, and any MCP client — what one teammate's agent learns, everyone's agents remember. Local-first, zero-dependency. npx -y threadctx-mcp
Pre-action gates that prevent AI coding agents from repeating known mistakes. Captures explicit feedback, auto-promotes failures into prevention rules, and enforces them via hooks.
Category & Scope
Tools & Capabilities Breakdown
Threadctx MCP Tools (2)
memory_write
Store a learning, decision, fix, or gotcha for this repository so other agents and teammates can find it later. Call this whenever you resolve a non-obvious bug, make an architectural decision, or discover something that would save someone time in the future.
memory_query
Retrieve relevant past learnings, fixes, decisions, or gotchas from the team's shared memory before starting risky or repeated work — e.g. touching a service that has caused incidents before, or implementing something similar to past work. Call this before, not after.
MCP Memory Gateway Tools (6)
PreToolUse and pre-action checks
Stdio MCP gate_check capability
Local feedback and lesson capture
Ready-to-Paste Client Configurations
Paste either (or both) of these JSON server blocks into your client config file (e.g. claude_desktop_config.json or ~/.cursor/mcp.json).
Threadctx MCP is categorized under Knowledge & Memory and uses a local stdio subprocess. In contrast, MCP Memory Gateway belongs to Knowledge & Memory using local stdio subprocess. Select Threadctx MCP when you need capabilities focused on knowledge & memory and MCP Memory Gateway when you require tools for knowledge & memory.