codex mcp login.
Connect
1
Register the server
Add the server to
~/.codex/config.toml:OAuth login is supported only for streamable HTTP servers — the
url field is what enables it. Don’t set a command for ops.2
Authenticate
Run the OAuth login flow:Your browser opens to OnePerfectSlice — log in and select the team whose data this connection should access. Codex stores the token in its managed encrypted credential storage.
3
Verify
ops listed and authenticated.Test it
In Codex, try:list_slices and get back a list of your team’s slices.
Troubleshooting
Switching teams
Each connection is scoped to one team. To switch, runcodex mcp login ops again and select the new team during sign-in.