A Zed extension that connects mcp-server as a context server,
giving Zed's AI assistant access to your project's indexed documentation.
Open Zed → zed: install extension → search for Mnemodoc.
-
Ollama running locally with
nomic-embed-textpulled:ollama pull nomic-embed-text ollama serve
-
mnemodoc-server— installed automatically from GitHub Releases, or manually:# macOS brew install mnemodoc/tap/mnemodoc-server # Linux — download from the releases page: # https://github.com/mnemodoc/mcp-server/releases
- The extension resolves the
mnemodoc-serverbinary (system install, a previously downloaded copy, or a fresh GitHub Release download). - It starts
mnemodoc-server serve --stdio. - Zed spawns that process with its working directory set to the project root,
so the server reads
.mnemodoc.ymlfrom there — or falls back to its built-in defaults when the file is absent.
The extension never reads project files itself: the WASM sandbox cannot reach
the project root, so all configuration lives in .mnemodoc.yml and is read by
the server.
Place a .mnemodoc.yml at your project root. This is the single source of
configuration — there are no Zed settings for this extension. Without the file,
the server starts on its defaults and will not index your project's docs.
paths:
- doc/
ollama:
host: http://localhost:11434
model: nomic-embed-text
search:
top_k: 5Index your docs once:
mnemodoc-server index doc/ --config .mnemodoc.ymlRequires: mise (installs the Rust toolchain) and the
wasm32-wasip2 target, which rustup must add separately:
rustup target add wasm32-wasip2
mise dev:check # clippy + tests (run after every change)
mise dev:build # WASM build
mise dev:format # cargo fmt
mise dev:doc # generate and open API docsMIT