@minhspark/codex-mcp-bridge 1.23.0 → 1.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +32 -0
- package/README.md +269 -11
- package/assets/README.md +2 -1
- package/assets/agent-pets.svg +47 -1
- package/package.json +8 -3
- package/plugin.json +1 -1
- package/scripts/install-antigravity-bridge.mjs +233 -0
- package/scripts/install-native-relay.mjs +1 -1
- package/src/antigravity-bridge.mjs +170 -0
- package/src/antigravity-cli.mjs +248 -0
- package/src/antigravity-deliveries.mjs +93 -0
- package/src/antigravity-desktop.mjs +146 -0
- package/src/antigravity-ipc.mjs +141 -0
- package/src/antigravity-outbound-bridge.mjs +115 -0
- package/src/antigravity-outbound-targets.mjs +244 -0
- package/src/antigravity-sender-context.mjs +162 -0
- package/src/antigravity-sidecar.mjs +100 -0
- package/src/claude-bridge.mjs +6 -6
- package/src/codex-native-response.mjs +6 -2
- package/src/desktop-read-tools.mjs +3 -2
- package/src/index.mjs +5 -3
- package/src/native-relay-companion.mjs +1 -1
- package/src/peer-protocol.mjs +23 -5
- package/src/thread-delivery.mjs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,38 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [SemVer](ht
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.24.1] - 2026-10-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Native Codex turns whose `root_turn_id` names a different causal root are no longer rejected as contradictory. Membership comes from explicit turn IDs, contradictory explicit IDs are still rejected, and a turn is never selected only because its causal root matches the requested turn (#169, #171 by @deinspanjer).
|
|
12
|
+
- An accepted Desktop send whose response cannot be verified now reports `status: observation_unavailable` with `nextAction: inspect_existing_task` and the original receipt, instead of `failed`. Desktop's own `failed` or `interrupted` status is still reported when it belongs to the exact observed turn. `wait_codex_reply` with `responsePreferences` returns the same next action plus `guidance` telling the caller not to resend the prompt.
|
|
13
|
+
- When a Claude reply observation is interrupted by a new input boundary after an asynchronous or timed-out `send_to_claude_session`, the bridge now publishes a correlated bridge-status notification to `read_claude_inbox` and to the originating Codex task. It is labelled as a bridge notification rather than a Claude reply, keeps the original account and project scope, reports outcome unknown, task not cancelled and retry unsafe, and survives reload without duplication. Asynchronous send guidance now points to `read_claude_delivery` (#170, #172 by @deinspanjer).
|
|
14
|
+
|
|
15
|
+
### Upgrade
|
|
16
|
+
|
|
17
|
+
- `npm install -g @minhspark/codex-mcp-bridge@latest`, then restart Claude Desktop and Codex Desktop (or reconnect their MCP servers) so running bridges load 1.24.1.
|
|
18
|
+
|
|
19
|
+
## [1.24.0] - 2026-10-28
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Optional Antigravity MCP bridge for verified Codex and Claude Desktop callers. Select an exact existing Antigravity App conversation or explicitly create a bridge-owned CLI streaming session in the same project directory.
|
|
24
|
+
- Native App sidecar transport with current-user socket access, native workspace/project checks, busy-recipient protection, and durable request receipts. CLI streaming validates native conversation identity and preserves permission review; results and uncertain outcomes are recorded without automatic resends.
|
|
25
|
+
- `antigravity-mcp-bridge-install` configures Codex, Claude, and the App sidecar independently or together, previews changes with `--dry-run`, preserves unrelated configuration, and removes only its own registrations.
|
|
26
|
+
- Antigravity Desktop's `agent-bridge` MCP can discover, read, and send to existing Codex Desktop tasks and live Claude Desktop Code sessions in the same project. Native per-call sender metadata, process ancestry, project configuration, and permission checks preserve Antigravity authorship and recipient policy.
|
|
27
|
+
- Sidecars track their native parent process identity and exit when that parent stops, preventing a restarted App from retaining an orphan's stale connection. Desktop callers without workspace metadata resolve their directory through exact native conversation and project evidence.
|
|
28
|
+
|
|
29
|
+
### Compatibility
|
|
30
|
+
|
|
31
|
+
- Node.js 22.13 or newer is required for read-only native conversation discovery. The App adapter filters mirrored CLI records rather than trusting the database directory alone.
|
|
32
|
+
- App receipts report native acceptance; App response forwarding and creation are not implemented. CLI support uses bridge-owned headless sessions, not attachment to existing interactive terminals. Antigravity outbound is Desktop-only; nested callers and Linux host verification are unsupported. Claude socket writes remain unconfirmed until a native receipt or reply is observed.
|
|
33
|
+
|
|
34
|
+
### Verification
|
|
35
|
+
|
|
36
|
+
- Automated coverage includes real MCP transports, caller identity, project scope, current-user pipe access, duplicate requests, native metadata, recipient permission checks, durable receipt states, stream protocol failures, installer preservation, and file replacement during reads.
|
|
37
|
+
- Live Windows verification covered CLI streaming under native `request-review` permissions and both directions between Codex and Antigravity Desktop. The App replied `ANTIGRAVITY_DESKTOP_NATIVE_OK`; its outbound MCP delivered `ANTIGRAVITY_TO_CODEX_DESKTOP_OK` to the exact originating Codex task. Claude outbound routing has automated coverage; a live Claude receiver was unavailable during verification.
|
|
38
|
+
|
|
7
39
|
## [1.23.0] - 2026-10-26
|
|
8
40
|
|
|
9
41
|
### Added
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="assets/agent-pets.svg" width="
|
|
2
|
+
<img src="assets/agent-pets.svg" width="240" height="220" alt="Claude, Codex, and Antigravity connected by curved two-way arrows" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">codex-mcp-bridge</h1>
|
|
@@ -15,17 +15,33 @@
|
|
|
15
15
|
<a href="LICENSE"><img src="https://img.shields.io/npm/l/@minhspark/codex-mcp-bridge" height="20" alt="license" /></a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Connect **Claude, Codex, and Antigravity** through MCP, keeping work in each agent's own app and preserving native identity and permission checks. Supports Windows, macOS, and Linux; native Desktop integration supports Windows and macOS.
|
|
19
|
+
|
|
20
|
+
The optional **Antigravity bridge** sends work both ways between existing Desktop conversations in the same project. Codex and Claude can also start and continue bridge-owned Antigravity CLI streaming sessions. Antigravity App replies remain in the App; outbound calls from Antigravity CLI are not supported. [Setup and current limits](#antigravity-app-and-cli).
|
|
19
21
|
|
|
20
22
|
https://github.com/user-attachments/assets/98b23989-826f-4d7d-9dcb-ad7dd2739095
|
|
21
23
|
|
|
22
24
|
## Installation
|
|
23
25
|
|
|
26
|
+
Install the bridge package first, then follow the setup for the apps you use. The optional [workflow skill](#workflow-skill--npx-skills) has its own install commands; installing it does not register or start an MCP server.
|
|
27
|
+
|
|
28
|
+
### Package — npm
|
|
29
|
+
|
|
30
|
+
**macOS / Linux / WSL**
|
|
31
|
+
|
|
24
32
|
```bash
|
|
25
33
|
npm install -g @minhspark/codex-mcp-bridge@latest
|
|
26
34
|
```
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
**Windows PowerShell**
|
|
37
|
+
|
|
38
|
+
```powershell
|
|
39
|
+
npm.cmd install -g @minhspark/codex-mcp-bridge@latest
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Requires **Node.js 22.13+**. Use `.cmd` for this package's commands in Windows PowerShell. Run the same package command to update; reconnect MCP servers if their settings or installation paths changed.
|
|
43
|
+
|
|
44
|
+
### Package — Homebrew
|
|
29
45
|
|
|
30
46
|
On macOS or Linux you can install with [Homebrew](https://github.com/buidangminh23/homebrew-tap) instead, which brings its own Node.js:
|
|
31
47
|
|
|
@@ -33,9 +49,87 @@ On macOS or Linux you can install with [Homebrew](https://github.com/buidangminh
|
|
|
33
49
|
brew install buidangminh23/tap/codex-mcp-bridge
|
|
34
50
|
```
|
|
35
51
|
|
|
36
|
-
|
|
52
|
+
**Homebrew — update**
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
brew upgrade codex-mcp-bridge
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The installers record Homebrew's stable `opt` paths, so registrations keep working after an upgrade and running bridges reload the new version. Keep one install channel: whichever of npm or Homebrew comes first on `PATH` provides the commands.
|
|
59
|
+
|
|
60
|
+
[Windows](#windows-powershell) · [macOS](#macos-terminal) · [Claude Code](#register-claude-code) · [Antigravity](#antigravity-app-and-cli) · [VS Code](#vs-code-extensions--windows-preview) · [Linux / WSL](#linux--wsl-bash) · [NPX Skills](#workflow-skill--npx-skills) · [ChatGPT plugin](#chatgpt-plugin)
|
|
61
|
+
|
|
62
|
+
| Integration | Setup |
|
|
63
|
+
| --- | --- |
|
|
64
|
+
| Claude Desktop Code → Codex Desktop | Native relay plus user-level `claude mcp add` registration below |
|
|
65
|
+
| Claude Code CLI → local Codex app-server | CLI registration with Desktop mode disabled |
|
|
66
|
+
| Claude Desktop shared MCP → local Codex app-server | Optional legacy registration below |
|
|
67
|
+
| Codex → Claude Desktop Code | `claude-mcp-bridge-install` with `CODEX_BRIDGE_DESKTOP_TASKS=1` |
|
|
68
|
+
| Codex / Claude Desktop Code → Antigravity App or CLI | Antigravity `--codex` / `--claude` registrations |
|
|
69
|
+
| Antigravity App → Codex / Claude Desktop Code | Antigravity `--desktop` registration |
|
|
70
|
+
| Claude Code ↔ Codex inside VS Code | Separate Windows preview registrations below |
|
|
71
|
+
| ChatGPT → paired Codex Desktop | Hosted plugin plus `codex-sites-connector --pair` |
|
|
72
|
+
|
|
73
|
+
### Antigravity App and CLI
|
|
74
|
+
|
|
75
|
+
Install and sign in to the Antigravity App and/or `agy` CLI, then run:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
antigravity-mcp-bridge-install --all
|
|
79
|
+
```
|
|
37
80
|
|
|
38
|
-
|
|
81
|
+
**Windows PowerShell — all components**
|
|
82
|
+
|
|
83
|
+
```powershell
|
|
84
|
+
antigravity-mcp-bridge-install.cmd --all
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Codex → Antigravity App / CLI**
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
antigravity-mcp-bridge-install --codex
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Claude Desktop Code → Antigravity App / CLI**
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
antigravity-mcp-bridge-install --claude
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Antigravity App sidecar and outbound bridge**
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
antigravity-mcp-bridge-install --desktop
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Preview the installation without changing configuration**
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
antigravity-mcp-bridge-install --all --dry-run
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Use `.cmd` for each command on Windows. `--all` includes all three components; the individual commands are alternatives when only some clients are needed. The installer preserves unrelated configuration and native permissions. Reload Codex/Claude to load the new MCP server. Antigravity launches its own sidecar from `~/.gemini/config/sidecars/codex-bridge/sidecar.json`; do not run that sidecar manually or copy authentication environment variables between processes.
|
|
112
|
+
|
|
113
|
+
The `agy` CLI must be installed and signed in separately. CLI sessions are started through the `start_antigravity_cli_session` MCP tool; there is no separate `--cli` installer flag. Set `ANTIGRAVITY_CLI_BIN` to the absolute `agy` executable path in the MCP server environment if automatic discovery cannot find it.
|
|
114
|
+
|
|
115
|
+
| Tool | Behavior |
|
|
116
|
+
| --- | --- |
|
|
117
|
+
| `antigravity_bridge_status` | Reports native sidecar connectivity and CLI capabilities. |
|
|
118
|
+
| `list_antigravity_conversations` | Lists the selected surface in the verified sender's exact project directory. |
|
|
119
|
+
| `send_to_antigravity_conversation` | Sends to an exact existing App conversation or a CLI session owned by this bridge. |
|
|
120
|
+
| `start_antigravity_cli_session` | Starts an explicitly authorized CLI streaming session with its initial prompt. |
|
|
121
|
+
| `read_antigravity_delivery` | Reads the original receipt without resending. |
|
|
122
|
+
| `close_antigravity_cli_session` | Closes an idle CLI session owned by the sender. |
|
|
123
|
+
|
|
124
|
+
Generate a new `requestId` UUID for each intentional delivery and reuse it only when inspecting or retrying that same delivery. A pending or unknown receipt must be inspected before further action. Receipts survive process restarts; live CLI processes do not. A CLI timeout retains its conversation identity for inspection. No mode or permission-bypass flag is added; headless tool requests requiring interaction may be denied by Antigravity.
|
|
125
|
+
|
|
126
|
+
The App adapter uses the official [sidecar `agentapi`](https://antigravity.google/docs/sidecars), verifies native workspace metadata, and refuses busy or ambiguous destinations. An App `accepted` receipt confirms native acceptance, not a completed agent reply. Open the exact App conversation to read its response. The CLI adapter uses the official [streaming JSON interface](https://antigravity.google/docs/cli/headless) and returns the agent's final result. It creates bridge-owned headless sessions; it does not attach to an already running interactive terminal. The two surfaces never substitute for one another.
|
|
127
|
+
|
|
128
|
+
The installer also registers **agent-bridge inside Antigravity Desktop** in `~/.gemini/config/mcp_config.json`. Reload the App after installation to discover it. From an Antigravity conversation, ask the agent to check `agent_bridge_status`, call `list_agent_tasks` for `codex` or `claude`, then use `send_to_agent_task` with the exact destination ID, project directory, prompt, and a fresh request UUID. Claude destinations also require their native `taskId`. Read `read_agent_delivery` without resending; `read_agent_task` reads the selected Codex task's response or Claude's native task metadata.
|
|
129
|
+
|
|
130
|
+
Outbound calls verify Antigravity's per-call MCP metadata, Desktop process ancestry, native workspace/project, and effective permission settings. The sender is attributed as Antigravity. Codex keeps its native task settings; Claude's inbound policy and permission-class checks remain in effect. A socket write to Claude is `sent_unconfirmed`, not acceptance or completion. After MCP restart, a saved receipt remains available but live Claude reply tracking may be unavailable; inspect the exact native task before further action.
|
|
131
|
+
|
|
132
|
+
Outbound support targets existing local Codex tasks and live Claude Desktop Code sessions in the same project. Nested Antigravity callers, outbound CLI callers, App conversation creation, and automatic App reply forwarding are not implemented. Windows Desktop is the live verification platform; macOS ancestry has unit coverage and Linux outbound host verification fails closed. The existing Codex↔Claude bridge remains separate. Use `antigravity-mcp-bridge-install --all --remove` to remove only these registrations; delivery receipts are retained.
|
|
39
133
|
|
|
40
134
|
### Windows (PowerShell)
|
|
41
135
|
|
|
@@ -46,7 +140,6 @@ If the Codex CLI is missing, run `winget install --id OpenAI.Codex --exact`, ope
|
|
|
46
140
|
```powershell
|
|
47
141
|
$env:CODEX_EXE = (Get-Command codex.exe).Source
|
|
48
142
|
codex-native-relay-install.cmd --desktop-tasks
|
|
49
|
-
codex-mcp-bridge-install.cmd --desktop-tasks
|
|
50
143
|
$env:CODEX_BRIDGE_DESKTOP_TASKS = "1"
|
|
51
144
|
claude-mcp-bridge-install.cmd
|
|
52
145
|
```
|
|
@@ -61,7 +154,6 @@ Install and sign in to Codex Desktop and Claude Desktop. Save the project in Cod
|
|
|
61
154
|
npm install -g @openai/codex@latest
|
|
62
155
|
codex login
|
|
63
156
|
codex-native-relay-install --desktop-tasks
|
|
64
|
-
codex-mcp-bridge-install --desktop-tasks
|
|
65
157
|
CODEX_BRIDGE_DESKTOP_TASKS=1 claude-mcp-bridge-install
|
|
66
158
|
```
|
|
67
159
|
|
|
@@ -71,6 +163,8 @@ Keep bootstrap enabled on the first relay install. Next: [register Claude Code](
|
|
|
71
163
|
|
|
72
164
|
Claude Desktop and Claude Code have separate MCP registrations. If `claude --version` is unavailable, [install Claude Code](https://code.claude.com/docs/en/setup) first. For a new registration, replace the example project path below with the actual directory. Preserve custom settings if `codex-bridge` is already registered.
|
|
73
165
|
|
|
166
|
+
Native Desktop handoffs require a verified Claude Desktop **Code** session. A shared Desktop chat MCP registration cannot establish that sender identity. If you also keep the optional legacy shared registration below, close Claude before editing its `claude_desktop_config.json` and rename that entry from `codex-bridge` to `codex-bridge-desktop`, keeping its contents. Otherwise the shared entry can shadow the user-level Code registration and hide the calling task. Later Desktop installer runs recognize the renamed entry.
|
|
167
|
+
|
|
74
168
|
<details>
|
|
75
169
|
<summary>Windows PowerShell</summary>
|
|
76
170
|
|
|
@@ -101,19 +195,65 @@ claude mcp add --scope user codex-bridge \
|
|
|
101
195
|
-- "$(command -v node)" "$bridge_root/src/mcp-supervisor.mjs" index.mjs
|
|
102
196
|
```
|
|
103
197
|
|
|
104
|
-
For a Homebrew install, use
|
|
198
|
+
For a Homebrew install, use this complete command with stable `opt` paths instead:
|
|
105
199
|
|
|
106
200
|
```bash
|
|
107
201
|
bridge_root="$(brew --prefix)/opt/codex-mcp-bridge/libexec/lib/node_modules/@minhspark/codex-mcp-bridge"
|
|
108
202
|
node_bin="$(brew --prefix)/opt/node/bin/node"
|
|
203
|
+
claude mcp add --scope user codex-bridge \
|
|
204
|
+
-e CODEX_BIN="$(command -v codex)" \
|
|
205
|
+
-e CODEX_BRIDGE_DESKTOP_TASKS=1 \
|
|
206
|
+
-e CODEX_BRIDGE_AUTOSTART=0 \
|
|
207
|
+
-e CODEX_BRIDGE_THREAD_POLICY=roots \
|
|
208
|
+
-e CODEX_BRIDGE_ALLOWED_ROOTS="$HOME/YourProject" \
|
|
209
|
+
-- "$node_bin" "$bridge_root/src/mcp-supervisor.mjs" index.mjs
|
|
109
210
|
```
|
|
110
211
|
|
|
111
|
-
and end the command with `-- "$node_bin" "$bridge_root/src/mcp-supervisor.mjs" index.mjs`.
|
|
112
|
-
|
|
113
212
|
</details>
|
|
114
213
|
|
|
115
214
|
Separate multiple allowed directories with `;` on Windows or `:` on macOS/Linux.
|
|
116
215
|
|
|
216
|
+
`codex-bridge-code-install` is for checking or migrating an existing supervised Code registration to a shared project policy; it does not replace the first-install commands above. See [project onboarding](docs/project-onboarding.md).
|
|
217
|
+
|
|
218
|
+
### Claude Desktop shared MCP — legacy option
|
|
219
|
+
|
|
220
|
+
This optional registration connects a shared Claude Desktop MCP server to local Codex app-server sessions. For verified handoffs into Codex Desktop conversations, use the Code-tab setup above. Install and sign in to the Codex CLI first.
|
|
221
|
+
|
|
222
|
+
**Windows PowerShell**
|
|
223
|
+
|
|
224
|
+
```powershell
|
|
225
|
+
$env:CODEX_EXE = (Get-Command codex.exe).Source
|
|
226
|
+
$env:CODEX_BRIDGE_DESKTOP_TASKS = "0"
|
|
227
|
+
$env:CODEX_BRIDGE_AUTOSTART = "1"
|
|
228
|
+
codex-mcp-bridge-install.cmd
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**macOS Terminal**
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
CODEX_BRIDGE_DESKTOP_TASKS=0 CODEX_BRIDGE_AUTOSTART=1 codex-mcp-bridge-install
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
The installer updates Claude Desktop's shared MCP configuration. Close and reopen Claude after configuration changes, and keep a distinct `codex-bridge-desktop` entry name if also using the user-level Code registration. `--desktop-tasks` configures the native destination mode but does not make a shared Desktop chat server a verified Code sender.
|
|
238
|
+
|
|
239
|
+
### VS Code extensions — Windows preview
|
|
240
|
+
|
|
241
|
+
For existing Claude Code and Codex extension conversations inside the same VS Code project, register the separate preview bridge in both clients. Install the npm package first and replace the example root with the real project directory. These registrations preserve extension sender checks and do not provide Desktop access.
|
|
242
|
+
|
|
243
|
+
```powershell
|
|
244
|
+
$bridgeRoot = Join-Path ((npm.cmd root -g).Trim()) '@minhspark/codex-mcp-bridge'
|
|
245
|
+
$nodeBin = (Get-Command node.exe).Source
|
|
246
|
+
$projectRoot = 'C:\Projects\YourProject'
|
|
247
|
+
claude mcp add --scope user codex-vscode-bridge `
|
|
248
|
+
-e "VSCODE_BRIDGE_ALLOWED_ROOTS=$projectRoot" `
|
|
249
|
+
-- $nodeBin (Join-Path $bridgeRoot 'src/vscode-bridge.mjs') claude
|
|
250
|
+
codex.exe mcp add claude-vscode-bridge `
|
|
251
|
+
--env "VSCODE_BRIDGE_ALLOWED_ROOTS=$projectRoot" `
|
|
252
|
+
-- $nodeBin (Join-Path $bridgeRoot 'src/vscode-bridge.mjs') codex
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Reload the VS Code window after registration. Separate multiple explicit project roots with `;`; drive roots are not accepted. See [preview behavior and limits](REFERENCE.md#vs-code-extension-bridge-windows-preview).
|
|
256
|
+
|
|
117
257
|
### Native relay pipe forwarding
|
|
118
258
|
|
|
119
259
|
On Windows and macOS, `codex-native-relay-install` adds this to the relay's entry in `~/.codex/config.toml` (or `$CODEX_HOME/config.toml`) and keeps its other settings:
|
|
@@ -127,7 +267,7 @@ If you register the relay by hand, add the same line and append the variable nam
|
|
|
127
267
|
|
|
128
268
|
### Linux / WSL (Bash)
|
|
129
269
|
|
|
130
|
-
Use Node.js 22+ and signed-in Codex and Claude Code CLIs under the same Linux user. This mode uses a local app-server; native Desktop integration requires Windows or macOS.
|
|
270
|
+
Use Node.js 22.13+ and signed-in Codex and Claude Code CLIs under the same Linux user. This mode uses a local app-server; native Desktop integration requires Windows or macOS.
|
|
131
271
|
|
|
132
272
|
<details>
|
|
133
273
|
<summary>CLI registration commands</summary>
|
|
@@ -150,6 +290,114 @@ Replace `$HOME/YourProject` with the actual project directory. WSL and Windows u
|
|
|
150
290
|
|
|
151
291
|
</details>
|
|
152
292
|
|
|
293
|
+
<details>
|
|
294
|
+
<summary>Linux Homebrew registration commands</summary>
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
npm install -g @openai/codex@latest
|
|
298
|
+
codex login
|
|
299
|
+
CODEX_BRIDGE_DESKTOP_TASKS=0 claude-mcp-bridge-install
|
|
300
|
+
bridge_root="$(brew --prefix)/opt/codex-mcp-bridge/libexec/lib/node_modules/@minhspark/codex-mcp-bridge"
|
|
301
|
+
node_bin="$(brew --prefix)/opt/node/bin/node"
|
|
302
|
+
claude mcp add --scope user codex-bridge \
|
|
303
|
+
-e CODEX_BIN="$(command -v codex)" \
|
|
304
|
+
-e CODEX_BRIDGE_DESKTOP_TASKS=0 \
|
|
305
|
+
-e CODEX_BRIDGE_AUTOSTART=1 \
|
|
306
|
+
-e CODEX_BRIDGE_THREAD_POLICY=roots \
|
|
307
|
+
-e CODEX_BRIDGE_ALLOWED_ROOTS="$HOME/YourProject" \
|
|
308
|
+
-- "$node_bin" "$bridge_root/src/mcp-supervisor.mjs" index.mjs
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
Replace `$HOME/YourProject` with the actual project directory. The bridge and Node paths remain stable across Homebrew upgrades.
|
|
312
|
+
|
|
313
|
+
</details>
|
|
314
|
+
|
|
315
|
+
### Workflow skill — NPX Skills
|
|
316
|
+
|
|
317
|
+
The repository includes one portable skill, `codex-bridge`, for the [hosted Codex Bridge workflow](#chatgpt-plugin). These commands install its Markdown instructions only. Using the workflow requires a client with the hosted plugin's MCP tools and a paired connector; copying the skill does not install the local bridges, configure authentication, or make a client a supported native sender.
|
|
318
|
+
|
|
319
|
+
Use a Node.js version supported by the current [Skills CLI](https://github.com/vercel-labs/skills). The examples target the current project; add `-g` for a user-wide install. In Windows PowerShell use `npx.cmd` instead of `npx`.
|
|
320
|
+
|
|
321
|
+
**NPX Skills — select the workflow skill**
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**List available skills without installing**
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
npx skills add buidangminh23/codex-mcp-bridge --list
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
**Claude Code**
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a claude-code
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**Codex**
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a codex
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
**Cursor**
|
|
346
|
+
|
|
347
|
+
```bash
|
|
348
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a cursor
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
**Gemini CLI**
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a gemini-cli
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**Antigravity**
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a antigravity
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
**Antigravity CLI**
|
|
364
|
+
|
|
365
|
+
```bash
|
|
366
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a antigravity-cli
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Cline**
|
|
370
|
+
|
|
371
|
+
```bash
|
|
372
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a cline
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
**OpenCode**
|
|
376
|
+
|
|
377
|
+
```bash
|
|
378
|
+
npx skills add buidangminh23/codex-mcp-bridge --skill codex-bridge -a opencode
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
**All Skills CLI agents — user-wide, without prompts**
|
|
382
|
+
|
|
383
|
+
```bash
|
|
384
|
+
npx skills add buidangminh23/codex-mcp-bridge --all -g
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
`--all` installs every skill in the repository for every supported Skills CLI agent, not just detected apps. Choose an individual `-a` command above for a narrower install. Agent names and scope flags follow the [Skills CLI reference](https://github.com/vercel-labs/skills/blob/main/docs/commands.md).
|
|
388
|
+
|
|
389
|
+
**Legacy `add-skill` command**
|
|
390
|
+
|
|
391
|
+
```bash
|
|
392
|
+
npx add-skill buidangminh23/codex-mcp-bridge
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
`add-skill` is deprecated and forwards to `npx skills add`; use the current command above, especially on Windows where the legacy wrapper may fail to find `npx`.
|
|
396
|
+
|
|
397
|
+
**Marketplace and Gemini extension installs**
|
|
398
|
+
|
|
399
|
+
This repository ships a hosted ChatGPT plugin and the skill above. It does not currently publish a Claude/Codex marketplace catalog or a `gemini-extension.json` package. Consequently, `/plugin marketplace add`, `codex plugin marketplace add`, and `gemini extensions install` are not installation routes for this repository. Use the native bridge setup, NPX skill commands, or [hosted plugin setup](#chatgpt-plugin) as appropriate.
|
|
400
|
+
|
|
153
401
|
### Verify the installation
|
|
154
402
|
|
|
155
403
|
Reconnect the affected MCP servers in the actual client tasks; Claude Code provides `/mcp`. Run these **MCP tools** inside the apps:
|
|
@@ -159,6 +407,16 @@ Reconnect the affected MCP servers in the actual client tasks; Claude Code provi
|
|
|
159
407
|
| Claude Code | `codex_bridge_status` |
|
|
160
408
|
| Codex | `claude_bridge_status` |
|
|
161
409
|
| Codex Desktop | `native_relay_status` |
|
|
410
|
+
| Codex / Claude Desktop Code with Antigravity installed | `antigravity_bridge_status` |
|
|
411
|
+
|
|
412
|
+
To check CLI registrations without sending work:
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
codex mcp list
|
|
416
|
+
claude mcp list
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
On Windows use `codex.exe mcp list`. An installed skill is listed separately with `npx skills list` (add `-g` for user-wide skills); it is not an MCP registration.
|
|
162
420
|
|
|
163
421
|
Send a short message and confirm its reply **in both directions**. Registration alone does not prove delivery.
|
|
164
422
|
|
package/assets/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Artwork sources
|
|
2
2
|
|
|
3
|
-
`agent-pets.svg`
|
|
3
|
+
`agent-pets.svg` places Claude Clawd, the original Codex companion, and the official Google Antigravity logo around a circle, connected by curved two-way arrows. The artwork preserves the original colors and proportions of all three marks.
|
|
4
4
|
|
|
5
5
|
- Claude Clawd: `ClaudeCode` vector from [LobeHub Icons](https://github.com/lobehub/lobe-icons), copied from the `icons-pro-max` asset catalog. Copyright (c) 2023 LobeHub; MIT license below.
|
|
6
6
|
- Codex companion: original idle frame from OpenAI's Codex desktop companion artwork (`codex-spritesheet-v6`, cell 0,0, 192 × 208 pixels). Copyright OpenAI. This third-party artwork and the represented trademarks are not covered by this repository's MIT license.
|
|
7
|
+
- Antigravity: original vector mark from the [official Google Antigravity favicon](https://www.antigravity.google/favicon.svg), retrieved October 28, 2026. The favicon background is omitted; the logo paths, colors, masks, and filters are preserved. Copyright Google. This third-party artwork and the represented trademarks are not covered by this repository's MIT license.
|
|
7
8
|
|
|
8
9
|
## LobeHub Icons license
|
|
9
10
|
|