プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

codex-bridge

作者:xallindrome-labsバージョン 0.1.0i★ –iパソコンで動く
レジストリ名io.github.xallindrome-labs/codex-bridge

インストール

概要

作者による説明(英語の原文)

Lets Claude Code consult the Codex CLI for plans and images, as durable background jobs.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: CODEX_BIN, CODEX_BRIDGE_HOME, CODEX_BRIDGE_IDLE_TIMEOUT_MS, CODEX_BRIDGE_PLAN_MODEL, CODEX_BRIDGE_PLAN_EFFORT, CODEX_BRIDGE_IMAGE_MODEL, CODEX_BRIDGE_IMAGE_EFFORT

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "codex-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/codex-bridge"
      ],
      "env": {
        "CODEX_BIN": "your-value",
        "CODEX_BRIDGE_HOME": "your-value",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "your-value",
        "CODEX_BRIDGE_PLAN_MODEL": "your-value",
        "CODEX_BRIDGE_PLAN_EFFORT": "your-value",
        "CODEX_BRIDGE_IMAGE_MODEL": "your-value",
        "CODEX_BRIDGE_IMAGE_EFFORT": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add codex-bridge --env CODEX_BIN=your-value --env CODEX_BRIDGE_HOME=your-value --env CODEX_BRIDGE_IDLE_TIMEOUT_MS=your-value --env CODEX_BRIDGE_PLAN_MODEL=your-value --env CODEX_BRIDGE_PLAN_EFFORT=your-value --env CODEX_BRIDGE_IMAGE_MODEL=your-value --env CODEX_BRIDGE_IMAGE_EFFORT=your-value -- npx -y @xallindrome-labs/codex-bridge

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "codex-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/codex-bridge"
      ],
      "env": {
        "CODEX_BIN": "your-value",
        "CODEX_BRIDGE_HOME": "your-value",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "your-value",
        "CODEX_BRIDGE_PLAN_MODEL": "your-value",
        "CODEX_BRIDGE_PLAN_EFFORT": "your-value",
        "CODEX_BRIDGE_IMAGE_MODEL": "your-value",
        "CODEX_BRIDGE_IMAGE_EFFORT": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "codex-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/codex-bridge"
      ],
      "env": {
        "CODEX_BIN": "your-value",
        "CODEX_BRIDGE_HOME": "your-value",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "your-value",
        "CODEX_BRIDGE_PLAN_MODEL": "your-value",
        "CODEX_BRIDGE_PLAN_EFFORT": "your-value",
        "CODEX_BRIDGE_IMAGE_MODEL": "your-value",
        "CODEX_BRIDGE_IMAGE_EFFORT": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • CODEX_BIN env
    Path to the Codex CLI binary. Auto-detected when unset.
  • CODEX_BRIDGE_HOME env
    Where job files are stored. Default: ~/.codex-bridge
  • CODEX_BRIDGE_IDLE_TIMEOUT_MS env
    Stop a run after this many ms with no Codex output. Default: 600000
  • CODEX_BRIDGE_PLAN_MODEL env
    Model for codex_plan. Default: your Codex config.
  • CODEX_BRIDGE_PLAN_EFFORT env
    Reasoning effort for codex_plan. Default: your Codex config.
  • CODEX_BRIDGE_IMAGE_MODEL env
    Model for codex_image. Default: gpt-6-luna
  • CODEX_BRIDGE_IMAGE_EFFORT env
    Reasoning effort for codex_image. Default: high

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント xallindrome-labs で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32683件のうち0%よりスターが多い
  • このカテゴリのほかの32683件のうち71%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32683件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

codex-bridgeは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは15 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

codex-bridge

Codex jobs for Claude Code that survive crashes, closed windows and reboots, with Codex image generation built in. A dependency-free MCP server built Windows-first: every call is a job saved on disk, so you can close Claude, lose power, or kill a process, and pick the work up again with codex_resume.

Roles: Claude Code implements. Codex plans and builds images. Optionally (opt-in, one folder), Codex can also write code while Claude reviews: see Let Codex write code. And an optional pane beside the chat lists your jobs live and shows your Codex usage and when it resets: see Codex jobs pane.

The server calls in this recording are real (Codex at effort: low, idle time trimmed); the claude mcp add line is scripted. The raw recording is docs/demo.cast; play it with asciinema play docs/demo.cast.

Quickstart

You need Node.js 20 or newer and the Codex CLI installed and logged in.

claude mcp add codex-bridge -- npx -y @xallindrome-labs/codex-bridge

Restart Claude Code, then ask it something like *"Get a plan from Codex for adding rate limiting, in the background, and keep going"*. Claude will call codex_plan with background: true and collect the answer later.

Other MCP clients: run npx -y @xallindrome-labs/codex-bridge as a stdio server.

Platform note: developed and tested on Windows 11, where real Codex jobs have been run. CI checks on Linux, macOS and Windows (Node 20 and 22) that the server starts, speaks MCP and works when installed from the npm tarball, and on Linux and macOS that jobs run, finish and survive the server being killed, using a fake codex. CI has no real Codex CLI, so real Codex jobs on macOS and Linux are untested. Reports and fixes are welcome.

ToolWhat it doesSandboxDefault model / effort
codex_planCodex writes implementation plans, design reviews and second opinions. It inspects the project in cwd.read-only (always)Your Codex config defaults
codex_imageCodex generates or edits images. The bridge copies each one into output_dir as soon as it's made.read-only (always)gpt-6-luna / high
codex_codeOff by default. Codex implements a change by editing files in one folder you choose. See below.workspace-write, that folder only, no networkYour Codex config defaults
codex_resultGets a job's result or progress (wait_seconds up to 240), or lists recent jobs.
codex_resumeContinues an interrupted, timed-out or failed job from where it stopped.
codex_cancelStops a running job.

codex_plan, codex_image and codex_code accept:

  • effort: low, medium, high, xhigh, max or ultra (Luna supports up to max).
  • model: overrides the default model for that call.
  • background: true: returns a job_id immediately so Claude can keep working.
  • session_id: continues an earlier Codex thread, for example "make the icon darker".

codex_image also takes count, the number of images wanted. Set it for batches: it enables k/count progress and resumes that ask for exactly the missing images.

Let Codex write code (opt-in)

By default Codex can only read. If you want it to implement things while Claude reviews, name the one folder it may edit:

claude mcp add codex-bridge -e CODEX_BRIDGE_WRITE_ROOT=/path/to/your/project -- npx -y @xallindrome-labs/codex-bridge

Restart Claude Code and a fourth tool, codex_code, appears. Ask for it in plain words: *"Have Codex implement the plan in the background, then review its diff."*

  • One folder. cwd must be CODEX_BRIDGE_WRITE_ROOT or inside it. Anything else is refused, checked on real paths so .. and symlinks don't escape. A drive root or your home folder is refused as too broad.
  • No network, no commits. Codex runs with network access off and is told to leave changes uncommitted so you can see them in git diff. The no-commit rule is a prompt, not a sandbox rule.
  • Claude reviews. Every codex_code result ends with a reminder to read the diff before accepting it. A failed or cancelled run says Codex may have left partial edits.
  • Same job machinery. It survives restarts, background: true and codex_resume work the same way, and a resume re-checks the folder rule.
  • Temp files. In our test on Windows 11, writes outside the folder and network access were blocked, but the system temp folder stayed writable. Treat temp as writable. CODEX_BRIDGE_WRITE_ALLOW_TMP=1 stops asking Codex to block it.
  • Don't edit the same files yourself while a codex_code job runs.

Unset the variable and restart, and the tool is gone; codex_plan and codex_image are always read-only.

Codex jobs pane

An optional add-on that opens a pane beside the Claude Code chat listing your Codex jobs live: running, done, interrupted, with age, request and images k/n for batches. It also shows your Codex usage: the 5-hour and weekly windows, percent used, when each resets, and how many images were generated in each (Codex has one shared meter, so images use the same limits). It only reads the job files on disk, so it shows jobs from any session, including ones that kept running after you closed Claude. It also puts codex: N running in the status line and shows a toast when a job you watched finishes.

At the prompt of a terminal Claude Code session:

/plugin install codex-jobs --marketplace xallindrome-labs/codex-bridge

In the desktop app, where /plugin does not run: click + next to the prompt box, then Plugins, Add marketplace with xallindrome-labs/codex-bridge, then Add plugin. Without a marketplace, for one session: claude --plugin-dir "$(npx -y @xallindrome-labs/codex-bridge --pane-path)".

Then type /codex-jobs. It also opens by itself the first time a job is running in a session. Details and how it works are in plugins/codex-jobs. It needs a Claude Code build that supports mods; it is tested against the engine's own test kit, not every surface's paint.

How it compares

OpenAI's codex-plugin-cc is the official way to use Codex from Claude Code, and it's good at what it does: slash commands for review and rescue. codex-bridge is an MCP server instead, with a different focus: jobs that don't get lost, and images.

Several open issues in the plugin's tracker are about jobs getting lost, and codex-bridge is designed to avoid each of them. These come from reading the designs, not from a head-to-head test:

Reported in codex-plugin-ccHow codex-bridge handles it
Background job shows "running" forever after its worker dies (#704, #699)Status is worked out from files on disk plus a heartbeat and a process check. A dead runner shows as interrupted, never "running", and codex_resume continues it.
Windows cancel silently fails (#708)Cancel writes a marker file; the runner that owns the Codex process sees it within about 2 seconds and stops the process tree by calling taskkill.exe directly, with no shell in between.
Windows broker processes leak (#718, #782)There is no shared broker. Each attempt is one runner process that exits when Codex does.
One session ending kills other sessions' jobs (#671)Runners are started outside Claude's process tree (via WMI on Windows), so closing a session can't take them down.

What the plugin does that this doesn't: slash commands, and its review-gate and rescue workflows. And this one is newer, with far fewer users. If the plugin works for you, keep using it. If you've lost jobs, or want Codex to generate images that survive a crash, try this.

Jobs survive restarts

Every call is a job saved under ~/.codex-bridge/jobs/ /, including calls that aren't run in the background.

  • Claude closes or crashes: the job keeps running. server.mjs starts runner.mjs through WMI (Win32_Process.Create), so the job isn't part of Claude Code's process tree. Closing Claude can't kill it, and any later Claude session can collect it with codex_result.
  • The job itself dies (reboot, power loss, Codex crash, or killed process): the job is marked interrupted. The next Claude session is told about it when it starts. codex_resume continues it:
  1. It copies out any images generated just before the interruption.
  2. It resumes the same Codex thread: "N are already done, generate only the remaining ones."
  3. If no Codex thread had started yet, it reruns the original request.

How images are collected

Codex never writes image files. Its image tool stores every generated image in ~/.codex/generated_images/ /. The runner checks that folder every 2 seconds and copies new images into output_dir as .png, -2.png, and so on, in the order they were made. copied.json in the job folder records what has been copied, so an image is never copied twice across attempts.

This gives three benefits:

  • Image jobs run in a read-only sandbox.
  • A crash loses at most the one image being generated.
  • Resume counts exactly what's done.

It also avoids a real problem: when Luna was allowed to save files itself, it re-typed each image as base64 through dozens of shell commands. That was slow, and the saved file no longer matched the original.

  • Codex stalls: the runner stops a run after 10 minutes with no output. The job is marked timed_out, and it can be resumed.

Each attempt keeps its own prompt.txt, events.jsonl (the Codex event stream), stderr.txt, heartbeat and result.json. Finished jobs are deleted after 14 days.

How it works

Each attempt runs codex exec --json (or codex exec resume ) with the prompt on stdin. No shell is involved.

Every call runs read-only, except codex_code when you have opted in (it runs workspace-write in your one folder, with network off). New sessions pass -s read-only plus -c sandbox_mode="read-only"; resumed sessions pass -c sandbox_mode="read-only" (codex exec resume takes no -s). Your Codex config may default to danger-full-access, but that default never applies to bridge calls. The plan smoke test checks that a write attempted from a resumed session fails.

FileRole
server.mjsThe MCP server. It creates jobs, launches runners, works out job status from the files on disk, and handles resume and cancel.
runner.mjsRuns one attempt: starts Codex, records the heartbeat, watches for a stall or cancellation, collects images and writes result.json.
lib.mjsShared helpers: finding the Codex binary, building arguments, parsing events, handling images.

Install options

# for all your projects

claude mcp add -s user codex-bridge -- npx -y @xallindrome-labs/codex-bridge

or from a local checkout

claude mcp add codex-bridge -- node /path/to/codex-bridge/server.mjs

Remove it with claude mcp remove codex-bridge (add -s user if you installed it that way).

Configuration (env vars)

VarDefault
CODEX_BINAuto-detected. It prefers a codex.exe next to codex-code-mode-host.exe, which is currently ~/.codex/plugins/.plugin-appserver/codex.exe.
CODEX_BRIDGE_HOME~/.codex-bridge

| CODEX_BRIDGE_IDLE_TIMEOUT_MS | `600

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く