Your Utari persona — like Jeremy AI — lives in your Utari dashboard, but you can talk to it from OpenAI Codex too. Utari runs a hosted MCP server for your persona, so Codex can chat with it as you, with the same memory and the same conversations you see on the web. You set it up once, and it works in the Codex app, the Codex CLI and the Codex IDE extension, because they share the same configuration.
Before you start
OpenAI Codex installed — the Codex app, CLI, or IDE extension.
Access to your instance's web app (for example
https://jeremy.utari.ai), signed in.About five minutes, and a terminal or text editor to update one config file.
Step 1 — Create a connection token
Open your instance's web app and sign in.
Open General Settings (from your avatar / the top bar).
Go to the MCP tab.
Click Create connection, give it a label you'll recognize (for example "Codex on my laptop"), and confirm.
Copy the raw token. The server URL is
https://persona-mcp.utari.ai/mcp/.
The token is shown only once. If you lose it, revoke that connection and create a new one — you can't view it again.
Step 2 — Save the token as an environment variable
Codex reads the token from an environment variable, so it never sits in your config file. Add this line to your shell profile (for example ~/.zshrc on a Mac, or ~/.bashrc on Linux), replacing the placeholder with your token:
export JEREMY_AI_TOKEN="<YOUR_TOKEN>"
Then open a new terminal window (or restart the Codex app) so the variable is picked up.
Step 3 — Add the server to Codex
Open ~/.codex/config.toml (create it if it doesn't exist) and add these three lines at the end, each on its own line:
Line 1:
[mcp_servers.jeremy-ai]
Line 2:
url = "https://persona-mcp.utari.ai/mcp/"
Line 3:
bearer_token_env_var = "JEREMY_AI_TOKEN"
Save the file. Codex sends the token as an Authorization: Bearer header for you.
Prefer the terminal? Run codex mcp add jeremy-ai --url https://persona-mcp.utari.ai/mcp/, then open config.toml and add line 3 under the [mcp_servers.jeremy-ai] section it created.
Step 4 — Check the connection
In a terminal, run
codex mcp list—jeremy-aishould appear.Inside the Codex CLI, type
/mcpto see active servers.
Step 5 — Talk to your persona
Ask Codex to use the jeremy-ai server, then just chat. Your first message starts a new conversation, follow-ups continue the same one with full memory, and if a reply takes a moment, Codex fetches it automatically.
Try things like "Ask Jeremy to review this landing page copy" or "Ask Jeremy what we decided about the Q3 campaign."
Every conversation is a real thread in your Utari dashboard, so you can pick it up on the web or back in Codex.
Managing your connection
In General Settings → MCP, you can see every connection and when it was last used, and Revoke any of them — it stops working on its very next call.
Tokens last 90 days. When yours expires, create a new connection and update
JEREMY_AI_TOKENin your shell profile.To pause the connection without deleting it, add
enabled = falseunder[mcp_servers.jeremy-ai].Tip: create a separate connection per device or tool, so you can revoke one without disturbing the others.
Troubleshooting
Unauthorized / "missing Authorization header" — Codex can't find the token. Check the variable name in
config.tomlmatches your shell profile exactly, and that you opened a new terminal or restarted the Codex app after adding it."invalid connect token" or "Signature has expired" — the token is wrong, expired, or revoked. Revoke the old connection, create a new one, and update
JEREMY_AI_TOKEN.jeremy-aidoesn't appear incodex mcp list— check the file is at~/.codex/config.tomland each of the three lines is on its own line.Payment or rate-limit errors — usage is billed to the instance owner. A payment error means the owner's account needs attention; a rate-limit error means you've been going fast, so wait a moment and retry.
Support
Stuck on any step? Reach out to us through the messenger and we'll help you get set up.
