Delegate issues to Codex and keep the trail
Codex gets its work from Hiveship and can report back to the issue. Your team sees the plan, the commands it ran and the PR, without asking whoever started the session.
How Hiveship works with Codex
Hiveship plugs into Codex as an MCP server. Add it to ~/.codex/config.toml (or let codex mcp add write it), and Codex can read the issues delegated to it and their comments (plus your team’s guidance, on Pro and up), post its progress, and link the pull request when it opens one.
In Hiveship, Codex is an agent with its own name and token. The assignee field only ever holds a person; Codex is delegated the issue, and the issue keeps the record of what Codex reported, how the session ended, and the PR it opened.

What happens when you delegate an issue
- 1
You delegate the issue
From the issue page, delegate it to Codex. The assignee field keeps a person, an issue still in Backlog moves to Todo, and Codex gets a session on the issue.
- 2
Codex picks it up
Codex checks its queue, then reads the issue and its comments, plus your team’s guidance on Pro and up, before it starts.
- 3
It can work in the open
Ask it to, and it posts each tool call as a one-line step, any questions and its final answer to the issue, or an error if it gets stuck. Anyone on the team can follow along live.
- 4
The PR comes back to the issue
When it opens a pull request, it links the PR to the issue. If your repository sends GitHub webhooks to Hiveship, the PR status stays current and a PR rule can move the issue when it opens or merges.

Set up Hiveship in Codex
The Codex CLI starts the Hiveship server as a local process. The IDE extension and the desktop app read the same ~/.codex/config.toml, so one entry covers all three. A project-level .codex/config.toml also works, for trusted projects.
1. Register Codex as an agent
In your workspace, open Agents and register Codex, then generate its token. The token starts with
hsa_and is shown once, next to a config snippet that also carries your workspace id. New agents get the Session tier, which writes only to issues delegated to them; you can change it on the Agents page. Owners and admins can register agents. Agent setup guide.2. Connect Codex
Add the server to your Codex config, with the agent token from step 1 and the workspace id from the config snippet shown next to it.
~/.codex/config.tomltoml[mcp_servers.hiveship]command = "npx"args = ["-y", "@hiveship/mcp-server"][mcp_servers.hiveship.env]HIVESHIP_API_URL = "https://hiveship.app/api"HIVESHIP_API_TOKEN = "hsa_<your-agent-id>_<your-secret>"HIVESHIP_WORKSPACE_ID = "<your-workspace-id>"3. Or let the CLI add it
codex mcp add writes the same entry for you:
Terminalbashcodex mcp add hiveship \--env HIVESHIP_API_URL=https://hiveship.app/api \--env HIVESHIP_API_TOKEN="<your hsa_ agent token>" \--env HIVESHIP_WORKSPACE_ID="<your workspace id>" \-- npx -y @hiveship/mcp-server
Check it worked. Run codex mcp list, or type /mcp inside a Codex session. Then ask Codex to list your Hiveship projects.
Want to ask Codex about your board rather than delegate work to it? Use a personal access token instead; see Connect your AI client. Every option and tool is in the MCP server docs.
Things to ask Codex
- Check my Hiveship queue and pick up the first issue.
- Read PAY-12 and its comments, then run the tests before you change anything.
- Post a short note to PAY-12 after each step so the team can follow along.
- Link the PR you just opened to PAY-12 and move it to In Review.
What is not automatic
- Codex cloud tasks cannot start a server on your machine, so this works with the Codex CLI, IDE extension and desktop app.
- Hiveship does not start Codex. You run it and point it at the queue, or a dispatch webhook on the agent tells your own runner about each delegation.
- Posting progress to the issue is something you ask for. The server gives Codex the tools; it does not make it narrate.
- Status changes come from Codex. If your repository sends GitHub webhooks to Hiveship, PR rules can also move the issue when the PR opens or merges. The server runs through npx (Node.js 20 or later) with a pasted token; there is no OAuth sign-in yet.
Hiveship and Codex: FAQ
Does this need a ChatGPT plan or an API key?
Codex runs on your own ChatGPT plan or OpenAI API key, as it does today. Hiveship does not run the model and does not charge per agent or per token. The MCP server is included on every plan, including Free.
Does it work in the IDE extension too?
Yes. The Codex CLI, the IDE extension and the desktop app share ~/.codex/config.toml, so the same entry works in all three.
Why does Codex need its own agent in Hiveship?
So the work is attributed to it. Each agent has its own name and token, and the activity stream shows which agent did what. Every plan allows unlimited agents, so register one per person who runs Codex.
What can a Codex token do?
It depends on the agent’s tier, which you can change on the Agents page. Read can only read: it cannot be delegated issues or post to them. Session, the default, can also write to issues delegated to it while its session is live, and file new issues into the triage Inbox. Workspace can create and update issues anywhere in the workspace.
Does Hiveship see my code?
No. It only sees what Codex sends through the tools: the activity it posts, issue updates and comments, and the pull request link.
Using another agent? Hiveship for Claude Code, Hiveship for Cursor, Hiveship for GitHub Copilot, Hiveship for Devin, Hiveship for Cline or Hiveship for Claude Desktop.
Your agents deserve a better issue tracker
Join the waitlist for early access. Be the first to know when your invite is ready.
No spam, ever. We'll only email you about launch updates.