Codex + Facebook

Facebook 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 Facebook until you say yes.

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.

CodexBolta connected
You

Read the top entry in CHANGELOG.md and draft a Facebook post for our Page about it

Illustration of the reply: Bolta returns a draft showing the connected account and the scheduled time, with Approve, Edit and Reject actions.

Illustration. Your drafts show your real text, account and time.

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.
Bolta on Facebook

What Bolta does on Facebook

Bolta lists each Facebook Page as its own account, so you name the Page the post is for rather than a personal profile.

  • Posts to a connected Facebook Page. Each Page is its own account in Bolta.
  • Text, images, or one video. Media is optional.
Limits and format

Facebook 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 Facebook from Codex: Facebook Groups, Events, Stories and Reels. This page does not confirm that Bolta publishes them. A Facebook character limit. Bolta checks none, so this page gives no number.

Facebook limits and format rules
What to knowFacebook's own ruleWhat Bolta does
Text lengthNot stated on this page.Bolta does not check the length, so Facebook may refuse longer text.
Video and imagesNot stated on this page.One video per post, and a video cannot be mixed with images.
Several partsNot stated on this page.The first part is the post. Each other part is posted as a comment on it.
Pages and profilesEvery Page is administered through a personal account, but visitors see only the Page and not the people running it.Posts go to Pages. Each Facebook Page is listed as its own account.
SearchPosts are ranked in Facebook search, and a public post can reach people you are not connected to, so the wording matters.Bolta publishes the text you approved, in plain text.
Best practices

Codex jobs for Facebook, and how to write them

  • Read the last week of git log and draft a build-in-public thread for review
  • Set up a weekly routine from the terminal that drafts posts and waits for your approval
  • Name the Page. If you run several, ask for the account list first so the draft is saved against the right one.
Prompts

Example prompts for Facebook

Things to type in Codex. Each one asks for a draft and shows you the text first.

Read the top entry in CHANGELOG.md and draft a Facebook post for our Page about it

What is waiting for my yes in Bolta right now?

Turn the README intro into a Facebook post and show me the text before saving it

Set up a weekly routine that drafts two build-in-public posts every Friday, and send them to review.

Review

Bolta saves a draft, you read the exact text, you say yes

  1. 01

    Bolta saves a draft

    Codex asks Bolta for the Facebook post in your brand voice (save-post). A saved draft is never public.

  2. 02

    You read the exact text

    On Facebook the exact text includes which Page it is for, and any later parts that will be posted as comments.

  3. 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.

Codex and Bolta

Using Codex for Facebook

Parts of this route are not confirmed. The note above says which.

For Facebook, Codex, from OpenAI, reaches Bolta through codex mcp add, or a [mcp_servers.bolta] entry in config.toml. Sign-in: Sign in (OAuth). The Facebook 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. A Facebook 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: 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.

Use it to draft or to send work to team review only. Bolta's house rule for unattended runs is no auto-publishing.

Keep the coding session on the branch. Open a second codex session in the same repo just for the announcement.

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.
  • Weekly routines. Describe a routine in plain words, for example two build-in-public posts every Friday. Codex shows the plan, and it is saved switched off until you give a separate yes.
  • Learn how you write. Before drafting from your changelog, it reads your voice and brand context, so the draft sounds like you and not like release notes.
  • 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: 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.
  • Setup: Sign in to Bolta. Run codex mcp login bolta. A Bolta page opens in your browser. Sign in and tick the brands this connection may reach. One connection is one organization, and it can only reach the brands you tick.
  • MCP with an API key. Codex can read a token from an environment variable named in bearer_token_env_var, and Bolta accepts Bearer keys. We have not tested that pairing, so use sign-in.
  • Codex itself does nothing until you start a session or run codex exec yourself.
  • Add Bolta and sign in. Run codex mcp add bolta --url https://mcp.bolta.ai/mcp, then codex mcp login bolta. Sign in on the Bolta page and tick the brands Codex may use.
Connect

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.

FAQ

Facebook questions, answered for Codex

Does Codex post to my Facebook profile or my Page?
To a Page. Bolta lists each Facebook Page as its own account, and the draft is saved against the Page you name. A Page is administered through a personal account, but visitors see only the Page.
Can Codex attach a video and photos to the same Facebook post?
No. Bolta allows one video per post and does not allow a video together with images. If you want both, make two posts.
Is Codex the same as ChatGPT, and do I use the same Bolta setup?
No. Codex is OpenAI's coding agent for the terminal, IDE and desktop app. ChatGPT is the chat app with its own Bolta page. Use the setup on this page for Codex.
Do I need an API key to connect Codex to Bolta?
No. The recommended route is a browser sign-in: run codex mcp login bolta and tick the brands to share. Codex can also read a token from an environment variable, but we have not tested that against Bolta, so use sign-in.
Can Codex publish to my social accounts without my approval?
No. A post only gets a time or goes out after you say yes to its exact text. Codex should show you the text first, and if it tries to skip that, Bolta refuses or keeps the post in review. Your role and Safe Mode still apply.
How do I connect Codex when I am on a server with no browser?
Run codex mcp login bolta --no-browser. Codex prints a link, you open it on any computer and sign in, then paste the full address you land on back into the terminal.
Does Codex publish Facebook posts without my yes?
No. Nothing is approved, scheduled or published until you say yes to that Facebook 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.

Facebook from other AI agents

The same Facebook limits apply whichever agent asks. The connection and the setup are what change.

Try a Facebook draft from Codex

Connect Codex, ask for a Facebook draft and read the exact text. Nothing goes live until you say yes.