ConnectChats

X + Codex integration

Connect X to Codex

ConnectChats brings your X 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 X

ConnectChats gives Codex a small set of tools. Codex calls them when you ask about your X chats, and only for the chats you share.

Things to ask Codex

Type these in Codex once X is linked.

How to connect X to Codex

It takes about two minutes. You do it once, and the same account then works in every AI app you add.

  1. 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.
  2. Link your X account

    • Open https://connectchats.com/app and choose Link a chat app, then X.
    • Sign in to x.com in your browser, then copy the session cookies ConnectChats asks for, following the guide on screen.
    • ConnectChats checks the session and lists your conversations.
    • If you sign out of X everywhere or change your password, link it again the same way.
  3. 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.

  4. Ask Codex about your X

    Open a new conversation in Codex and ask about your chats. Codex calls ConnectChats when it needs your messages.

How X and Codex work together

ConnectChats links to your X direct messages using your signed in browser session, because X offers no other way for a personal account to share its DMs. Posts and your timeline are not part of it, only your messages, and you choose which conversations your AI app can see.

Your X stays under your control

How we protect your messages

Questions

Can Codex read my X messages?

Yes, once you link X 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 X messages for me?

Codex can draft a reply and send it after you approve it. Messages go out from your own X account. You can allow automatic sending for specific chats, and it stays off everywhere else.

Is the X 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 X 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 X once and use it everywhere.

Does it read my X posts and mentions?

No. ConnectChats is for messages, so it only brings in your direct messages and group DMs.

Why does X need browser cookies instead of a normal sign-in?

X does not offer a sign-in that lets another app read personal DMs. Using your browser session is how ConnectChats connects as you. You can end that session at any time by signing out of X.

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