# Connect Cline to aicharged.io

> Cline (VS Code extension and CLI): a streamableHttp server in cline_mcp_settings.json.

## At a glance

| Kind | Sign-in | Platforms | Status | Verified |
|---|---|---|---|---|
| Editors & IDEs | API key (Bearer), OAuth sign-in | macOS, Linux, Windows | works today | 2026-10-22 |

- MCP: `https://aicharged.io/api/v1/mcp`
- Docs: https://docs.cline.bot/mcp/configuring-mcp-servers

## Recipe

Config file (`~/.cline/data/settings/cline_mcp_settings.json`):

```json
{
  "mcpServers": {
    "aicharged": {
      "type": "streamableHttp",
      "url": "https://aicharged.io/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
```

Keep type streamableHttp — without it Cline falls back to the legacy SSE transport. In the editor, the Configure tab of the MCP Servers panel opens this file.

[Client documentation](https://docs.cline.bot/mcp/configuring-mcp-servers)

## Authentication

- Send `Authorization: Bearer <API_KEY>` with every request. Create a key at https://aicharged.io/admin/account/api-keys.
- OAuth 2.1 (PKCE S256) is available for clients that cannot send a static key (ChatGPT).
- Without a key the endpoint answers 401 with a WWW-Authenticate header that points to https://aicharged.io/.well-known/oauth-protected-resource.

All 51 clients: https://aicharged.io/connect.md

HTML version: https://aicharged.io/connect/cline
