Zed

Connect Scrubby to Zed's Agent Panel as a context server, through the MCP server.

Setup

1

Add the context server

Open Zed's settings (cmd-, on macOS, ctrl-, on Linux) and add a context_servers entry:

{
  "context_servers": {
    "scrubby": {
      "url": "https://mcp.scrubby.ai/mcp"
    }
  }
}

Zed's config key is context_servers, not mcpServers. If you copied a snippet from another editor, rename the top-level key.

2

Authenticate

With no Authorization header configured, Zed runs the standard MCP OAuth flow on first connect. Sign in with your GitHub account.

3

Verify the server is active

Open the Agent Panel and find Scrubby in the settings view. Its indicator dot should be green.

4

Index a repository

From the Agent Panel, ask Zed's assistant to index the repository in owner/repo form. See Your First Index.

Using Scrubby

Zed's assistant reads Scrubby's tool descriptions and decides when to call them. The context_servers entry lives in your Zed user settings, so Scrubby is available in every project you open. The full tool list is in the MCP Tools reference.

Troubleshooting