
Codex
Write and schedule social media posts where you write the code.
- Built by
- OpenAI
- Status
- Active
- Type
- Third-party
- Website
- Codex
Make social media part of every release
Once Buffer is connected, your pull requests, release history, and posting rules become the starting point for every post.
Explain the change, not the code
Codex reads the diff and the pull request description, then writes posts your users will understand.
Keep your posting rules in AGENTS.md
Add your voice, channels, and hashtag habits to AGENTS.md, and Codex follows them in every session.
Set up Buffer for the whole repo
Add the server to the project's config so teammates get it too, each signed in with their own Buffer account.
Plan the whole launch week
Line up a teaser, the launch post, and a follow-up tip, each scheduled for its own day.
Save post ideas mid-task
Spot something worth sharing while you work, and Codex saves it to your Buffer ideas for later.
Thank the people who shipped it
Codex pulls contributors from the release history and drafts a thank-you post for you to check.
How do I connect Buffer to Codex?
You'll need the Codex CLI and a Buffer account on any plan, free included. No API key required.
- 1
Install Codex CLI.
- 2
Add the Buffer MCP server.
In your terminal, run the following command to add the Buffer MCP server to Codex:
codex mcp add buffer --url https://mcp.buffer.com/mcp - 3
Approve access.
A browser window opens. Sign in to Buffer if prompted and approve access.
Try these prompts first
The first four read your project, so open Codex inside a repository before you paste them. The last two work from any folder.
Read the diff on this branch and draft a LinkedIn post that explains the change for users, not engineers. Save it as a draft in Buffer.
Run it on a branch with your changes.
Draft three posts about the latest release in this repo: a teaser, the launch post, and a follow-up tip. Schedule the teaser for tomorrow at 10am, the launch post for the day after, and the tip for a week from today, on LinkedIn and X.
Run it inside the repository.
Read my last 20 published posts in Buffer, then write a "Social posts" section for AGENTS.md that describes my tone, post length, and hashtag habits. Show me the section before you save it.
Run it inside the repository. Codex reads AGENTS.md in later sessions.
List the contributors to the latest release in this repo and draft a thank-you post that mentions what each person worked on. Save it as a draft in Buffer for LinkedIn.
Run it inside the repository. Check the names before you post.
Which of my Buffer channels haven't had a post in the last two weeks?
Show my last five published posts in Buffer with their engagement, best first.
Connect all your favorite accounts to Codex
- Buffer × LinkedInBuffer × LinkedIn
- Buffer × ThreadsBuffer × Threads
- Buffer × PinterestBuffer × Pinterest
- Buffer × BlueskyBuffer × Bluesky
- Buffer × YouTubeBuffer × YouTube
- Buffer × XBuffer × X
- Buffer × Google Business ProfileBuffer × Google Business Profile
- Buffer × InstagramBuffer × Instagram
- Buffer × SubstackBuffer × Substack
- Buffer × MastodonBuffer × Mastodon
- Buffer × TikTokBuffer × TikTok
- Buffer × FacebookBuffer × Facebook
Frequently asked questions
Can Codex post to social media?
Can Codex post to social media?
How do I add an MCP server to Codex?
How do I add an MCP server to Codex?
codex mcp add with a name and the server's URL. For Buffer, run codex mcp add buffer --url https://mcp.buffer.com/mcp. A browser window opens so you can sign in to Buffer and approve access. Codex saves the server to its config file, so it loads in every new session, and codex mcp list shows it's there. New to Buffer? You can get started for free.Does Codex support MCP?
Does Codex support MCP?
What can Codex access in Buffer?
What can Codex access in Buffer?
Which social platforms can Codex post to with Buffer?
Which social platforms can Codex post to with Buffer?
Can Codex schedule posts or publish them right away?
Can Codex schedule posts or publish them right away?
Is Buffer for Codex free?
Is Buffer for Codex free?
Is it safe to connect Buffer to Codex?
Is it safe to connect Buffer to Codex?
How do I remove the Buffer MCP server from Codex?
How do I remove the Buffer MCP server from Codex?
codex mcp remove buffer to delete the server from your Codex config. That stops Codex from loading it, but Buffer keeps the approval until you revoke it there: go to Settings > API > Active Integrations and remove Codex. Do both if you're switching machines or handing over a laptop.Can my team use Buffer in Codex?
Can my team use Buffer in Codex?
.codex/config.toml, which Codex loads in trusted projects.Is there a limit to how much Codex can do in Buffer?
Is there a limit to how much Codex can do in Buffer?
Codex or ChatGPT: which one do I need?
Codex or ChatGPT: which one do I need?
More ways to use Buffer with AI
Buffer connects to the AI tools you already use. Pick one to see how.
Grok
Draft and schedule Buffer posts from Grok
Cursor
Automate Buffer workflows from the Cursor code editor
ChatGPT
Write a social media post in ChatGPT and schedule it in the same chat
Perplexity Web
Research and publish social media content from Perplexity
Muse
Draft and schedule Buffer posts from Muse
Ship the post with the release
Connecting is free on every Buffer plan, and you won't need a credit card.