X (Twitter) posts with Codex and Bolta
Turn what you ship into social drafts from Codex, with your yes before anything posts. Parts of the Codex route are not confirmed yet, and the note below says which. Nothing goes live on X until you say yes.
Partly confirmed, see what is and is notChecked 2026-11-21
One command or two lines in ~/.codex/config.toml, then codex mcp login bolta opens a Bolta sign-in page. You tick which brands Codex may reach.
Write three X posts about the feature in my last commit and save them as drafts
Illustration of the reply: Bolta returns a draft showing the connected account and the scheduled time, with Approve, Edit and Reject actions.
What is and is not confirmed
Read this before you set up Codex
- Confirmed: Codex's official docs describe adding a remote MCP server by URL, with a browser sign-in through codex mcp login. Bolta's connection uses exactly that standard route.
- Confirmed: Codex finds skills in folders that contain a SKILL.md file, so the optional Bolta skill is a normal skill for it.
- Not confirmed: nobody at Bolta has run a full draft, review and schedule cycle through Codex yet. Treat the first run as a test and check each result.
- Not confirmed: Bolta's skills README lists npx skills add for Codex CLI, marked not tested. We have not run that install for Codex ourselves.
- Not confirmed: a Bearer API key through bearer_token_env_var, and any Codex-specific plugin entry for Bolta. Sign-in is the path to use.
What Bolta does on X
Bolta reads the limit for each connected X account, so a Premium account and a free account get different ceilings. Text that is too long does not get trimmed on X: the post fails, so the draft has to fit first.
- Single posts and threads. In a thread, Bolta posts every part after the first as a reply to the one before.
- Images. A post needs text: an image with no text is not supported on X.
X limits and format rules
Network rules last checked 2026-07-28. Bolta's posting rules for your workspace (get-posting-rules) win if they differ from this page.
Not promised for X from Codex: Polls and Spaces announcements. Neither is confirmed for Bolta. How many hashtags work best. Bolta checks none, and this page makes no claim about it.
| What to know | X's own rule | What Bolta does |
|---|---|---|
| Post length | Accounts without a paid subscription are limited to 280 characters. X Premium subscribers can publish up to 25,000. | Bolta reads the limit per account. Longer text makes the post fail, so shorten it first. The 25,000 limit is a ceiling for Premium accounts, and X can still refuse a long post. |
| Links and media | A pasted link counts as 23 characters however long it is. Photos, videos and GIFs count as zero characters. | Bolta does not check how many hashtags you use or their format. They are kept as typed. |
| Threads | Posts can be chained into a thread, and each post carries its own separate character limit. | Each X thread part after the first is posted as a reply to the one before it. |
| Who can reply | Replies can be limited to everyone, accounts you follow, verified accounts, or only the accounts you mention. It is chosen before you post. | The default is that anyone can reply unless you limit it. |
| Video | Not stated on this page. | Video on X is checked on X's side for duration, format and posting eligibility, so a successful upload does not guarantee publication. Ask for the posting rules before you attach one. |
Codex jobs for X, and how to write them
- Have a script call codex exec to save a weekly draft batch for your team to review
- Check which recent posts did best before Codex suggests what to write next
- Write to 280 unless the account has X Premium. Check the count, because a post over the limit fails instead of being cut.
Example prompts for X
Things to type in Codex. Each one asks for a draft and shows you the text first.
Write three X posts about the feature in my last commit and save them as drafts
Look at the last ten commits and write an X thread about what changed. Save it as a draft only.
Read the top entry in CHANGELOG.md and draft an X post about it that fits in 280 characters
Look at the newest tagged release and draft an X post with a link to it
Bolta saves a draft, you read the exact text, you say yes
- 01
Bolta saves a draft
Codex asks Bolta for the X post in your brand voice (save-post). A saved draft is never public.
- 02
You read the exact text
On X the exact text includes the character count with links counted at 23, and, for a thread, every part in order.
- 03
You say yes
Only then does Bolta schedule or publish (publish-post), in your workspace's timezone. Safe Mode, client sign-off and brand approval rules still apply.
Using Codex for X
Parts of this route are not confirmed. The note above says which.
For X, Codex, from OpenAI, reaches Bolta through codex mcp add, or a [mcp_servers.bolta] entry in config.toml. Sign-in: Sign in (OAuth). The X account itself is connected inside Bolta, not in Codex.
Codex is OpenAI's coding agent for the terminal, IDE and desktop app, separate from the ChatGPT chat app. An X draft usually starts from what you just shipped, read from files in your project.
An illustration from the Codex guide, not real output. You ask: Look at the last ten commits and write an X thread about what changed. Save it as a draft only. The reply goes along these lines: I grouped the ten commits into three changes a customer would notice, left out the refactors, and saved a four-post thread as a draft. Nothing is scheduled. Tell me what to cut, or say yes to the exact text when you are happy with it. Draft saved. Waits for your yes.
An illustration from the Codex guide, not real output. You ask: Set up a weekly routine that drafts two build-in-public posts every Friday, and send them to review. The reply goes along these lines: Here is the plan: every Friday it drafts two build-in-public posts and puts them in your review list. It runs in Bolta, so it cannot read your repo. Nothing is saved yet. Say yes and I will save it switched off, then it needs a separate yes before it runs. Plan shown, not saved. Waits for your yes.
Name the file or range to read. Leave out private branches, security fixes not yet shipped and customer names in commit messages.
Ask for the customer-facing change, not the internal reason. Commit messages are written for developers.
Claude Code is the most tested coding-agent path for Bolta. If you want the proven route today, use that. If you prefer Codex, expect to check each step the first time.
- Posts from what you shipped. Point Codex at CHANGELOG.md, release notes or a commit range and it saves drafts in your voice. It writes about the change a customer sees.
- Review and approval. Ask what is waiting for your yes, read each draft back, then approve or reject with your own reason. Bolta wants the exact text before a post is approved.
- Save the draft. The text is saved in Bolta as a draft. It has no time and has not gone anywhere.
- Wait for your yes. Codex shows you the exact text. Only after you approve it does anything get a time or go out. This step is you, not a tool.
- Setup: Check what you need. You need a Bolta account with at least one brand, and Codex installed. Run codex in a terminal to confirm it starts. Codex's MCP docs say the CLI, the IDE extension and the desktop app share this configuration, so the same entry should apply if you use those instead.
- Setup: Add Bolta to Codex. Run codex mcp add bolta --url https://mcp.bolta.ai/mcp. Or open ~/.codex/config.toml, keep what is already there, and add [mcp_servers.bolta] on one line and url = "https://mcp.bolta.ai/mcp" on the next, then save.
- Plugin or extension. Codex has plugins that bundle skills and connectors, but nobody here has checked a Bolta entry for it. Do not rely on one.
- A routine saved and switched on in Bolta keeps running when no session is open. It drafts and sends to review.
- config.toml. Choose this if you keep your Codex settings in version control. Add [mcp_servers.bolta] and url = "https://mcp.bolta.ai/mcp" to ~/.codex/config.toml, or to .codex/config.toml in a trusted project. Then run codex mcp login bolta.
Connect Codex to Bolta
One command or two lines in ~/.codex/config.toml, then codex mcp login bolta opens a Bolta sign-in page. You tick which brands Codex may reach.
X questions, answered for Codex
- What happens if Codex writes an X post that is too long?
- The post fails. Bolta does not trim X text, so Codex has to shorten it first. The limit is 280 characters for accounts without a paid subscription, and X Premium accounts can post up to 25,000, though X can still refuse a long post.
- Can Codex write an X thread?
- Yes. Ask for several parts, and Bolta posts each part after the first as a reply to the one before it, so they read as one thread. Each part carries its own limit. You read all of the parts in Codex and say yes before any of them goes out.
- codex mcp list does not show bolta
- The entry did not save. Re-run codex mcp add bolta --url https://mcp.bolta.ai/mcp, or check that [mcp_servers.bolta] and the url line are in ~/.codex/config.toml, then start a new session.
- Codex says the command is not found
- Command names can change between Codex versions. Update Codex, or check the MCP page in Codex's official docs for the current wording.
- The sign-in page does not open
- You may be on a machine with no browser. Run codex mcp login bolta --no-browser, open the printed link elsewhere, and paste the full address you land on back into the terminal.
- Codex cannot see my new brand
- A connection only reaches the brands you ticked at sign-in. Run codex mcp login bolta again and tick the new one.
- Does Codex publish X posts without my yes?
- No. Nothing is approved, scheduled or published until you say yes to that X post. Whether Codex completes the connection is not fully confirmed, so read the note above first.
More from Codex
Codex can work with the other networks Bolta publishes to. Each page has its own limits and review notes.
X from other AI agents
The same X limits apply whichever agent asks. The connection and the setup are what change.
Try an X draft from Codex
Connect Codex, ask for an X draft and read the exact text. Nothing goes live until you say yes.