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

# Cline

> Add Spiral to Cline as a remote MCP server: paste one link, sign in, no API key.

**1. Add the server**

In the Cline panel, click the **MCP Servers** icon and open the **Remote Servers** tab. Enter:

* **Server Name:** `spiral`
* **Server URL:** `https://api.spiral.ai/mcp`
* **Transport Type:** **Streamable HTTP**

Click **Add Server**. No header and no client ID or secret: Cline registers itself with Spiral.

In the Cline CLI instead:

```bash theme={null}
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
```

**2. Sign in**

Open the **Configure** tab and click **Authenticate** on the Spiral server. Sign in to Spiral, pick the
organization and click **Authorize**. No API key.

In the CLI, run `cline mcp` and choose **Authorize OAuth**.

**3. Check it**

Spiral shows as connected on the **Configure** tab. In the CLI:

```bash theme={null}
cline config mcp
```

**4. Try a starter prompt**

```text theme={null}
Find a text-to-image tool, tell me what one image costs, then generate a lighthouse at dawn.
```

> [accordion] With an API key instead
>
> Create a key in the [console](https://spiral.ai/start) under **API keys**. On the **Configure** tab, click
> **Configure MCP Servers** and add Spiral with the key as a header (the CLI's file is
> `~/.cline/data/settings/cline_mcp_settings.json`). Keep the file private:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "spiral": {
>       "type": "streamableHttp",
>       "url": "https://api.spiral.ai/mcp",
>       "headers": { "Authorization": "Bearer <your API key>" }
>     }
>   }
> }
> ```
>
> Or in the CLI:
>
> ```bash theme={null}
> cline mcp add spiral https://api.spiral.ai/mcp --transport http \
>   --header "Authorization: Bearer $SPIRAL_API_KEY" --yes
> ```

If something does not work, see [Troubleshooting](/docs/mcp-server.md#troubleshooting).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.