> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ref.tools/llms.txt
> Use this file to discover all available pages before exploring further.

# Zed

> Connect Zed to Ref Plans.

[Zed MCP docs](https://zed.dev/docs/ai/mcp)

You can find your API key at [ref.tools/keys](https://ref.tools/keys)

## Install Steps

1. Open the agent thread UI in right dock with `cmd + R`.
2. In the top right, click the `...` icon and under MCP Servers, select `Add Custom Server...`. This should open the `Add MCP Server` modal.
3. In the bottom left of the modal click `Configure Remote` server.
4. Replace the entire content of the input JSON with the following and click `Add Server`.

```json theme={null}
{
  "RefPlan": {
    "url": "https://api.plan.ref.tools/mcp?apiKey=<your api key>"
  }
}
```

For plan-specific mode, use `"url": "https://api.plan.ref.tools/mcp?plan=<PLAN_ID>&apiKey=<your api key>"`.

## Verify

1. Open a new thread in the agent thread panel and select the `...` settings icon then click `Settings`.
2. You should see RefPlan enabled in the Model Context Protocol (MCP) Servers section.

## Get help

If you have any issues, please reach out to `help@ref.tools`. We're happy to help you get started!
