Agent Host MCP

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 thirty-three tools

System

Discover and manage saved sessions, models, recorded usage, deletion, file transfer guidance, and signed download links.

  • list_sessions
  • update_session
  • list_models
  • token_count
  • delete_session
  • get_file_transfer_skill
  • get_file_download_url

Work

Choose run for intelligent Codex work or execute for deterministic Python and shell work, then inspect or control it.

  • run
  • resume_run
  • get_runtime
  • list_runtime
  • cancel_runtime
  • execute
  • get_execution
  • list_executions
  • cancel_execution

Coding

Architecture- and roadmap-driven intelligent coding, with deterministic project path and Makefile support.

  • architecture_design
  • build_roadmap
  • coding
  • create_path
  • make
  • update_make

Knowledge and wiki

Build reusable session knowledge, then browse it through page listing, search, and section reads.

  • build_knowledge
  • wiki_list_pages
  • wiki_search
  • wiki_read

Agent fleet

Discover, configure, create, retire, and restore persistent private agent roles for optional use by run and coding.

  • list_agents
  • create_agent
  • update_agent
  • retire_agent
  • restore_agent

Skills

Add shared skills directly or integrate a Git skill collection for progressive discovery by Codex and agent roles.

  • add_skill
  • add_skill_url

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.