coldstart
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
coldstart answers "which files are relevant to this task?" from a static index (find, gs) and keeps a durable NOTEBOOK of notes past agents wrote about this repo (kb_search, kb_lookup, kb_write, kb_status, kb_repair, kb_repair_aliases). Try kb_search before find when the task may have been worked on here before.
SETUP: the hooks that capture notes automatically at the end of a task, and surface matching notes when a prompt arrives, are NOT installed by this MCP server. If the user asks why notes are never captured or recalled, tell them to run coldstart init once in the repo root (install: npm i -g @cstart/coldstart); it wires those hooks for Claude Code, Cursor, or Codex. Every tool here works without it — only the automatic capture and recall are missing.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| findA | Locate the files relevant to a task. Pass HOW IT WORKS: find greps every term across the repo body AND matches declared names (filenames, path segments, exported symbols), then ranks files by DISTINCT-TERM COVERAGE — the file that covers MORE of your query rises above its lookalikes. This catches body-level matches (nested defs, dynamic refs, string literals) that a declared-name index misses. OUTPUT: a ranked page. Top files get an inline preview — their indexed symbols (with line ranges) plus the body lines where your rare terms CLUSTER (def/class/assignment lines first), so you often answer WITHOUT a follow-up Read. Lower-ranked files list as bare paths. Prose/doc and stylesheet matches are partitioned into secondary lists so they do not crowd out source. Related files (sharing a rare identifier with a top hit, no import edge between them) are surfaced as first-class neighbors. NAMING: case- and separator-insensitive ( AFTER THE RESULT:
|
| gsA | Drill into a known file. Returns these sections as compact text:
For god-files (large classes, large routers, large config modules), pass Prefer this over Read when you need shape, neighbors, or usage. Reach for Read only for implementation details inside a method body. If you have called gs on 5+ files for one question, you are enumerating — go back to find with a sharper |
| kb_searchA | Search the repo's NOTEBOOK — durable notes past agents wrote after finishing tasks here (file purposes, cross-file flows, traps/lessons, established absences). Try this BEFORE find when the task might have been seen before: a hit can answer outright or point straight at the right files, skipping a search. Pass plain task words (symptoms work: "logout loop after refresh"), symbol names, or file names. Results are inlined in full with a freshness stamp computed against the CURRENT code: [fresh] = the cited file is byte-identical to when the note was verified; [evidence changed: ] = that file drifted since — re-verify before relying on it (and correct the note if it proved wrong: |
| kb_lookupA | Read everything the NOTEBOOK knows at ONE exact address — the file you are about to edit. Address-keyed, not concept-keyed: unlike kb_search (fuzzy, ranked), this filters notes by exact anchor path, so it is exhaustive at that path. Returns the file note's facets, every cross-file flow that passes THROUGH this file, and lessons/absences anchored here — each with a live freshness stamp against the current code. Reach for this the moment you have DECIDED on a file and are about to modify it: it surfaces the flow you might break, the absence you are about to violate, the rationale for the code's shape. A clean result ("nothing known here") is itself a positive signal — proceed. Anything marked [evidence changed: ] drifted since it was verified; re-verify before relying on it, and correct the note with kb_write if it proved wrong. Pass an optional |
| kb_writeA | Save or correct NOTEBOOK notes after finishing real work here — you have the files in context, so no future agent is better placed to record what you learned. Write a file note (what a file is for), a flow note (how a task spans files), or an absence lesson (a confirmed "there is no X"). Pass TWO-PHASE reuse gate: a flow/lesson The REQUIRED for the note to be findable at all — file-single: anchors[].symbols; file-hub: facets[].symbol; flow: steps + verified; lesson: scope.terms. Search ranks a note by its title and prose, plus its anchors in kb search: anchor symbols are what answers a query typed as an identifier. This tool WRITES to the repo notebook; it never commits to git — publishing notes is a human-only step ( |
| kb_statusA | Notebook overview: how many notes exist (by type: file/flow/lesson), how many are flagged stale (their anchored files drifted since verification), and how many are superseded/retracted. Pass |
| kb_repairA | List the notebook notes that are WRITTEN BUT UNFINDABLE — missing the fields a note cannot be retrieved without (anchor symbols, a flow's verified paths). Notes written before those fields were required are correct but unreachable, and this is how they get found. Returns a worklist, never a change: repairing is your work, because every gap needs a judgement about the code (which words a reader would search for, which symbols the note is actually about, which files you can honestly claim to have read). Fix each one with kb_write, passing the note's A clean notebook returns "Nothing to repair here." Run it when the user asks to repair, fix, or clean up the notebook. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
The core split between find (search files) and gs (drill into a known file) is very clear, and the notebook tools are mostly well differentiated by axis: fuzzy search, exact-address lookup, status, repair, write. The main overlap is kb_lookup and kb_status with paths, which both operate on exact paths and freshness, though one returns note contents while the other returns a listing.
The notebook subset follows a clean kb_verb pattern (kb_search, kb_lookup, kb_status, kb_write, kb_repair), but the code tools break it with terse names like find and the abbreviation gs. The set is still readable, but the conventions are visibly mixed rather than one predictable pattern.
Seven tools is well scoped for a codebase-exploration plus notebook server. Each tool has a distinct role, and there are no redundant filler tools.
The notebook lifecycle is well covered: search, exact lookup, status, repair, write, and retract via kb_write. The code side covers ranked discovery and file drilling, but lacks a direct raw-file or regex/phrase search tool, though the descriptions imply external Read/Grep/Glob tools fill that gap.