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

# Zed

> Add PostChamp to Zed as a remote context server.

Add PostChamp to Zed as a remote context server. The connection URL is the same for every client:

```text
https://api.postchampai.com/api/v1/mcp
```

> [!NOTE]
>
> Zed calls MCP servers `context_servers` in its settings. Zed shows the PostChamp sign-in only when the entry has no `Authorization` header.

## Before you start

* Zed with the Agent panel.
* A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See [Authentication](/mcp/authentication.md).

## Connect Zed

**Step 1**

Open the Agent settings: **Settings**, **AI**, **MCP Servers**, then **Add Server**, then **Add Remote Server**. You can also run the `agent: open settings` action.

**Step 2**

Enter the name `postchamp` and the URL `https://api.postchampai.com/api/v1/mcp`. Or add the entry below to your settings file under `context_servers`.

**Step 3**

Leave the headers empty. With no `Authorization` header, Zed starts the standard MCP sign-in. Sign in to PostChamp, choose the workspaces to share and approve.

**Step 4**

Check the dot next to the server name. Green, with the tooltip "Server is active", means it is connected.

## Configuration file

Add this to `Zed settings.json`:

```json
{
  "context_servers": {
    "postchamp": {
      "url": "https://api.postchampai.com/api/v1/mcp"
    }
  }
}
```

## Check the connection

Ask:

```text
Use PostChamp to list my workspaces.
```

This reads your workspaces, costs nothing and changes nothing. Then try one of these:

* Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
* Write a LinkedIn post about what I learned from my last client project, in my voice.
* Check my newest draft for filler and weak lines, then suggest fixes.
* How did my posts do over the last 30 days? What worked best?

## Disconnect

* Remove the entry in **Settings**, **AI**, **MCP Servers**, or delete it from `context_servers`.
* In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.

## Troubleshooting

> [accordion] Zed does not offer a sign-in.
>
> The entry has an `Authorization` header. Remove the header so Zed starts the OAuth sign-in.

> [accordion] The dot is not green.
>
> Open the server in the settings, check the URL and sign in again.

> [accordion] The key is wrong.
>
> Zed uses `context_servers`, not `mcpServers`.

> [accordion] The browser sign-in says I cannot connect.
>
> Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.

## FAQ

> [accordion] Where do I put the entry?
>
> In the Zed settings file, under `context_servers`. The Add Remote Server form writes it for you.

## Related

> [card] [Authentication](/mcp/authentication.md)
>
> How sign-in, consent and revocation work.

> [card] [Tool reference](/mcp/tools/index.md)
>
> Every tool the assistant can call.
