Basic Memory MCP Server Extension for Zed Editor
LocalAbout Basic Memory MCP Server Extension for Zed Editor
This Zed Editor extension connects the Basic Memory MCP server to Zed's Assistant. It is intended for people who keep persistent knowledge in local Markdown files; MCP tool support in Zed is still in development, so functionality is not yet available.
Key features
- 01Connects Basic Memory to Zed Assistant
- 02Select a Basic Memory project
- 03Uses Basic Memory's default project when unset
- 04Supports global or project-level settings
Use cases
- 01Create notes through Zed Assistant
- 02Search notes while working in Zed
- 03Keep separate note collections for different subjects
MCP support
The extension interfaces with the separate `basic-memory` MCP server as a context server for Zed Assistant. Its use of MCP tools depends on Zed adding support, which the README says is still in development.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEBasic Memory MCP Server Extension for Zed Editor
This extension integrates Basic Memory as a context server for Zed Editor's Assistant.
Basic Memory lets you build persistent knowledge through natural conversations with Large Language Models, while keeping everything in simple Markdown files on your computer.
Prerequisites
- Python 3.12+
- uv installed
⚠️ Important Note: This extension currently requires Zed to support MCP tools, which is still in development. While you can install the extension now, its functionality will become available once Zed adds MCP tools support in a future update. Follow Zed's releases for updates.
Installation
1. Install uv and Basic Memory
pip install uv
uv tool install basic-memory
2. Install the extension
Navigate to: Zed > Extensions. Or use the command palette to search for "extensions".
3. Configure the extension
Add the following to your Zed settings:
{
"context_servers": {
"mcp-server-basic-memory": {
"settings": {
"project": "optional-project-name"
}
}
}
}
The project setting is optional:
- If specified, Basic Memory will use the named project for storing and accessing notes
- If omitted, Basic Memory will use its default project (typically stored in
~/basic-memory/config.json, or set in theBASIC_MEMORY_PROJECTenvironment variable)
You can configure these settings either:
- Globally in your Zed settings.json
- Per-project in your project settings
- Or omit them to use Basic Memory's default project
Usage
Once configured, Basic Memory will be available in the Zed Assistant. You can use prompts like:
- "Create a note about software architecture patterns"
- "What do I know about functional programming?"
- "Search my notes for information about React hooks"
Multiple Projects
Basic Memory supports multiple projects to separate different kinds of notes. If you work on different codebases or subjects, you might want to maintain separate knowledge bases for each.
Building the Extension
This extension needs to be compiled to WebAssembly (WASM):
-
Add the WASM target to your Rust toolchain:
rustup target add wasm32-wasip1 -
Build the extension:
cargo build --target wasm32-wasip1 --release
Local Testing
For testing locally:
- Build the extension as described above
- In Zed, open Extensions (⌘ + Shift + E)
- Click "Install Dev Extension" and select the extension directory
- Your dev extension will override any published version with the same name
Note: When installing as a dev extension, Zed will automatically use the build artifacts from your target directory.
Basic Memory Resources
For more detailed information about Basic Memory, visit:
License
This project is licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
This extension interfaces with the basic-memory MCP server, which is a separate product developed by Basic Machines and is licensed under the GNU Affero General Public License, Version 3.0 (AGPL-3.0). The basic-memory MCP server's license can be found at:
https://www.gnu.org/licenses/agpl-3.0.html
Please note that while this extension is distributed under the Apache 2.0 License, if you use the basic-memory MCP server through this extension, you must comply with its AGPL-3.0 license terms. This extension itself does not incorporate any code from the basic-memory MCP server; it only provides an interface to communicate with it as an external service.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.