Skip to main content
Glama

Farcall MCP

Farcall. Codex and Claude Code mascots talking on connected telephones.

Let Claude Code call Codex, or Codex call Claude Code, through one pending MCP call.

The worker builds or reviews. The parent waits for the result, then resumes the same session for corrections. No status polling needed.

Install

In Claude Code, install the Codex worker.

/plugin marketplace add regenrek/farcall-mcp
/plugin install codex-worker@farcall

Start the parent with automatic MCP backgrounding disabled.

CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS=0 MCP_TOOL_TIMEOUT=7200000 claude

In Codex, install the Claude worker.

codex plugin marketplace add regenrek/farcall-mcp
codex plugin add claude-worker@farcall

Start a new session after installation. In Codex 0.147.0 or newer, the plugin keeps the worker tool outside Code Mode without extra configuration. Follow the host setup guide for persistent settings, manual installation & a check that your host waits without polling.

Related MCP server: Code Worker MCP

Use it

Ask Claude Code to use /codex-worker:codex-worker, or Codex to use $claude-worker, with your task. For example,

Use Claude worker with this task: "Add CSV export to the reports page and run the tests."
Give me the changes and test results back.

The run tool accepts the task directly.

{
  "cwd": "/absolute/path/project",
  "delegation_id": "review-001",
  "prompt": "Review the current changes. Do not edit files. Return concrete findings.",
  "model": "claude-opus-5-5",
  "effort": "high"
}

For 1–5 parallel workers in separate checkouts, use one run_batch call. Batch usage, corrections & recovery.

Change model to an identifier supported by the worker CLI. Models, permissions & session resume.

Full logs are opt-in with trace: true. Normal runs keep only the state needed for retries & resume, plus the full answer if the returned preview is shortened. Local state & tracing.

Polling vs. MCP waiting

Estimated API costs. With polling, Claude cost $21.10 and Astra $22.12, including $9.75 for polling. Total $43.22. With MCP waiting, Claude cost $22.99 and Astra $8.11. Total $31.10.

Two runs of the same task, with estimated API costs rather than subscription spend. Implementation & review also differed, so polling does not explain the whole difference. Run J used an earlier version of the MCP worker.

See the full experiment, results & cost breakdown.

Development

Run pnpm install --frozen-lockfile & pnpm check. Build generated bundles from src/ with pnpm build.

Architecture · Verification · Release steps

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Delegates work from MCP clients (like Claude Code) to the Codex CLI, allowing spawning of autonomous Codex subagents for tasks.
    2
    765 PyPI
    176
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables asynchronous task delegation between Claude Code and Codex CLI through MCP tools, allowing either AI agent to request the other to perform tasks and monitor progress.
    11 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A task-level STDIO MCP server that lets Codex or any other MCP client hand off scoped coding jobs to an asynchronous worker agent which reads the code, edits files, and runs tests, while the client keeps ownership of planning and acceptance. Exposes submit, wait, query, follow-up, and cancel tools so multiple clients can queue and monitor tasks against a chosen project root.
    5
    1
    MIT