Your assistant. Your development environment.
Your remote workspace.
Right here in the conversation.
Let your assistant read project files, run code, and work with Codex on your host—without copying terminal output back and forth.
Understand the project
Inspect files, read contributor guidance, and find saved Codex sessions.
Get work done
Run Python or shell commands, or delegate a task to a remote Codex agent.
Keep what you learn
Build reusable session knowledge. Browse the knowledge wiki or search it through your assistant.
A client agent’s first impression
“The user could point me at a remote project, and I could inspect the source material myself.”
In one RemoteCodex MCP smoke test, Codex discovered the host, ran 6 * 7, and read a project’s AGENTS.md.
Codex · Excerpt from a client-agent account. Model-driven tasks and interrupted-connection recovery were not tested in that session. Not an official OpenAI endorsement.
Use with Codex
Set MCP_TOKEN in the environment that launches your local Codex client, then add your server:
codex mcp add remotecodex \
--url https://YOUR_HOST/mcp \
--bearer-token-env-var MCP_TOKEN
Replace https://YOUR_HOST with your server’s URL.
For developers: progressive discovery across twenty-eight tools
System
Discover and manage saved sessions, models, recorded usage, deletion, and upload guidance.
list_sessionsupdate_sessionlist_modelstoken_countdelete_sessionget_upload_skill
Work
Choose run for intelligent Codex work or execute for deterministic Python and shell work, then inspect or control it.
runresume_runpoll_runtimelist_runtimecancel_runtimeexecutepoll_executionlist_executionscancel_execution
Coding
Architecture- and roadmap-driven intelligent coding, with deterministic project path and Makefile support.
architecture_designbuild_roadmapcodingcreate_pathmakeupdate_make
Knowledge and wiki
Build reusable session knowledge, then browse it through page listing, search, and section reads.
build_knowledgewiki_list_pageswiki_searchwiki_read
Agent fleet
Create, retire, and restore persistent private agent roles for optional use by run and coding.
create_agentretire_agentrestore_agent
Use tools/list for current usage. Codex results expose tool and UUIDv4 runtime_id; execute results also expose their job task_id. Other long actions use action_id.