Back to Browse

Coldstart MCP Server

Developer Tools5.2Moderate riskMCP RegistryLocal
Free

Server data from the Official MCP Registry

Codebase memory for AI agents: an AST index plus agent-written notes that self-stale.

About

Codebase memory for AI agents: an AST index plus agent-written notes that self-stale.

At a glance

Runs
On your computer, from the npm package @cstart/coldstart, which we verified belongs to this listing.
Works with
Claude Desktop, Claude Code, Grok Build (formerly Cursor), Windsurf, VS Code, Codex, Antigravity CLI, Gemini CLI, ChatGPT.
Can access
  • Connects to services on the internet
  • Reads files on your computer
  • Writes or changes files on your computer

Security report

How we score
5.2out of 10Moderate riskMCP Marketplace security score

Critical: Uses an outdated component (vitest) with a known security hole

coldstart is a well-architected MCP server for codebase navigation and agent memory with strong security practices. The code is well-structured with appropriate permission scoping for its purpose (file indexing, navigation, notebook management). No authentication is required — which is appropriate for a local development tool — and no credential handling, exfiltration, or dangerous patterns were detected. Minor code quality observations around error handling and logging do not materially impact security. Supply chain analysis found 7 known vulnerabilities in dependencies (2 critical, 1 high severity). Package verification found 1 issue.

4 files analyzed · 12 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "coldstart": {
      "command": "npx",
      "args": [
        "-y",
        "@cstart/coldstart@2.2.17"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

An agent that opens an unfamiliar repo spends its first turns guessing: grep for a word, read three wrong files, grep again. Most of the tokens in a session go there, not into the actual change. coldstart gives the agent a mental model of the codebase up front, so it starts from the right files and what is already known about them.

How it helps, in three moments

When you type a prompt. Before the agent makes its first tool call, coldstart puts the notes that match your prompt in front of it (what those files are for, how the flow through them works, what to watch out for), plus the code files that match, when the local embedding model is installed. It does this on the first prompt of a session, after a compaction, and whenever you change topic. On a follow-up it adds at most a one-line hint, and on a short "yes, go ahead" it stays quiet.

While the agent works. When the agent starts going in circles (a third grep in a row, a search that came back empty, the same file sliced again and again), coldstart nudges it toward the faster move: ask the notebook a question, open the file it already found, or stop and answer. When an edit lands, it names the files that git history says usually change together with it, so the sibling file or the matching test doesn't get forgotten.

When the task is done. The agent writes down what it learned as notes in the repo's notebook, so the next session starts where this one finished. Every note is tied to the files it describes. When those files change, the note is flagged as possibly out of date instead of being served as fact.

flowchart LR
    P["you type a prompt"] --> R["recall<br/>matching notes + files"]
    R --> A["agent works"]
    A -->|"going in circles / edit lands"| N["nudges<br/>ask the notebook, open the file,<br/>files edited together"]
    N --> A
    A -->|"task done"| C["capture<br/>agent writes notes"]
    C --> NB[("notebook<br/>notes tied to files")]
    NB --> R
    K["background keeper<br/>keeps the index current,<br/>flags notes whose files changed"] --> NB
    K --> R
    classDef cold stroke:#16708f,stroke-width:2px
    class R,N,C cold

Everything runs on your machine: no API key, no hosted service, no LLM calls from coldstart itself. Ranking a prompt against notes and files uses a small local embedding model that init offers to install; without it, coldstart falls back to keyword matching.


Get started

Requires Node.js 18+.

npm install -g @cstart/coldstart
cd your-project
coldstart init

init asks which client you use (Claude Code, Codex, Cursor, or other), whether your agent reaches coldstart through the shell or MCP, and whether to install the local embedding model (recommended). It then writes the agent guidance where your client reads it, wires the hooks, creates the notebook, and indexes the repo, so the first prompt is already served.

Seed the notebook

A new notebook is empty, so recall has nothing to show until agents have done some work. To have notes from the first question, run the seed skill once in your agent:

ClientRun
Claude Code/seed-notes
Codex$seed-notes
Cursor/seed-notes

The agent maps the repo's main mechanisms, sends subagents to trace each one, and writes notes for the files that matter, the flows that connect them, and an overview of how the project is put together. A final pass re-checks every "always", "only" and default claim against the code. Seeding a large codebase can cost quite a lot of tokens, so the agent asks before it starts unless you asked for the seed yourself.

The seed covers orientation: what the system is, how a request reaches its handler, where auth lives, how to add the most common new thing. Real work fills in the rest.

Upgrade or remove

npm install -g @cstart/coldstart@latest   # upgrade; re-run `coldstart init` to pick up new guidance
coldstart unwire                          # unwire this repo, keeping the notebook (--purge deletes it)
npm uninstall -g @cstart/coldstart

What the agent calls

coldstart's guidance teaches the agent four commands. They answer in milliseconds from a local index of file paths, symbol names, imports and calls.

CommandAnswers
coldstart find <terms...>Which files are relevant to this concept? Ranked, with why each file ranked and any note's summary.
coldstart gs <file>What is in this file, who imports it, who calls each symbol, and which files are usually edited with it?
coldstart kb search "<question>"What does the notebook know about this? Matching notes plus the code files ranked for the question.
coldstart kb lookup <path> [symbol]Everything the notebook knows at one exact address, before editing it.

Agents without a shell (Claude Desktop, for example) get the same commands as MCP tools, with identical output. The full command reference is in the docs.

Why you can trust the notes

  • Written by the agent that did the work. A note is written right after a real task, by the agent that just read the code, citing the files and symbols it rests on. That is meaning written after a question was answered, not guessed before anyone asked one.
  • Flagged when the code moves. Each note records a content hash of the files it cites. When one of them changes, the note shows [evidence changed: <path>] and the agent is told to re-check it. A stale note becomes a labelled hypothesis, not a confident wrong answer.
  • Corrected in the session that finds the mistake. An agent that finds a note wrong is told to fix or retract it there and then, while the evidence is in front of it.

The notebook lives in .coldstart/notebook/. Its log merges cleanly across branches, so a team can share it through git (coldstart kb commit). It works on any language; where coldstart's index parses the language, notes also track freshness per symbol.


Measured

Two repositories, each run more than once, with the CLI. Each question is asked in two arms that differ only in whether coldstart is installed: the baseline is plain Claude Code using the search tools it ships with. Sonnet 5 on both sides, one fresh session per question.

RepositoryLanguageTokens vs. baselineRecallQuestions
ArchesPython / Django−64%+2 pts27
JMRIJava−31%parity25

The questions come from closed issue reports, which are written before anyone knows where the fault lives, so they describe a symptom rather than naming a file. The correct answer is the set of source files in the commit that closed the issue, so ground truth comes from git history rather than from anyone's judgement.

Those two numbers are not averaged. Per-turn cost differs by language, and the saving comes from removing turns, so a question an agent can settle in two or three turns has little to give back. An earlier benchmark on Kafka, Django and Mastodon was discarded: the model has read all three, and that contaminated both arms. The full method, including what was thrown out and why, is at coldstartmcp.dev/benchmark. The harness itself is a separate project, coldbench, and works on any repository with git history, including private ones. Both question sets are published with their gold file lists and the issue number behind each question, at coldbench/examples.

Writing

Longer pieces on the problems behind this tool: what agent sessions actually cost, and what happened to the design when the measurements disagreed with the plan.

More

  • Docs: every command and flag, the notebook, how the index stays fresh, supported languages, MCP setup.
  • ARCHITECTURE.md: the index pipeline, the background keeper, caching and notebook internals.
  • TROUBLESHOOTING.md: when something feels stale or a hook doesn't fire.

Development: npm install && npm run build && npm test. Run a query from your build with node dist/index.js find auth --root ..

License

MIT — see LICENSE.


coldstart MCP server

Reviews

No reviews yet

Be the first to review this server!