iMessage + Codex integration
Connect iMessage to Codex
ConnectChats brings your iMessage chats into Codex. Ask Codex to catch you up, find any message and draft replies. Nothing gets sent until you approve it.
Free to start. No app to install. Every send needs your OK.
What Codex can do with your iMessage
ConnectChats gives Codex a small set of tools. Codex calls them when you ask about your iMessage chats, and only for the chats you share.
-
Catch you up
Ask what you missed and Codex reads your unread iMessage chats, then gives you the short version: who needs an answer, what was decided, what can wait.
get_messages_to_summarize -
Find any message
The address someone sent last month, the price a client agreed to, the link from a group chat. Codex searches your iMessage history and quotes the message.
search_messages -
Draft replies
Codex writes the reply in your tone, in the chat's language, with the context of the whole thread. You read it, edit it, and send it.
draft_reply -
Send with your OK
When you approve a draft, ConnectChats sends it from your own iMessage account and confirms delivery. Auto-send only runs in chats where you switch it on.
send_message
Things to ask Codex
Type these in Codex once iMessage is linked.
- Codex
What did I miss in my iMessage chats today?
- Codex
Summarize the family group on iMessage since Friday.
- Codex
Who asked me a question on iMessage that I haven't answered?
- Codex
Find the address my sister sent me on iMessage.
- Codex
Draft a reply to Alex on iMessage saying I can make it Saturday.
How to connect iMessage to Codex
It takes about two minutes. You do it once, and the same account then works in every AI app you add.
-
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 your iMessage account
- Open https://connectchats.com/app and choose Link a chat app, then iMessage.
- Install the ConnectChats relay on a Mac that is signed in to Messages with the same Apple Account as your iPhone.
- The relay pairs with your ConnectChats account using a code shown in the dashboard.
- Keep the Mac on and awake. Your chats appear in the dashboard, where you choose which ones your AI app can see.
-
Pick the chats Codex can see
Every chat is listed in your ConnectChats dashboard. Share all of them or only the ones you choose. Codex never sees the rest.
-
Ask Codex about your iMessage
Open a new conversation in Codex and ask about your chats. Codex calls ConnectChats when it needs your messages.
How iMessage and Codex work together
ConnectChats links to iMessage through a Mac. Apple only lets iMessage run on its own devices, so ConnectChats connects through a small relay app on a Mac that stays on and signed in to Messages with your Apple Account.
-
iMessage in ConnectChats
A Mac that stays on is required. Without one, iMessage cannot be connected, because Apple offers no other way in. One to one chats and group chats are supported, including SMS from your iPhone if Text Message Forwarding is on for that Mac. Messages arrive while the Mac is awake. If it sleeps or shuts down, new messages wait until it is back. Photos, videos and voice notes show up as short text descriptions, with their captions.
-
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.
Your iMessage stays under your control
-
You pick the chats
Codex only sees the iMessage chats you share. Unshare a chat and it disappears from every AI app at once.
-
Drafts by default
Codex prepares replies. You approve each one before it reaches iMessage, unless you turn on auto-send for that chat.
-
Stored messages are encrypted
Stored messages are encrypted with a key that only your passkey can unlock. We never train models on your messages.
Questions
Can Codex read my iMessage messages?
Yes, once you link iMessage in ConnectChats and add ConnectChats to Codex. Codex reads only the chats you share, and only when you ask it something that needs them.
Can Codex send iMessage messages for me?
Codex can draft a reply and send it after you approve it. Messages go out from your own iMessage account. You can allow automatic sending for specific chats, and it stays off everywhere else.
Is the iMessage to Codex integration free?
Yes. The free plan links two chat apps and works in every supported AI app, with no limit on what you ask. No card needed.
Do I need to install anything?
No. You add ConnectChats inside Codex and link iMessage from your browser. There is no app to download and nothing runs on your computer.
Does it work with other AI apps too?
Yes. The same ConnectChats account works in ChatGPT, Claude, Grok, Manus, Muse and any AI app that supports remote MCP servers. Link iMessage once and use it everywhere.
Can I use iMessage without a Mac?
No. Apple does not allow iMessage on anything other than its own devices, so a Mac that stays on is the only way.
Does it work for iPhone SMS too?
Yes, if your iPhone forwards text messages to that Mac. Turn it on in iPhone Settings, Apps, Messages, Text Message Forwarding.
What do I need to link iMessage?
A Mac that stays on and awake, signed in to Messages with the same Apple Account as your iPhone, with the ConnectChats relay installed on it.
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
iMessage with other AI apps
Other chat apps in Codex
Stop switching apps. Ask your AI instead.
Add ConnectChats in one click. Your first two chat apps are free.
Get started free