Codex
Prerequisites
- Super Productivity desktop app running with Local REST API enabled (Settings → Sync & Export → Local REST API)
- Codex CLI installed
sp-local-bridgeinstalled (Getting Started)
Install Bridge
sh
git clone https://github.com/CameronBrooks11/super-productivity-local-bridge.git
cd super-productivity-local-bridge
scripts/install.shGenerate Config
sh
sp-local-bridge-print-config codexExample output:
toml
[mcp_servers.superProductivity]
command = '/home/you/.local/bin/sp-local-bridge-mcp'
args = []The command path will be resolved to your actual installation location.
Use --bare for a bare command name (only works if ~/.local/bin is on PATH).
Alternative: CLI command
sh
codex mcp add superProductivity -- /home/you/.local/bin/sp-local-bridge-mcpReplace the path with the actual output from sp-local-bridge-print-config codex.
Add Config
Add the output to your Codex config file:
- Global:
~/.codex/config.toml - Project-scoped:
.codex/config.toml(trusted projects only)
Both Codex CLI and the Codex VS Code extension read from these same files. This is separate from VS Code Copilot's .vscode/mcp.json.
Restart or Reload Host
If using Codex CLI, the new config is picked up on next invocation. No restart needed.
If using the Codex VS Code extension, restart the extension or reload VS Code.
Verify
sh
sp-local-bridge-doctorOr in the Codex TUI, use /mcp to see active servers.
Troubleshooting
| Problem | Fix |
|---|---|
| SP unreachable | Start Super Productivity, enable Local REST API (Settings → Sync & Export) |
| Server not starting | Verify command path exists and is executable |
| Command path wrong | Re-run sp-local-bridge-print-config codex for current path |
| TOML parse error | Ensure quotes and brackets are correct in config.toml |
See also: Troubleshooting
Uninstall Cleanup
- Remove the
[mcp_servers.superProductivity]section from~/.codex/config.toml - Optionally run
scripts/uninstall.shto remove the bridge binary