How to connect FirstReply to Codex
Add the server
Run this in your terminal. Codex saves the server in ~/.codex/config.toml, which the Codex CLI, the IDE extension and the ChatGPT desktop app share. Without the terminal: in the ChatGPT desktop app open Settings, then MCP servers, in the IDE extension the gear menu, then MCP servers. Select Add server, enter firstreply as the name, choose Streamable HTTP, paste the address, save and select Restart (Restart extension in the IDE).
Sign in
Run this and follow the sign-in in your browser. In a terminal without a local browser add --no-browser, open the printed address in a browser and paste the full redirect URL back into the terminal. In the desktop app and the IDE extension, select Authenticate next to the server. FirstReply shows which app asks for access. If it says the app could not be verified, continue only when you started the connection yourself.
Or use an API key
To skip the browser sign-in, create a key in FirstReply under Settings, Development, API keys, put it in the environment variable FIRSTREPLY_API_TOKEN where Codex runs and add the server with this command instead of the first one. Codex sends the key as a bearer token. A key acts with the permissions of the workspace owner, so create one just for this.
Ask
Ask in plain words. In the Codex CLI, /mcp lists the server and its tools. According to OpenAI, Codex can ask for approval before tool calls that advertise side effects and always asks before destructive ones. To have it ask before every FirstReply tool that changes something, such as sending a reply, add this line to the [mcp_servers.firstreply] table: the writes mode prompts for every tool that is not marked read-only.
MCP server documentationCodex documentation
Steps compared with the Codex documentation on November 27, 2026. Apps change their menus: if a label differs, the documentation linked above has the current one.
What to ask Codex
Plain sentences are enough. A few to start with:
- Find this week's conversations that mention the export bug.
- Summarize what customers reported about the last release.
- Draft a reply to the latest conversation about the login error: the fix ships tomorrow.
- Add a knowledge base entry about the new rate limits from docs/api.md.
- Write a release post for X and LinkedIn from CHANGELOG.md and schedule it for tomorrow at 10.
- Which customers are waiting for the fix in this branch?
What Codex can do with FirstReply
The same tools for every assistant, checked against the permissions of the person who signed in.
Work through the inbox
List, filter and search conversations across email, chat, WhatsApp and social channels, read a whole thread, assign it, change its priority or close it.
Draft replies from your knowledge
The assistant asks FirstReply for a draft grounded in your knowledge base and shows it to you. It is sent once you agree with the text.
Plan and schedule posts
Write or shorten a post for each network, save it as a draft, schedule it or move it to another time. A person can still change it before it goes out.
Report on support and posts
Response and resolution times, conversations per teammate and category, and views, likes and follower growth per post and channel.
Keep the knowledge base current
Search what the team has documented, add or correct an entry and start the sync of a connected source.
Look up contacts and settings
Find a customer and their history, and manage contacts, categories, reply templates, saved filters and webhooks.
Frequently asked questions
- Where does Codex store the FirstReply server?
- In ~/.codex/config.toml, which the Codex CLI, the IDE extension and the ChatGPT desktop app read, so you set it up once. For one project you can use .codex/config.toml, which Codex only reads in trusted projects. ChatGPT on the web does not read this file: there FirstReply is added as a plugin.
- Do I need a FirstReply API key for Codex?
- No. codex mcp login signs you in through the browser with your FirstReply account, and Codex acts with your permissions. The API key is the alternative when a browser sign-in is not possible, for example on a remote machine.
- Can Codex reply to customers without asking?
- Codex always asks before tools that are marked destructive. Set default_tools_approval_mode to writes or prompt for FirstReply so it also asks before sending a reply, then read the draft and confirm. Posts are never published right away: they are saved as drafts or scheduled at least ten minutes ahead.
- Is there a FirstReply skill for Codex?
- Yes. Codex reads skills from .agents/skills in your repository and from ~/.agents/skills. Run npx skills add https://firstreply.ai --agent codex in a project, or add -g for all of your projects, and the skill sits next to the server and explains to Codex how to use FirstReply's tools.
Codex is a trademark of its owner. FirstReply is not affiliated with it.
FirstReply with other AI agents
- ClaudeAdd FirstReply as a custom connector in the Claude apps
- ChatGPTAdd FirstReply to ChatGPT as a custom MCP server
- Claude CodeOne command adds FirstReply to Claude Code
- CursorAdd FirstReply to Cursor with a few lines in mcp.json
- OpenClawReach your inbox from WhatsApp or Telegram through OpenClaw
- GeminiAdd FirstReply as a custom app in the Gemini web app
- MuseAsk Meta's Muse to create a custom connector for FirstReply
- Claude CoworkAdd FirstReply as a custom connector in Claude and use it in Cowork tasks
- eustellaAdd FirstReply as a custom connector in the European AI assistant
- Grok BotAdd FirstReply as a custom connector in the Grok Bot desktop app
- Grok BuildOne grok mcp add command adds FirstReply to Grok Build
- Perplexity ComputerAdd FirstReply as a custom remote connector under Plugins in Perplexity
- Hermes AgentAdd FirstReply to Hermes Agent in config.yaml and sign in once
- PaperclipConnect FirstReply as your own MCP server on Paperclip's Connectors page
- DeepSeek HarnessAdd FirstReply to DeepSeek Harness with one row in your patch file
- Kimi Code CLIAdd FirstReply to Kimi Code CLI with a few lines in mcp.json



