Codex integration

Endpoints
- MCP
- https://omentir.com/api/agent/v1/mcp
- REST
- https://omentir.com/api/agent/v1/*
- Guide
- /agents.md
Setup
- 1
Create and export a token
Generate an Omentir API key and export it as OMENTIR_API_KEY before you launch Codex.
- 2
Add mcp_servers.omentir
In ~/.codex/config.toml, set url to https://omentir.com/api/agent/v1/mcp and bearer_token_env_var to OMENTIR_API_KEY.
- 3
Confirm with /mcp
If the server is missing, the env var was empty, the table name is wrong, or a project file is in an untrusted repo.
- 4
Read before write
Fetch agents.md, then get_context and list_agents, before you let Codex create a finder.
Why Codex users connect Omentir
Setup in config.toml
Create a revocable API key. Export it before you launch Codex. Add an mcp_servers.omentir table. The table name needs an underscore. bearer_token_env_var is the name of the variable, not the token and not $OMENTIR_API_KEY.
- url: https://omentir.com/api/agent/v1/mcp
- bearer_token_env_var: OMENTIR_API_KEY
- Confirm with /mcp in the session
- Project-local .codex/config.toml only loads for trusted projects
Codex versus ChatGPT chat
A first Codex session that does not invent targeting
Codex moves fast in a repo. Treat create, delete, and reply as named requests. Ask it to show a create_agent config and wait. A refactor that also spins up a finder is how targeting drifts.
Keep LinkedIn off Codex. Caps and send stay in Omentir. Close the session and the work stops.
When ChatGPT chat is the better surface
Frequently asked questions
You can. You should not. The file is easy to commit. Use bearer_token_env_var with the variable name.
Only through Omentir tools under your campaign and safety settings. Your prompts should still require approval for replies and agent lifecycle changes.
https://omentir.com/agents.md is the operator guide. Fetch it before you let Codex create a finder.
Connect your operator to a real sales workspace
Omentir holds the LinkedIn connection and safety limits. Your AI configures agents and inspects results.
Prefer markdown? Codex integration.md