Codex MCP server
Connect your chats to Codex
Add the ConnectChats MCP server to Codex with one command, then ask about your messages from the terminal. Replies wait for your approval before anything is sent.
Free to start. No install. Every send needs your OK.
How to add ConnectChats to Codex
It takes about two minutes. You do it once, and the chat apps you link show up in Codex right away.
codex mcp add connectchats --url https://api.connectchats.com/mcp -
Add ConnectChats to Codex
- In your terminal, run: codex mcp add connectchats --url https://api.connectchats.com/mcp
- Run codex mcp login connectchats. Your browser opens the ConnectChats sign-in page. Sign in with your passkey.
- Start Codex and ask about your messages.
-
Link a chat app
Open your ConnectChats dashboard at https://connectchats.com/app and link WhatsApp, Instagram, and Messenger. You do this once, and it works in every AI app you use.
-
Pick the chats Codex can see
Share every chat or only the ones you choose. Codex never sees the rest.
-
Ask Codex about your chats
Start a new conversation and ask what you missed. Codex calls ConnectChats when it needs your messages.
Chat apps you can use in Codex
Every chat app you link shows up in Codex, with no extra setup.
Things to ask Codex
Once WhatsApp is linked, try these.
- Codex
What did I miss on WhatsApp today?
- Codex
Who is waiting for an answer from me on WhatsApp?
- Codex
Summarize the family group on WhatsApp since Friday.
- Codex
Find the address my sister sent me on WhatsApp last month.
- Codex
Draft a reply to Alex on WhatsApp saying I can make it Saturday.
ConnectChats in Codex
Codex adds remote MCP servers from the command line and keeps them in config.toml. Add ConnectChats once, sign in with your passkey, and Codex can read and search the chats you share.
- The command writes a [mcp_servers.connectchats] entry with url = "https://api.connectchats.com/mcp" to ~/.codex/config.toml. You can also add it there by hand.
- Codex CLI, the Codex IDE extension and the desktop app share this configuration, so you set it up once.
- On a machine without a browser, run codex mcp login connectchats --no-browser, open the printed link elsewhere and paste the redirect URL back.
- Codex needs a ChatGPT plan that includes Codex, or an OpenAI API key.
Questions
How do I add ConnectChats to Codex?
Follow the steps on this page: add ConnectChats to Codex with the server address https://api.connectchats.com/mcp, sign in, and link a chat app. It takes about two minutes.
Does Codex see all my messages?
No. Codex sees only the chats you share in your ConnectChats dashboard, and it reads them only when you ask something that needs them.
Can Codex send messages for me?
Codex can save a reply as a draft, and it is sent once you approve it in ConnectChats. You can turn on auto-send for specific chats, and it stays off everywhere else.
Which chat apps work in Codex?
Every chat app ConnectChats supports, from WhatsApp and Telegram to Slack and Discord. Each one you link appears in Codex without any extra setup.
Is ConnectChats free in Codex?
Yes. The free plan links two chat apps and works in every supported AI app. No card needed.
Is this the same as adding ConnectChats to ChatGPT?
No. ChatGPT on the web does not read your Codex config, so you add ConnectChats there separately. Both use the same ConnectChats account.
Can Codex send messages from a script?
Codex can create drafts in any run. They are only sent after you approve them, unless you turn on auto-send for that chat.
Related pages
Stop switching apps. Ask your AI instead.
Add ConnectChats in one click. Your first two chat apps are free.
Get started free