Threadctx MCP server
io.github.threadctx-dev/threadctx-mcp·v0.5.0·1 starsShared memory MCP server for AI coding agents — local by default, team-shared via threadctx.dev.
1 stars51 downloads/wk
Reviews
Write oneNobody has reviewed Threadctx yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Threadctx tools (2, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
memory_queryRetrieve relevant past learnings, fixes, decisions, or gotchas from the team's shared
memory_writewrite actionStore a learning, decision, fix, or gotcha for this repository so other agents and
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 58 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Threadctx compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 50%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 51
- more than 43% of 12,191 servers with a package
What its tools let an agent do: 1 read · 1 change
Install Threadctx in Claude Code, Cursor or VS Code
Runs npx -y threadctx-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add threadctx-mcp -- npx -y threadctx-mcp
What the publisher says
From the Threadctx repository's README, as published. We do not edit it. Read it on GitHub
threadctx-mcp
Shared memory MCP server for AI coding agents. Works identically with Claude Code, Cursor, and any MCP client — same package, same config shape, no per-client integration work. On first start it also drops a "check team memory" instruction into whichever agents' rule files your repo uses (AGENTS.md, CLAUDE.md, Copilot, Windsurf, Cline, Gemini) so the memory actually gets read, not just exposed.
This repo runs on itself: its own AGENTS.md and CLAUDE.md were set up
with npx threadctx-mcp init, the same command you'd run — check the git
history if you want to see it happen.
Modes
at ~/.threadctx/local.json — zero native dependencies, so npx threadctx-mcp installs instantly on any machine with Node 18+ (no compiler, no node-gyp step). No network calls except to whichever LLM provider your agent already uses. Matching is keyword-based, scoped to the current repo (detected via git remote). Run npx threadctx-mcp list any time to see exactly what your agents have stored.
- Local (default, free, no signup): memory stored as a plain JSON file
with real semantic search. Requires an API key from threadctx.dev (or your own self-hosted deployment — see ../cloud/README.md).
- Cloud (paid Team tier+): memory shared across everyone on the repo,
Quick start
# Local mode — nothing to configure. Also auto-adds the "check team memory"
# instruction to your agents' rule files (AGENTS.md, CLAUDE.md, and any
# detected tool-specific files) on first start.
npx threadctx-mcp
# Set a repo up for your whole team (run once, commit the results)
npx threadctx-mcp init
# Cloud mode — shared team memory via threadctx.dev
npx threadctx-mcp init --mode=cloud --api-key=tctx_xxx
# Joining a repo a teammate already set up? One command:
npx threadctx-mcp join
# See what your agents have written to this machine
npx threadctx-mcp list # this repo
npx threadctx-mcp list --all # every repoinit writes three committable, secret-free files: .threadctx.json (just { "mode": ... }), .mcp.json (Claude Code project config), and .cursor/mcp.json (Cursor project config). Commit all three — every teammate who then opens the repo in Claude Code or Cursor is prompted to enable threadctx automatically, with nothing to install or configure. Teammates on other MCP clients run npx threadctx-mcp join, which sets up their machine the same way and prints the config block for their client.
Your API key never appears in any committed file. It is read from the THREADCTXAPIKEY environment variable at runtime (export it in your shell profile), so secrets stay out of version control by construction.
threadctx also adds a small, clearly-marked instruction to your project rules telling the agent to call memoryquery before a task and memorywrite after. It writes the two universal files every time — AGENTS.md (the cross-tool standard read by Copilot, Cursor, Windsurf, Zed, Codex, Aider, and ~24 others) and CLAUDE.md (Claude Code's richer native format) — plus .cursor/rules/threadctx.mdc. It then adds a tool-specific file only when that tool's footprint is detected in the repo, so it never litters your project with rule files for tools you don't use:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Threadctx: common questions
- Is Threadctx MCP server safe?
- Mostly: it is graded B (75/100). Read the Threadctx safety report
- How do I install Threadctx?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Threadctx need an API key?
- Yes. The registry entry asks for
THREADCTX_API_KEY. - Is Threadctx maintained?
- The last commit was 98 days ago (2026-07-29). The latest release is v0.5.0.
- What can I use instead of Threadctx?
- Servers from other publishers that do the same job: Deja Vu MCP server, Concord MCP server and Claudexor MCP server.
- How does Threadctx compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 50% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Threadctx
Same job from other publishers: the closest match first, then the best rated.
- Deja Vudeja-vu: local memory over the session histories of forty-three coding agents.not reviewedEstablishedA
- Concord MCPCross-harness communication and shared work-state for AI coding agents.not reviewedEstablishedA
- ClaudexorRoute coding work across Claude Code, Codex, Cursor, and OpenCode with shared context.not reviewedEstablishedA