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

# Cline

> Add PostChamp to Cline as a remote server with Streamable HTTP.

Add PostChamp to Cline as a remote server with Streamable HTTP. The connection URL is the same for every client:

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

> [!NOTE]
>
> Choose **Streamable HTTP** as the transport. If you do not, Cline falls back to the older SSE transport and finds no tools.

> [!NOTE]
>
> Cline's docs describe the OAuth authorize step for the CLI wizard. They do not describe it for the IDE tab or the JSON file.

## Before you start

* Cline in your editor, or the Cline CLI.
* 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 Cline

**Step 1**

In the Cline panel, open the MCP Servers icon and choose the **Remote Servers** tab.

**Step 2**

Enter the server name `postchamp` and the URL `https://api.postchampai.com/api/v1/mcp`. Set the transport to **Streamable HTTP**. Choose **Add Server**.

**Step 3**

Or use the CLI: run the command below, or run `cline mcp` for the wizard. The wizard has an **Authorize OAuth** step that opens the PostChamp sign-in. Sign in, choose the workspaces to share and approve.

**Step 4**

Or edit the settings file: `~/.cline/data/settings/cline_mcp_settings.json` for the CLI, or **MCP Servers**, **Configure**, **Configure MCP Servers** in the IDE. Set `"type": "streamableHttp"`.

## Command line

```bash
cline mcp add postchamp https://api.postchampai.com/api/v1/mcp --transport http --yes
```

## Configuration file

Add this to `~/.cline/data/settings/cline_mcp_settings.json`:

```json
{
  "mcpServers": {
    "postchamp": {
      "type": "streamableHttp",
      "url": "https://api.postchampai.com/api/v1/mcp",
      "disabled": false
    }
  }
}
```

## 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 server from the Remote Servers tab or from the settings file.
* In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.

## Troubleshooting

> [accordion] Cline connects but lists no tools.
>
> The transport is SSE. Set it to Streamable HTTP, or set `"type": "streamableHttp"` in the file.

> [accordion] It does not ask me to sign in.
>
> Run `cline mcp` and use the **Authorize OAuth** step, then try again.

> [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] Do I add a header with a key?
>
> No. PostChamp uses OAuth, so leave headers empty.

## 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.
