# Connect Zed to Ishara

Connect Zed’s agent to Ishara’s MCP server with a context server entry in settings.json, so it can apply reviewers’ edits.

- Server: `https://useishara.com/mcp`
- Where it goes: **Settings → AI → MCP Servers**, or `context_servers` in `settings.json`
- Transport: Streamable HTTP, built in
- Authentication: a bearer token in the `Authorization` header

## Steps

1. In Ishara, open **Agents**, create a token under **New token** and copy it (it’s shown once).
2. Add Ishara to Zed, with your token in place of `ishara_…`:

   settings.json:

```json
{
  "context_servers": {
    "ishara": {
      "url": "https://useishara.com/mcp",
      "headers": { "Authorization": "Bearer ishara_…" }
    }
  }
}
```

   In `~/.config/zed/settings.json`, or `.zed/settings.json` for one project. Or use **Add Server → Add Remote Server**.

3. Open **Settings → AI → MCP Servers**: the dot next to Ishara turns green, and its tooltip says **Server is active**.
4. Ask your agent: “Apply the open Ishara notes.” It lists them, applies each edit in your code, and marks each note done with a reply the reviewer sees on the site.

## Good to know

- Keep the `headers` entry: without an `Authorization` header, Zed starts an OAuth sign-in, which Ishara doesn’t use.
- Zed doesn’t read environment variables here, so the token sits in `settings.json`. Keep that file out of shared repositories.

Checked against the official docs on 2026-11-12: [Zed: MCP](https://zed.dev/docs/ai/mcp).
