Set up with Codex
Connect the Codex CLI to Unhandled with one command, and give Codex cloud or CI a token instead of a browser sign-in.
Codex reads Unhandled through the MCP server and runs under your own plan with its vendor.
Connect
codex mcp add unhandled --url https://unhandled.net/mcp/x/debugOr add it to ~/.codex/config.toml:
[mcp_servers.unhandled]
url = "https://unhandled.net/mcp/x/debug"The first tool call opens Unhandled's consent page in your browser. The URL is the debug toolset. More options are in the Codex MCP docs.
Start it on an issue
npx @unhandled/cli login
npx @unhandled/cli fix https://unhandled.net/o/acme/projects/web/issues/42 --agent codexAdd --headless to run codex exec without a session. Fix issues covers the rest.
Without a browser
Codex cloud and CI cannot sign in through a browser. Create an agent identity under Settings > MCP > Agent identities and give Codex its token:
export UNHANDLED_TOKEN=unh_agent_...
codex mcp add unhandled --url https://unhandled.net/mcp/x/debug --bearer-token-env-var UNHANDLED_TOKENGrant read scopes only unless the job triages too. Sensitive calls still go to a person for approval.