Documentation
Connect Codex CLI
Give Codex CLI access to Swarmtab through the local MCP bridge.
Keep Swarmtab open. In the app, open Connect and select Codex CLI. Copy its setup snippet: it contains the actual executable path on your computer. The macOS path below is an example; replace it with that path. Do not copy a token or a fixed port.
Setup
Config location: ~/.codex/config.toml.
Run the command, restart Codex, then check /mcp or codex mcp list.
codex mcp add swarmtab -- '/Applications/Swarmtab.app/Contents/MacOS/swarmtab-app' bridge
Keep any other server entries. For JSON, merge the swarmtab entry into the existing server object; do not replace the whole config. For shell commands, run them from your intended project.
Check the connection
Ask the client to list Swarmtab’s tools, then open example.com and read its heading. You should see an agent in the Swarmtab window.
- Server missing: check CODEX_HOME and project config.
- Startup timed out: open Swarmtab first, then restart Codex.
Preview a config change
The separate CLI can preview the entry for a file you choose; the app executable supports only bridge. The CLI is not part of the Mac download yet; if you have it, use its full path if it is not on PATH. For example, from a project with a Cursor config:
swarmtab connect cursor --config .cursor/mcp.json --dry-run
Replace cursor and the path for your client. Omit --dry-run only when you want to write the config. The command asks you to type yes, preserves other servers, and makes a .swarmtab-backup file. It refuses to overwrite an existing Swarmtab entry or backup.
Official Codex CLI setup guide. Setup text is copied from the app’s client guides, checked there on 2026-10-15. This page is regenerated on build.