Connect Codex to Harbor
Connect Codex to your Harbor workspace to use the apps and tools available to you or build software that keeps running after you close Codex. You need a Harbor workspace and a current version of the Codex CLI.
Add the server
Copy the MCP URL from your workspace's AI tools page. Replace YOUR_MCP_URL below with that full URL, including /mcp.
codex mcp add harbor --url YOUR_MCP_URL
Complete sign-in if a browser page opens. If it doesn't, run codex mcp login harbor. In an interactive session, /mcp lists the connected MCP servers.
Confirm the connection
Ask Codex: Call Harbor's whoami tool and tell me who I'm signed in as. Check that it returns your identity. If Harbor's tools don't appear, check the URL and login, then open a new Codex session.
Next: Deploy your first Harbor app. See OpenAI's Codex MCP documentation for client configuration options.
Updated 2026-12-01. This page as Markdown.