Thread Mind logo

Thread Mind

Git-backed MCP memory that organizes AI coding context into branching, inheritable thread summaries.

Install Thread Mind

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "thread-mind": {
      "command": "npx",
      "args": [
        "-y",
        "thread-mind-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio thread-mind -- npx -y thread-mind-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y thread-mind-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The thread-mind MCP server stores AI coding memory as Markdown summaries in a Git-friendly thread tree. It exposes tools for creating, switching, updating, merging, rebasing, and inspecting project threads, with context inherited from parent threads. Use it when coding sessions need durable decisions and constraints without carrying full conversation history into every new session. It runs over stdio and can associate threads with Git branches.

Use cases

  • Preserve coding decisions across new AI sessions
  • Branch exploratory implementation approaches
  • Reload inherited context after clearing a conversation
  • Review thread summaries with repository changes
  • Track AI context by Git branch

Key features

  • Git-friendly Markdown thread storage
  • Inherited context from ancestor threads
  • Project and thread lifecycle management
  • Git branch-linked thread selection
  • Context assembly with token estimates
  • Instruction-file generation for compatible agents

Tools14

What Thread Mind lets your agent do. Expand a tool for its parameters.

Verified live~1.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 68d

What it can do

From the 14 tools this server returned when we ran it; 14 declare their own safety hints.

Can delete or modify data · 3Read-only tools · 11
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age194 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · thread-mind-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads245Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed14Callable tools this server registers over MCP.

How Thread Mind works

What thread-mind MCP server does

The thread-mind MCP server gives AI coding sessions a persistent memory structure inside the repository. Each project contains a tree of threads, and each thread holds a Markdown summary organized around decisions, constraints, current state, open questions, and next steps.

Active context combines the current thread with selected information from its ancestors. Sibling branches remain outside that context, so an exploratory thread does not automatically add unrelated discussion to another line of work. Thread summaries can be committed and reviewed alongside code.

Projects and threads support separate workstreams. A thread can be marked done or abandoned, merged into its parent, deleted with its descendants, or moved to another parent. Threads may also be associated with Git branches, allowing branch-aware sessions and warnings when described files have changed.

How it works

The server stores its data in a .threadmind/ directory at the workspace root. It chooses that root from THREADMIND_ROOT, an MCP-advertised workspace root, or the directory from which the server starts. A client session has an active project and thread; new sessions can select a thread based on the checked-out Git branch.

The context_get tool assembles the active context and reports a token estimate. summary_update changes a complete summary or an individual section. thread_merge folds a completed child into its parent, while thread_rebase changes the child’s parent without deleting it.

Setup and configuration

Run the server directly with npx -y thread-mind-mcp, or install the npm package globally. The server uses the stdio transport, so each MCP client declares the command in its own configuration. Claude Code can add it with claude mcp add; other clients use their MCP configuration files.

For clients that do not read MCP server instructions, run threadmind_init to generate an AGENTS.md file. Clients that start the process outside the project or do not advertise a workspace should set THREADMIND_ROOT to the repository path. The Claude Code plugin additionally loads context after startup, /clear, and compaction, and provides commands, hooks, and status information.

Tools and capabilities

Available tools include:

  • project_create, project_list, and project_switch for project selection.
  • thread_create, thread_list, thread_switch, and thread_status for tree navigation and lifecycle changes.
  • thread_merge, thread_delete, and thread_rebase for restructuring threads.
  • summary_update and context_get for maintaining and retrieving inherited context.
  • threadmind_init for generating agent instruction files.
  • stats_show for summary sizes and, with the Claude Code plugin, measured conversation sizes.

The server is suited to coding workflows where decisions need to survive a new session, branches represent alternative approaches, or a team wants memory files included in pull requests.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Thread Mind

thread-mind is an MCP server that connects AI coding sessions to a Git-friendly Markdown thread tree in the repository and provides project, thread, summary, context, initialization, and statistics tools. It preserves decisions and constraints across sessions, supports branching and merging, and can follow Git branches when threads are linked to them.

Run `npx -y thread-mind-mcp` to start it without installation, or install it globally with `npm install -g thread-mind-mcp`. Then add the stdio command to your MCP client configuration. Claude Code also supports `claude mcp add`.

Yes, thread-mind works with Cursor over stdio. Configure `npx -y thread-mind-mcp` in `.cursor/mcp.json` or the user-level Cursor configuration. Because Cursor does not read the server’s usage instructions, run `threadmind_init` to create an `AGENTS.md` file.

ThreadMind stores project data in a `.threadmind/` directory at the workspace root. It first checks `THREADMIND_ROOT`, then MCP-advertised workspace roots, and finally the directory where the server was started.

Yes, the active thread’s assembled context can be retrieved after a conversation is cleared. The Claude Code plugin loads it automatically after `/clear` and compaction; other clients can use `context_get` when their agent requests the context.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewThread Mind AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/thread-mind?style=directory)](https://allmcps.com/mcp/thread-mind)
HTML Embed
<a href="https://allmcps.com/mcp/thread-mind"><img src="https://allmcps.com/api/badge/thread-mind?style=directory" alt="Thread Mind on AllMCPs" /></a>