Skip to content

Client Setup Overview ​

If you are using CCX Desktop, start with the CCX Desktop setup guide for installation, key setup, service startup, agent configuration, and channel setup, then return here for client-specific details.

CCX client setup docs are organized by client. Choose the client you use, then follow the matching page.

Choose a client ​

ClientRecommended endpointCCX Base URLUse case
Claude CodeMessageshttp://localhost:3000Coding assistant using Claude Messages protocol
Claude DesktopMessageshttps://127.0.0.1:8443 (HTTPS wrapper required)Desktop client using any upstream model through the gateway, without an official sign-in
Codex CLI / Codex AppResponseshttp://localhost:3000/v1Codex tools using OpenAI Responses protocol
OpenCodeChathttp://localhost:3000/v1Coding tools using OpenAI Chat-compatible protocol

Before connecting a client ​

  1. Start CCX and confirm the gateway URL, for example http://localhost:3000
  2. Set PROXY_ACCESS_KEY
  3. Add at least one working channel for the target endpoint in the CCX admin console
  4. Use PROXY_ACCESS_KEY as the client API key

Endpoint mapping ​

text
Claude Code           ->  /v1/messages          ->  Messages channels
Claude Desktop        ->  /v1/messages          ->  Messages channels (via an HTTPS wrapper)
Codex CLI / App       ->  /v1/responses         ->  Responses channels
OpenCode              ->  /v1/chat/completions  ->  Chat channels

TIP

Base URL rules differ by client. Claude Code uses the gateway root. Codex and OpenCode usually use the OpenAI-compatible /v1 base URL.

General troubleshooting ​

For client-specific issues, open the matching client page.

SymptomCheck
401 UnauthorizedThe client API key must match CCX PROXY_ACCESS_KEY
Connection refusedCCX is running and listening on the expected port
model_not_foundChannel model allowlist and model mapping cover the requested model
Request never reaches a channelThe client is using the expected protocol endpoint