Zed
Connect Scrubby to Zed's Agent Panel as a context server, through the MCP server.
Setup
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.
Authenticate
With no Authorization header configured, Zed runs the standard MCP OAuth flow on first connect. Sign in with your GitHub account.
Verify the server is active
Open the Agent Panel and find Scrubby in the settings view. Its indicator dot should be green.
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
- Indicator dot is red or yellow — click the server name in the Agent Panel settings view to see the connection error; the common cause is OAuth not being completed.
- Tools not exposed — reload your Zed settings or restart Zed after editing
settings.json. - Other issues — see Editor Not Connecting.