You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Configure Aider with Codex Pooler's narrow OpenAI-compatible /v1 surface and a Pool API key.
4
+
---
5
+
6
+
Aider uses the OpenAI-compatible route with the `openai/` model prefix. Keep the Pool API key in the environment and point Aider's OpenAI API base at Codex Pooler's `/v1` surface.
description: Configure Cline with Codex Pooler's narrow OpenAI-compatible /v1 surface and optional operator MCP metadata access.
4
+
---
5
+
6
+
Cline's OpenAI-compatible provider id is `openai`. Configure it with the Pool API key, the Codex Pooler `/v1` base URL, and the model id that your assigned Pool can serve.
7
+
8
+
```bash
9
+
cline auth \
10
+
--provider openai \
11
+
--apikey "$CODEX_POOLER_API_KEY" \
12
+
--baseurl https://codex-pooler.example.com/v1 \
13
+
--modelid gpt-5.5
14
+
```
15
+
16
+
For local setup, change `--baseurl` to `http://localhost:4000/v1`.
17
+
18
+
For optional operator MCP in Cline CLI, add the remote server to `~/.cline/mcp.json`. Codex Pooler does not require this for model use. The VS Code extension opens its own MCP settings JSON from the Cline MCP Servers panel; use the same `mcpServers` shape there.
19
+
20
+
```json
21
+
{
22
+
"mcpServers": {
23
+
"codex_pooler": {
24
+
"url": "https://codex-pooler.example.com/mcp",
25
+
"headers": {
26
+
"Authorization": "Bearer <operator-mcp-token>"
27
+
},
28
+
"disabled": false,
29
+
"autoApprove": []
30
+
}
31
+
}
32
+
}
33
+
```
34
+
35
+
For local MCP setup, change the MCP `url` to `http://localhost:4000/mcp`.
36
+
37
+
Use a Pool API key for `/v1` model requests and an operator MCP token for `/mcp`. Do not reuse the Pool API key for MCP.
Both providers use the same Pool API key and the same Codex backend compatibility route. Codex Pooler routes each request through Pool policy, account eligibility, limits, session continuity, and request accounting.
58
58
59
-
## Operator MCP endpoint
59
+
## Optional operator MCP endpoint
60
60
61
-
Codex Pooler also exposes an operator MCP endpoint at `/mcp`. MCP uses an operator-owned MCP token, not a Pool API key.
61
+
Codex Pooler also exposes an operator MCP endpoint at `/mcp`. This is an optional operator-only metadata add-on. Omit it for normal Codex runtime use. MCP uses an operator-owned MCP token, not a Pool API key.
Use `http://localhost:4000/mcp` only for local setup.
76
76
77
+
## Existing session migration
78
+
79
+
Codex filters resumable conversations by `model_provider`. If you already have sessions created with the built-in `openai` provider and want them to appear under `codex-pooler-ws`, re-tag both the JSONL transcripts and the newer SQLite state database.
80
+
81
+
Run these commands with Codex closed. They edit local Codex state in place. The transcript rewrite scans the whole sessions directory and can take a while on large installs. Set `TO_PROVIDER=codex-pooler-http` if you made the HTTP provider your default.
"UPDATE threads SET model_provider = '$ToProvider' WHERE model_provider = '$FromProvider';"
140
+
}
141
+
```
142
+
77
143
## Route boundaries
78
144
79
145
`/backend-api/codex/*` is an authenticated Codex backend compatibility surface. It is not a wildcard proxy and it is not the OpenAI-compatible `/v1` SDK surface.
description: Configure Continue with Codex Pooler's narrow OpenAI-compatible /v1 surface, model capabilities, and optional operator MCP metadata access.
4
+
---
5
+
6
+
Continue can use Codex Pooler as an OpenAI-compatible provider by setting `provider: openai`, `apiBase` to `/v1`, and the Pool API key as a Continue secret. For `gpt-5*` models, Continue uses the Responses API by default.
7
+
8
+
```yaml
9
+
name: Codex Pooler
10
+
version: 1.0.0
11
+
schema: v1
12
+
13
+
models:
14
+
- name: GPT-5.5 via Codex Pooler
15
+
provider: openai
16
+
model: gpt-5.5
17
+
apiBase: https://codex-pooler.example.com/v1
18
+
apiKey: "${{ secrets.CODEX_POOLER_API_KEY }}"
19
+
roles:
20
+
- chat
21
+
- edit
22
+
- apply
23
+
- summarize
24
+
capabilities:
25
+
- tool_use
26
+
- image_input
27
+
28
+
# Optional operator-only MCP metadata add-on. Omit for model/runtime use.
For local setup, change `apiBase` to `http://localhost:4000/v1`. If you keep the optional operator MCP add-on locally, change the MCP `url` to `http://localhost:4000/mcp`.
40
+
41
+
The Pool API key authenticates model requests. The MCP token authenticates only the operator metadata endpoint.
description: Configure Goose with Codex Pooler's narrow OpenAI-compatible /v1 chat completions path and optional operator MCP metadata access.
4
+
---
5
+
6
+
Goose's OpenAI provider supports OpenAI-compatible endpoints through `OPENAI_HOST` and `OPENAI_BASE_PATH`. Point the host at Codex Pooler and keep the Pool API key in the `OPENAI_API_KEY` environment variable or Goose's secret storage.
7
+
8
+
```yaml
9
+
GOOSE_PROVIDER: openai
10
+
GOOSE_MODEL: gpt-5.5
11
+
OPENAI_HOST: https://codex-pooler.example.com
12
+
OPENAI_BASE_PATH: v1/chat/completions
13
+
```
14
+
15
+
For local setup, change `OPENAI_HOST` to `http://localhost:4000`.
16
+
17
+
For optional operator MCP metadata access, add a remote Streamable HTTP extension. Codex Pooler model use does not require this. Goose stores remote extension headers in its config, so use a dedicated MCP token.
18
+
19
+
```yaml
20
+
# Optional operator-only MCP metadata add-on. Omit for model/runtime use.
21
+
extensions:
22
+
codex_pooler:
23
+
enabled: true
24
+
type: streamable_http
25
+
name: codex_pooler
26
+
uri: https://codex-pooler.example.com/mcp
27
+
headers:
28
+
Authorization: "Bearer <operator-mcp-token>"
29
+
timeout: 300
30
+
bundled: null
31
+
available_tools: []
32
+
```
33
+
34
+
For local MCP setup, change the extension `uri` to `http://localhost:4000/mcp`.
35
+
36
+
Use a Pool API key for OpenAI-compatible model requests and an operator MCP token for `/mcp`. Do not reuse the Pool API key for MCP.
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/clients/openclaw.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: OpenClaw
3
-
description: Configure OpenClaw with Codex Pooler's narrow OpenAI-compatible /v1 surface, current runtime id, model metadata, and operator MCP endpoint.
3
+
description: Configure OpenClaw with Codex Pooler's narrow OpenAI-compatible /v1 surface, current runtime id, model metadata, and optional operator MCP endpoint.
OpenClaw should use Codex Pooler through the narrow OpenAI-compatible `/v1` surface. Keep `openai/*` model names when you want OpenClaw and its tools to treat the model as the canonical OpenAI provider path.
8
+
OpenClaw should use Codex Pooler through the narrow OpenAI-compatible `/v1` surface. Keep `openai/*` model names when you want OpenClaw and its tools to treat the model as the canonical OpenAI provider path. The optional MCP block is only for operator metadata tools.
9
9
10
10
For a deployed instance, use these URLs:
11
11
@@ -35,7 +35,7 @@ OpenClaw's OpenAI provider should point `baseUrl` at Codex Pooler's `/v1` surfac
35
35
providers: {
36
36
openai: {
37
37
baseUrl:"https://codex-pooler.example.com/v1",
38
-
apiKey:"<pool-api-key>",
38
+
apiKey:"${CODEX_POOLER_API_KEY}",
39
39
api:"openai-responses",
40
40
agentRuntime: { id:"openclaw" },
41
41
timeoutSeconds:300,
@@ -60,7 +60,7 @@ Define only model ids your assigned Pool can serve. If you run Codex Pooler loca
60
60
61
61
## Operator MCP server
62
62
63
-
Add Codex Pooler as a remote Streamable HTTP MCP server only when OpenClaw should inspect metadata that the operator can already see in the admin UI.
63
+
Add Codex Pooler as a remote Streamable HTTP MCP server only when OpenClaw should inspect metadata that the operator can already see in the admin UI. Omit this block for normal model/runtime use.
OpenCode should use Codex Pooler through the narrow OpenAI-compatible `/v1` surface. The Pool API key authenticates model requests. A separate operator MCP token authenticates the remote MCP endpoint.
8
+
OpenCode should use Codex Pooler through the narrow OpenAI-compatible `/v1` surface. The Pool API key authenticates model requests. A separate operator MCP token authenticates the optional remote MCP endpoint. MCP is not required for OpenCode to use Codex Pooler; it only gives an operator MCP host read-only metadata tools.
9
+
10
+
OpenCode websocket support is the narrow Responses websocket route at `GET /v1/responses`, not OpenAI Realtime SDK compatibility.
9
11
10
12
For a deployed instance, use these URLs:
11
13
@@ -25,6 +27,7 @@ Store the Pool API key outside the config and read it through environment expans
25
27
26
28
```jsonc
27
29
{
30
+
"$schema":"https://opencode.ai/config.json",
28
31
"provider": {
29
32
"openai": {
30
33
"npm":"@ai-sdk/openai",
@@ -67,7 +70,7 @@ Define only model ids your assigned Pool can serve. If you run Codex Pooler loca
67
70
68
71
## Remote MCP example
69
72
70
-
Add Codex Pooler as a remote MCP server when the OpenCode host should inspect metadata that the operator can already see in the admin UI.
73
+
Add Codex Pooler as a remote MCP server only when the OpenCode host should inspect metadata that the operator can already see in the admin UI.
description: Configure Roo Code with Codex Pooler's narrow OpenAI-compatible /v1 surface and optional operator MCP metadata access.
4
+
---
5
+
6
+
Roo Code is configured from its VS Code settings panel. Select the OpenAI-compatible provider and use the Codex Pooler `/v1` URL.
7
+
8
+
```text
9
+
API Provider: OpenAI Compatible
10
+
Base URL: https://codex-pooler.example.com/v1
11
+
API Key: ${CODEX_POOLER_API_KEY}
12
+
Model ID: gpt-5.5
13
+
```
14
+
15
+
For local setup, change the base URL to `http://localhost:4000/v1`.
16
+
17
+
Roo Code supports project-level MCP configuration in `.roo/mcp.json`. This is only for optional operator MCP metadata access; Codex Pooler model use does not require it. This file can be committed when it contains only the endpoint shape; keep the MCP token in a private copy or configure it through the Roo MCP settings UI.
18
+
19
+
```json
20
+
{
21
+
"mcpServers": {
22
+
"codex_pooler": {
23
+
"type": "streamable-http",
24
+
"url": "https://codex-pooler.example.com/mcp",
25
+
"headers": {
26
+
"Authorization": "Bearer <operator-mcp-token>"
27
+
},
28
+
"disabled": false,
29
+
"timeout": 300
30
+
}
31
+
}
32
+
}
33
+
```
34
+
35
+
For local MCP setup, change the MCP `url` to `http://localhost:4000/mcp`.
36
+
37
+
Use a Pool API key for `/v1` model requests and an operator MCP token for `/mcp`. Do not reuse the Pool API key for MCP.
0 commit comments