MCP Codex Worker
by sorryorc
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_MODEL | No | Real backend model used by the gateway. | |
| SANDBOX_ROOT | Yes | Root directory allowed for worker jobs and analyze file reads. | |
| DIFF_MAX_BYTES | No | Maximum returned diff size. | |
| ONEAPI_API_KEY | No | Primary gateway key for OneAPI. | |
| ANTHROPIC_MODEL | No | Real backend model used by the gateway (alternative). | |
| ONEAPI_BASE_URL | No | Primary gateway URL (OneAPI). | |
| WAIT_DEFAULT_MS | No | Default wait time in milliseconds for job completion. | |
| FALLBACK_API_KEY | No | Optional fallback gateway key. | |
| WORKER_ISOLATION | No | Set to 'worktree' for per-job git worktree isolation. | |
| ANTHROPIC_API_KEY | No | Primary gateway key for Anthropic. | |
| CLAUDE_CODE_MODEL | No | Model name passed to Claude Code for local validation, usually 'sonnet'. | |
| FALLBACK_BASE_URL | No | Optional fallback gateway URL. | |
| ANTHROPIC_BASE_URL | No | Primary gateway URL (Anthropic). | |
| USE_OPENAI_ADAPTER | No | Set to '1' to use the local Anthropic-to-OpenAI adapter. | |
| WORKER_METRICS_FILE | No | Optional JSONL path for token usage metrics. | |
| WORKER_ESCALATE_MODEL | No | Optional stronger model for hard revise passes. | |
| ALLOW_BYPASS_PERMISSIONS | No | Set to '1' to allow bypassPermissions (not recommended). |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sorryorc/mcp-codex-worker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server