# Connect Trae to aicharged.io

> Trae: add the server manually in the MCP panel or in .trae/mcp.json (format not fully verified).

## At a glance

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

- MCP: `https://aicharged.io/api/v1/mcp`
- Docs: https://docs.trae.ai/ide/add-mcp-servers

## Recipe

1. Open the MCP panel → Add → Add Manually.
2. Paste the JSON below and confirm.

JSON to paste into the dialog (`.trae/mcp.json`):

```json
{
  "mcpServers": {
    "aicharged": {
      "url": "https://aicharged.io/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      }
    }
  }
}
```

Unverified: the Trae docs page was cut off, so this format comes from search results. The same JSON can also go into .trae/mcp.json.

[Client documentation](https://docs.trae.ai/ide/add-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/trae
