Back to Integrations

Zed

Persistent memory for Zed Editor

Zed supports MCP servers through context servers. Add GrantAi to give Zed's AI assistant persistent memory across sessions.

1. Install GrantAi

Download and run the installer for your platform from the download page.

Go to Download Page

2. Open Zed Settings

Open Zed settings (Cmd+, on macOS) and add the context server configuration:

macOS~/.config/zed/settings.json
Linux~/.config/zed/settings.json

macOS Configuration

Add this to your settings.json. Replace YOUR_USERNAME with your macOS username.

{
  "context_servers": {
    "grantai": {
      "command": {
        "path": "/Users/YOUR_USERNAME/.grantai/bin/grantai-mcp",
        "args": []
      }
    }
  }
}

Linux Configuration

Replace YOUR_USERNAME with your Linux username.

{
  "context_servers": {
    "grantai": {
      "command": {
        "path": "/home/YOUR_USERNAME/.grantai/bin/grantai-mcp",
        "args": []
      }
    }
  }
}

3. Verify Connection

Open the Agent Panel (Cmd+Shift+A) and check the settings view. A green dot next to "grantai" indicates the server is active.

Windows Support

Zed is currently available for macOS and Linux. Windows support is in development. Checkzed.devfor updates.

Official Documentation

For the latest MCP configuration options, check Zed's official documentation:

Zed MCP Documentation