OpenAI Codex connects to the Safina MCP server over HTTP, in the CLI and in the Codex extension for your code editor. After two commands and a sign-in in the browser, Codex reads your calls, transcripts and contacts, and changes your Safina setup after you confirm. Codex reaches more Safina functions than the chat apps, for example the website analysis.
Connect Safina to Codex
Run these commands in your terminal:
codex mcp add safina --url https://api.backend.safina.ai/mcp/safina
codex mcp login safina
The second command opens the Safina sign-in in your browser. Choose your team and whether Codex may only read or also write. The Codex extension for your code editor reads the same settings.
With the Setup Prompt
You can also let Codex add Safina itself: paste the setup prompt for coding agents into a session. In the Safina app, the Codex & Claude Code tab has the same prompt.
The guide Connect Safina to your AI assistant explains the access levels, how to stay safe and how to disconnect.
What Codex Can Do with Safina
Read Calls and Contacts
Codex reads the calls of a period, one call with its transcript, or your contacts, and uses the data in its task, for example in a report or a test.
Change Settings
Codex can update the greeting, the call instructions and the voice. Write actions need your confirmation.
Help with Your Own Connections
Codex lists the Safina functions it can use, which helps when you write a script for another system. For automations without an AI model, use the Safina REST API with an API key.
Use Cases
Test Data for a Callback Tool
A developer builds a small callback planner. Codex reads ten recent Safina calls and turns them into test cases, without anyone copying data by hand.
Instructions Under Version Control
An agency keeps the call instructions of its clients in a repository. Codex applies a changed file to the client’s Safina team after the developer confirms it.
Frequently Asked Questions
Which Safina plan do I need?
Any Safina plan: Basic, Pro, Business or Enterprise. You connect Codex as the owner or an admin of your team.
Can I connect without a browser?
Yes. Create a connection code in the Safina app. Then add the server with --bearer-token-env-var and the name of the environment variable that holds the code.
What is the difference to an API key?
A connection code or a sign-in works only for AI assistants over MCP. An API key works only for the REST API.