v0.2.2 — OpenAI Codex Onboarding
v0.2.2 — OpenAI Codex onboarding
Date: 2026-04-27
Status: Stable, additive release on top of v0.2.1. Same protocol,
same code, same safety story — better onboarding for OpenAI Codex
users, plus client-neutral docs.
AgentBridge already worked with OpenAI Codex at the protocol level
because the bundled MCP server speaks stdio and Codex can launch
any stdio MCP server. This release closes the onboarding gap: a
dedicated Codex setup doc, copy-pasteable config.toml snippets, an
AGENTS.md for any AI coding agent looking at the
repo, an experimental local plugin skeleton, and an updated mcp-config
CLI command that emits Codex configs alongside the existing ones.
Headline changes
- Codex setup is one command.
codex mcp add agentbridge -- npx -y @marmarlabs/agentbridge-mcp-serverregisters the AgentBridge server
in Codex. config.tomlblocks for global and project-scoped Codex. Drop
the same six lines into~/.codex/config.toml(every Codex session)
or.codex/config.toml(one repo only).agentbridge mcp-configis now multi-client. The CLI prints
Codex CLI / Codexconfig.toml/ Claude Desktop / Cursor / raw
stdio snippets in one go.AGENTS.mdlands at the repo root — short, model-neutral, sits
next to the deeper Claude-focusedCLAUDE.mdfor any agent reading
the code.- No behavior change. Same MCP tools, same confirmation tokens,
same origin pinning, same loopback-only default, same audit
redaction, same simulated destructive demo actions.
What's new
Documentation
docs/codex-setup.md— full walkthrough:
three setup options (CLI, global config, project-scoped),
demo-app pairing, prompt suggestions, troubleshooting, safety
reminders, links into the rest of the docs.docs/mcp-client-setup.md—
restructured to be client-neutral with sections for OpenAI Codex,
Claude Desktop, Cursor, and custom clients, plus a "Safety
expectations for all clients" block that names the invariants
enforced regardless of which client is talking to the server.AGENTS.md— model-neutral working notes
(project summary, layout, core commands, safety invariants, release
rules, how-to-add-a-new-MCP-client). Sibling to
CLAUDE.md, which stays as the deeper
Claude-Code-specific reference.- Root
README.mdgained a "Works with MCP
clients" subsection in the wiring section, a Codex one-liner, a
Cursor JSON snippet, and anAGENTS.mdrow in the docs table.
Examples
examples/codex-config/—
copy-pasteableconfig.global.toml,config.project.toml, and a
README that explains when to use which.examples/codex-plugin/—
experimental local Codex plugin skeleton:
.codex-plugin/plugin.json,.mcp.json, and
skills/agentbridge/SKILL.md. Not a published plugin — treat
it as illustrative; the supported flow isdocs/codex-setup.md.examples/mcp-client-config/
README gained a Codex section and standardized JSON snippets on
npx -yso first-run installs don't prompt.
CLI
agentbridge mcp-confignow prints, in this order:- raw stdio command (any MCP-compatible client)
- OpenAI Codex CLI one-liner (
codex mcp add agentbridge ...) - OpenAI Codex
~/.codex/config.tomlblock - Claude Desktop JSON
- Cursor / generic MCP JSON
- Local checkout (
node ./apps/mcp-server/dist/index.js) - Safety reminder (loopback default + confirmation token reminder)
- New CLI test
(packages/cli/src/tests/cli.test.ts)
asserts each block is present in the output.
Per-package READMEs
The @marmarlabs/agentbridge-mcp-server and
@marmarlabs/agentbridge-cli READMEs got new Codex setup sections.
The other four publishable READMEs (core, sdk, scanner,
openapi) updated their Status blocks to describe v0.2.2 as the
Codex-onboarding release for consistency.
What did not change
- No protocol behavior, schema, or build-output changes.
- No safety invariant changes — confirmation gate, origin pinning,
URL allowlist, audit redaction, and simulated destructive demo
actions are byte-for-byte the same as v0.2.1. @marmarlabsscope unchanged.- All 86 existing tests still pass; the new
mcp-configtest brings
the count up. - Workspace dep ranges remain
^0.2.0—0.2.2satisfies the range,
no consumer migration required. v0.2.0 and v0.2.1 remain functional
on npm.
Setup commands users will see
OpenAI Codex CLI (one-liner):
codex mcp add agentbridge -- npx -y @marmarlabs/agentbridge-mcp-serverOpenAI Codex ~/.codex/config.toml:
[mcp_servers.agentbridge]
command = "npx"
args = ["-y", "@marmarlabs/agentbridge-mcp-server"]
startup_timeout_sec = 20
tool_timeout_sec = 60
enabled = trueSame server, same safety story — also wired up for Claude Desktop,
Cursor, and custom MCP clients via
docs/mcp-client-setup.md.
Reporting issues
- Public bugs / feature requests:
https://github.com/marmar9615-cloud/agentbridge-protocol/issues - Security issues: see
SECURITY.md. Do not
open a public issue.