openai-suite_bridge
Provides tools for using OpenAI Platform API capabilities such as Responses with async background reasoning, structured JSON output, web search, code interpreter, vision and PDF inputs, GPT-Image generation/editing, audio transcription and speech synthesis, and model listing; also supports local Codex CLI workflows against a ChatGPT subscription.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Overview
OpenAI & Codex Suite connects both OpenAI billing pools cleanly into Google Antigravity without mixing quotas or bloating agent context:
ChatGPT Subscription Pool (
codex login) — works with any ChatGPT subscription (Plus, Pro 100, Pro 200, Pro 500) via your local Codex CLI:Coding, debugging, refactoring, thread continuation (
codex_resume), warm-context session branching (codex_fork), managed Git worktrees (worktree: true), and multi-mode read-only code reviews (standard,adversarial,design, and paralleltwo-pass).
OpenAI Platform API Pool (
OPENAI_API_KEY) — optional, uses your OpenAI Platform API credits:Responses API with automatic async background polling for deep
xhigh/maxreasoning, structured JSON Schema outputs,web_searchwith extracted citations, sandboxedcode_interpreter, vision, and PDF/document inputs.GPT-Image API (
gpt-image-2.6-sunburst,gpt-image-2.6-flare,gpt-image-1.5) for transparent PNG/WEBP, JPEG, GIF, and scalable SVG generation & editing.Audio API for transcription (
gpt-4o-transcribe/whisper-1) and speech synthesis (gpt-4o-mini-tts).
flowchart LR
AGY["Antigravity / /swarm"] --> Guard["hooks.json PreToolUse Guard"]
AGY --> Worker["codex-worker (flash_lite)"]
AGY --> MCP["openai-suite_bridge MCP Server"]
Worker --> MCP
MCP --> Codex["Local Codex CLI (ChatGPT Plus / Pro)"]
MCP --> OAI["OpenAI Platform API (Responses / GPT-Image / Audio)"]
MCP --> UI["Interactive MCP App UI (ui://openai-suite/app.html)"]
MCP --> Store["PLUGIN_DATA (jobs + usage.jsonl)"]Related MCP server: Codex Orbit MCP Server
Quick Start
Prerequisites
Node.js
>= 20Codex CLI authenticated with your ChatGPT account (
codex login) — required forcodex_*toolsOpenAI API Key (optional) — only needed for
openai_*Platform API tools (Responses,GPT-Image,Audio) oruse_api_key: true
Install into Antigravity
Clone directly into Antigravity's global plugins folder and install production dependencies:
git clone https://github.com/aurelianvolturi/openai-suite.git ~/.gemini/config/plugins/openai-suite
cd ~/.gemini/config/plugins/openai-suite
npm ci --omit=devAntigravity automatically discovers plugins placed under ~/.gemini/config/plugins/<name>/ (no manual registration needed). The prebuilt MCP App UI bundle (ui/dist/app.html) is included so the interactive dashboard works immediately after npm ci --omit=dev.
Optional API Key: Open Antigravity Customizations → Installed → OpenAI & Codex Suite and enter your
OPENAI_API_KEY(or leave it asskipif you only want local Codex CLI tools).
Updating
cd ~/.gemini/config/plugins/openai-suite
git pull && npm ci --omit=devThen restart openai-suite_bridge from MCP Servers settings (or reload Antigravity).
Tools Reference
ChatGPT Subscription Tools (Local Codex CLI)
Tool | Loading | Background | Description |
| Eager | Always | Run coding, debugging, or research with dynamic family aliases ( |
| Eager | Always | Continue an existing Codex thread by |
| Lazy | Always | Fork an existing |
| Eager | Always | Read-only |
| Lazy | Sync | Async health check: Codex CLI version, auth status, cached models, resolved aliases, API key status, usage telemetry, recent jobs, and optional |
| Lazy | Sync | Inspect a recorded job by |
| Lazy | Sync | Cleanly terminate a running Codex process tree. |
OpenAI Platform API & Dashboard Tools
Tool | Loading | Background | Description |
| Lazy | Sync | Opens the interactive OpenAI & Codex MCP App panel in the side pane ( |
| Lazy | Sync | Usage telemetry split by ChatGPT subscription vs OpenAI Platform API ( |
| Lazy | Always | Responses API with automatic async |
| Lazy | Always | Generate PNG, WEBP, JPEG, GIF, or SVG assets ( |
| Lazy | Always | Edit, inpaint, or composite local images with optional |
| Lazy | Sync | Transcribe audio/video files ( |
| Lazy | Sync | Synthesize speech audio ( |
| Lazy | Sync | List models enabled on your OpenAI Platform API organization. |
App-only UI helpers (
app_get_dashboard_state,app_get_job_detail,app_cancel_job,app_prune_jobs,app_get_image_preview) are declared withvisibility: ["app"]— hidden from the model so they add zero context-window overhead.
Interactive MCP App UI
Served from ui://openai-suite/app.html (text/html;profile=mcp-app) as a single self-contained CSP-compliant HTML bundle that automatically adapts to Antigravity's light/dark theme:
Control Panel & Usage Dashboard (
aux_pane&globalsidebar): monitor CLI/API readiness, active & historical jobs, inspect unclipped outputs without extraread_filecalls, runcodex doctor, cancel running jobs, prune old logs, and launchResume/Forkprompts directly into chat.Code Review Viewer (inline on
codex_review): verdict banner, risk-signal badges,P0/P1/P2severity filters, pass filters (bugs/adversarial/design), live text search, clickablefile:linejumps into Antigravity's side pane, and one-click Ask to Fix handoff.Visual Asset Preview (inline on
openai_image_*): renders generated PNG/WEBP/JPEG/GIF/SVG assets withchecker/light/darkbackdrop toggles and one-click Iterate / Edit.
Bundled Customizations
Component | Path | Purpose |
Skills |
| Task delegation, debugging, |
| Cross-model | |
| Multi-agent | |
| GPT-Image generation, transparent UI assets, SVG/GIF, and editing | |
Subagent |
| Thin |
Rule |
| Compact always-on billing & tier discipline rule |
Hook |
|
|
Security, Reliability & Configuration
Cancellation & Progress: Honors MCP
extra.signal(immediately terminating Codex process trees or calling OpenAI/responses/{id}/cancel) and streamsnotifications/progressupdates.Non-blocking Event Loop: All Git, Codex status, and job-list operations are asynchronous; Codex binary resolution is memoized.
Secret & Disk Hygiene: Untracked sensitive files (
.env*,*.pem,*.key,id_ed25519,*credentials*.json) are excluded from inline review prompts;PLUGIN_DATAdirectories and files use0700/0600permissions, atomic writes, orphanedrunning-job reconciliation on startup, SHA-256 API-key rotation detection, and automatic log pruning.Guardrail Hook: To disable the
PreToolUseconfirmation prompt, set"enabled": falseinhooks.json.
Optional Environment Variables
Variable | Default | Description |
| Auto-detected | Explicit path to the |
|
| Custom OpenAI-compatible API base URL |
|
| Maximum historical job records kept in |
|
| Maximum age (days) of retained job artifacts |
|
| Override path to MCP App HTML for rapid UI iteration |
Development & Testing
npm ci # Install runtime + devDependencies (esbuild, @modelcontextprotocol/ext-apps)
npm run build:ui # Rebuild self-contained ui/dist/app.html
npm test # Run unit & MCP protocol integration tests (node --test)
npm run check # Syntax checks + full test suiteLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables Antigravity to delegate coding, debugging, refactoring, and code reviews to OpenAI Codex through a persistent app-server bridge, with thread continuity, approvals, isolated worktrees, and multimodal inputs.11MIT
- AlicenseNot gradedqualityBmaintenanceEnables Gemini in Google Antigravity to delegate coding, testing, debugging, and review tasks to a local OpenAI Codex CLI while providing zero-token live monitoring of progress, quotas, sessions, and history.7MIT
- AlicenseNot gradedqualityBmaintenanceConnects AI coding agents to a local OpenAI Codex CLI, enabling prompt execution, git diff review, live quota-aware routing, resumable background jobs, and multimodal input through MCP.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables Antigravity's primary agent to delegate bounded child tasks to OpenAI Codex with isolated worktrees, streaming timelines, diffs, follow-ups, and interactive approvals. It supports cross-model reviews, implementation experiments, and background task tracking through an MCP App UI.MIT