Basic Memory MCP Server Extension for Zed Editor

by ossfellow

519 downloads
Not rated
GitHub

About

Basic Memory MCP server integration, for Zed Editor's Assistant.

Details

Author
ossfellow
Downloads
519
Categories
Knowledge Base, AI

- Integrates Basic Memory into Zed Editor’s Assistant
- Stores all knowledge in local Markdown files
- Supports multiple separate projects/knowledge bases
- Optional per‑workspace project configuration
- Requires Python 3.12+ and the uv package manager
- Built as a WebAssembly extension for Zed

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Basic Memory MCP Server Extension for Zed Editor
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.12+, uv, and the basic-memory tool, then install the extension via Zed’s Extensions menu. Configure the context_servers JSON in your Zed settings with an optional project name. Once configured, use natural language prompts in the Zed Assistant to create, retrieve, or search your notes.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "basic memory mcp server extension for zed editor": {
            "zed-mcp-server-basic-memory": {
                "command": "uv",
                "args": [
                    "tool",
                    "install",
                    "basic-memory"
                ]
            }
        }
    }
}

McpServers

{
    "zed-mcp-server-basic-memory": {
        "command": "uv",
        "args": [
            "tool",
            "install",
            "basic-memory"
        ]
    }
}
# Basic Memory MCP Server Extension for Zed Editor This extension integrates [Basic Memory](https://github.com/basicmachines-co/basic-memory) as a context server for [Zed Editor's](https://zed.dev) [Assistant](https://zed.dev/docs/assistant/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](https://github.com/astral-sh/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](https://github.com/zed-industries/zed/releases) for updates. ## Installation ### 1. Install uv and Basic Memory ```bash 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: ```json { "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 the `BASIC_MEMORY_PROJECT` environment 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): 1. **Add the WASM target to your Rust toolchain:** ``` rustup target add wasm32-wasip1 ``` 2. **Build the extension:** ``` cargo build --target wasm32-wasip1 --release ``` ### Local Testing For testing locally: 1. Build the extension as described above 2. In Zed, open Extensions (⌘ + Shift + E) 3. Click "Install Dev Extension" and select the extension directory 4. 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: - [Basic Memory Documentation](https://memory.basicmachines.co/) - [GitHub Repository](https://github.com/basicmachines-co/basic-memory) ## 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](https://github.com/basicmachines-co) 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.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.