Get LinkedIn sales with Codex

- config.toml, not a connector UI
- Token stays in an env var
- Review list, then send
Codex is useful when you already run OpenAI's coding agent against the repo. It is not the ChatGPT connector. Put LinkedIn in Omentir. Put the token name in bearer_token_env_var.
First weeks
- 1
Finish Omentir in the browser
LinkedIn connected. My Product written. Codex will not fix a slogan.
- 2
Add the server in config.toml
Global file at ~/.codex/config.toml, or a project file only if the repo is trusted. url is https://omentir.com/api/agent/v1/mcp. bearer_token_env_var is OMENTIR_API_KEY, the variable name, not the token.
- 3
Confirm with /mcp, then a scored list
If the server is missing, fix the table name and the env var. Fetch agents.md. get_context, then list_agents. Pull up to 30 people with drafts. Do not send.
- 4
Send from Omentir
Cut junk. Start a small campaign. Close the session and the work stops.
Why the TOML file matters
The CLI and the IDE extension share the same file. Get the table name wrong (mcp-servers instead of mcp_servers) and Codex ignores the block. ChatGPT chat still uses Settings and Connectors.
A project-local .codex/config.toml only loads for trusted projects. If tools never appear, start with the global file.
Paste this into Codex
Export the env var before you launch. Fetch agents.md. Replace the brackets. Keep the last two sentences.
Paste into Grok Bot
You are Codex, running against my repo through Omentir. My product helps [buyer] get [result]. Best-fit accounts are [company type, size, region]. Strong signals: [signal]. Skip [bad fit]. Work only through the Omentir MCP server named in config.toml. Read https://omentir.com/agents.md if you have not. Start with get_context, then list_agents. If no finder matches this ICP, show me a create_agent config and wait for a yes. Do not put secrets in config.toml. bearer_token_env_var is the name of an environment variable, not the token. Pull up to 30 people. For each one write fit 1-5, the evidence, any risk, and a two-sentence draft that cites a real trigger. If a note could fit two buyers, rewrite it. Do not send. Do not enroll. Do not sign into LinkedIn. Do not create, delete, or reply unless I ask in this session.
Frequently asked questions
No. ChatGPT uses workspace approval. Codex uses TOML and a Bearer env var.
You can. You should not. The file is easy to commit.
Pick the agent you already open. Cursor has its own MCP client. Codex shares config.toml across CLI and extension.
Connect Codex only if that agent is already in the repo
If you wanted a chat tab, use the ChatGPT connector.
Prefer markdown? Get LinkedIn sales with Codex.md