ProAgent MeDocs
Integrations

Codex CLI

Connect ProAgent Me to Codex CLI via the @proagentme/mcp stdio wrapper.

Same stdio wrapper as Claude Code, TOML config for Codex's ~/.codex/config.toml.

Setup

  1. Get an API key.

  2. Open (or create) ~/.codex/config.toml:

    [mcp_servers.proagentme]
    command = "npx"
    args = ["-y", "@proagentme/mcp"]
    env = { PROAGENTME_API_KEY = "pam_..." }
  3. Restart Codex. The /mcp command lists connected servers; proagentme should appear with 5 tools.

Pin a default agent

env = {
  PROAGENTME_API_KEY = "pam_...",
  PROAGENTME_DEFAULT_AGENT = "agent-uuid-here"
}

Codex's ask invocations route to that agent transparently.

On this page