Skip to content
Zed

doctree mcp for Zed

io.github.joesaby/doctree-mcp

BM25 search + tree navigation over markdown docs for AI agents. No embeddings, no LLM calls.

client:Zed transport:stdio runtime:npm

Install doctree mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "doctree-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "doctree-mcp"
      ],
      "env": {
        "DOCS_ROOT": "<DOCS_ROOT>",
        "DOCS_GLOB": "<DOCS_GLOB>",
        "DOCS_ROOTS": "<DOCS_ROOTS>",
        "GLOSSARY_PATH": "<GLOSSARY_PATH>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

doctree mcp in other clients