Observed since 20 Oct, 18:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Local MCP automation for the Codex desktop app.
acodex gives scripts, tools, and agents a local bridge into a running Codex
desktop session. It can relaunch Codex with a Chrome DevTools Protocol (CDP)
port, run a managed HTTP/MCP server, and call the live codex_app.* tools that
your Codex desktop build exposes.
Quick Start | CLI | Support | Contributing
/mcp for
local automation clients.Prerequisites:
uv; see the official install guide./Applications/Codex.app by default; set ACODEX_CODEX_APP_PATH if yours is
elsewhere.Install the CLI:
uv tool install acodex
Initialize config, launch Codex with CDP, and start the local bridge:
acodex config init
acodex codex relaunch --yes
acodex server start
acodex codex relaunch --yes starts or restarts Codex so acodex can reach the
default CDP endpoint, http://127.0.0.1:45217.
For deeper diagnostics after the server is running, use acodex doctor --deep.
List and call Codex desktop tools:
acodex tools list
acodex tools call codex_app.list_threads --limit 1
Stop the managed bridge when you are done:
acodex server stop
Common commands:
acodex config path
acodex config show
acodex doctor --deep
acodex codex status
acodex codex relaunch --yes
acodex server start
acodex server status
acodex server logs --tail 50
acodex tools list --json
acodex tools call codex_app.list_threads --help
Tool calls use the MCP schema property names. Pass simple top-level arguments as flags, or use JSON for nested input:
acodex tools call codex_app.list_threads --limit=5
acodex tools call --args-json '{"limit":5}' codex_app.list_threads
acodex tools call --output json codex_app.list_threads --limit 5
acodex reads JSON config from ~/.acodex/config.json by default. Set
ACODEX_CONFIG to use a different file. Use acodex config path and
acodex config show to inspect the active path and effective values.
Essential local endpoints:
http://127.0.0.1:45217http://127.0.0.1:45218/healthzhttp://127.0.0.1:45218/mcpConfiguration precedence and the full defaults matrix live in CONTRIBUTING.md.
State-changing tool calls mutate the live Codex desktop app. Use
acodex tools call <tool> --help before calling unfamiliar tools.
When setup fails, start with the built-in diagnostics and managed server logs:
acodex doctor
acodex server logs --tail 50
If the issue continues, open a GitHub issue with what you tried, what happened, your OS and Python version, your acodex source branch or commit, your Codex desktop/CDP setup, and relevant command output with secrets removed.
Contributor setup, architecture notes, quality gates, and documentation rules live in CONTRIBUTING.md. Agent-specific guidance lives in AGENTS.md.
acodex is released under the MIT License.
acodex is independently maintained and is not affiliated with, sponsored by, or endorsed by OpenAI.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.1 | 26 Jun 2026 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f759d7212b3a0059c6a94079c1bd029f7040ce006ca6986d5794c1a20cb70718