Skip to content
Black Friday: 40% off the first year, until December 1
Codex setup in our docs (opens in a new tab)

Post to social media from Codex

Two commands add PostSyncer to Codex. Then ask it to turn a release, a merged pull request or a docs page into posts and schedule them on the 12 networks you connect.

Run this in your terminal
codex mcp add postsyncer --url https://postsyncer.com/mcp

Free plan: 2 accounts, 20 posts a month, no card

  • Cancel anytime
  • Unlimited posts on paid plans

Example: a developer asks Codex, in the terminal, to write a post about the last merged pull request and schedule it for Wednesday at 10:00 on X and Bluesky. Codex reads the git log, calls PostSyncer’s list-accounts and create-post tools, and both posts appear on the PostSyncer calendar.

An example conversation. Alder & Ash Coffee is a made-up brand.

What you can ask

Ask the way you’d ask a person

Plain words work. Under each ask are the PostSyncer tools Codex uses for it.

Post
“Look at the last merged PR and write a post about it for X and Bluesky. Schedule it for Wednesday at 10am.”
list-accountscreate-post
Post
“Write the v3.1 release notes as a LinkedIn post and a Threads post, and save both as drafts.”
list-accountscreate-post
Plan
“List everything scheduled for launch week as a table: day, time, network.”
list-posts
Plan
“Delete the draft with the old opening hours.”
list-postsdelete-post
Reply
“Check the comments on this week’s posts and answer the setup questions.”
list-postssync-comments-from-platformslist-commentscreate-comment
Connect
“Set up a webhook to https://hooks.example.com/postsyncer for failed posts, and send it a test event.”
create-webhooktest-webhook
Report
“Pull last week’s numbers and write them to reports/social.md.”
get-analytics-workspaceget-analytics-post

Set up with your AI agent

Paste this prompt into Codex. It asks for your email and the 6-digit code we send there, then makes your account, or connects the one you have. Next it connects your social accounts, reads how your posts did and drafts a week of posts in your voice for you to schedule.

Setup prompt

Set up PostSyncer for me: read https://postsyncer.com/agents/setup.md and follow it.

How to connect

Connect Codex in three steps

Codex adds MCP servers from its command line. Add PostSyncer once, sign in, and it’s ready wherever you use Codex.

  1. Add PostSyncer to Codex

    In your terminal. The CLI, the IDE extension and the ChatGPT desktop app use the same setup.

    Terminal
    codex mcp add postsyncer --url https://postsyncer.com/mcp
  2. Sign in

    Run the login command. Your browser opens to approve PostSyncer.

    Terminal
    codex mcp login postsyncer

    PostSyncer

    Authorize Codex

    Manage your PostSyncer content through the MCP server

    AllowCancel
  3. Ask Codex

    Start Codex in your project and ask for posts. It can read the repo, and it uses the PostSyncer tools to schedule them.

Then try it

“Read the latest release notes in this repo and save a launch post as a draft in PostSyncer.”

Running Codex in CI?

Where no one can sign in, give Codex an API key instead. Codex reads the token from an environment variable you name in its config (bearer_token_env_var). Create the key in PostSyncer’s Settings, under API, with only the permissions the job needs.

Codex MCP guide (opens in a new tab)

Codex connects to PostSyncer’s MCP server, https://postsyncer.com/mcp, over streamable HTTP and signs in with OAuth.

PostSyncer MCP address
https://postsyncer.com/mcp

No social accounts in PostSyncer yet? Ask Codex for a connect link and open it in your browser.

Codex and PostSyncer

Codex and PostSyncer

One setup, three places

Codex keeps its MCP servers in one config that the CLI, the IDE extension and the ChatGPT desktop app all read. Add PostSyncer from the terminal, sign in, and it’s there in each of them without doing it again.

From a merge to a post

Codex already knows what changed: it can read the commit log, a pull request or the docs. Ask it to explain the change for people who don’t read code, then schedule that on the networks your users follow.

Drafts for review

A good habit for posts written from code: ask for drafts. They wait on the PostSyncer calendar, where someone who knows the audience can read, edit and schedule them. On paid plans, if your role in a workspace can’t publish, Codex’s posts go to approval anyway.

Keys with only what they need

For automated runs, a PostSyncer API key can be narrow. Pick the permissions in Settings, under API; a job gets the least it needs.

  • brand:read lets it read your brand voice first
  • posts:create saves drafts
  • posts:schedule also lets it schedule
  • posts:publish also lets it publish now
  • webhooks:create sets up failure alerts

What it can do

What PostSyncer offers Codex

The tools PostSyncer’s MCP server offers: the same things the app does, in the workspaces you belong to. The grey names are the tools themselves, if you want to ask for one by name.

Posts

  • Write a post and publish it now, schedule it or save it as a draft, with its own text and settings for each networkcreate-post
  • See what’s scheduled, published, waiting for approval, drafted or failedlist-posts
  • Find a post by its PostSyncer ID, its public link or the network’s own post IDget-postget-post-by-urlget-post-by-platform-post-id
  • See who changed a post, what they changed and when, and whether each network posted itget-post-history
  • Change a post’s text, media, accounts or time, or send a failed post againupdate-post
  • Approve a post that’s waiting, then publish it, schedule it or keep it as a draftapprove-post
  • Retry publishing failed accounts on a failed or partially failed postretry-post
  • Delete a post from the calendardelete-post
  • Add a follow-up reply that goes out once a post reaches a number of likes, reposts, replies or viewsupdate-post-auto-plug
  • Set a post’s comment rules: keyword filters, which comments to remove and AI auto-repliesupdate-post-comment-moderation
  • Read the replies under any public X post and answer a question about themanalyze-twitter-post

Approving posts, comment moderation and reading an X post with AI need a paid plan.

Accounts and workspaces

  • List your workspaces: one per brand or clientlist-workspaces
  • Make a workspace for a new brand or client, or delete one for goodcreate-workspacedelete-workspace
  • Read and change a workspace’s time zone, posting times and what new posts start withget-workspace-settingsupdate-workspace-settings
  • See the connected social accounts, a Pinterest account’s boards and a YouTube channel’s playlistslist-accountsget-account
  • See the sections of a Pinterest board, to put a Pin in onelist-pinterest-board-sections
  • Make a link where you or a client connect an account: no PostSyncer login, one use, good for 7 dayscreate-account-connect-link
  • Find people and companies to tag in a LinkedIn post, and get the exact tag to put in the textfind-linkedin-mentions
  • Disconnect a social accountdelete-account
  • After you reconnect an account, put it back on the posts it was on. Posts the disconnect moved to drafts are scheduled again at their old time, if no one changed them and that time is still aheadput-back-account-posts

Brand and snippets

  • Read a workspace’s brand: who you are, how you sound, what works on each account, your competitors and your rulesget-brand
  • Change parts of the brand. What you set stays yours and AI won’t write over itupdate-brand
  • Add a suggested competitor to the brand, or say it isn’t one so it’s never suggested againaccept-brand-suggestiondismiss-brand-suggestion
  • Save sign-offs, calls to action and hashtag groups the team can drop into any postlist-snippetscreate-snippetupdate-snippetdelete-snippet

Media

  • Add images, videos and PDFs to the media library from links, Google Drive and Dropbox share links includedupload-media-from-url
  • Put a photo or video you attach in ChatGPT straight into the library, or a small file the AI can read itselfupload-media-file
  • Make an upload link for a file the chat can’t pass, like a video in Claude: you open it, drop the file, and the AI gets itcreate-media-upload-linkget-media-upload-link
  • Browse the media library and reuse what’s therelist-mediaget-media
  • Watch a video from a post link or the library: what’s said and shown, its hook and its key pointsanalyze-video
  • Delete a file from the librarydelete-media
  • Sort the library into folderslist-folderscreate-folderget-folderupdate-folderdelete-folder

Watching a video with AI needs a paid plan.

Comments and reviews

  • Read a post’s newest comments now, without waiting for the next scheduled readsync-comments-from-platforms
  • Read a post’s comments and their replieslist-commentsget-comment
  • Reply to a comment, or add one of your owncreate-comment
  • Edit or delete your commentsupdate-commentdelete-comment
  • Count the questions under a post nobody has answered yet, and the team threads waiting on youget-comment-summary
  • List the teammates you can @mention in a post’s team commentslist-post-people
  • Hide a comment, like spam, on Instagram, Facebook, Threads, X or YouTube, and keep it in PostSyncer. Facebook, Instagram and YouTube can show it again. LinkedIn, Bluesky and Mastodon can’t hide one: delete it insteadhide-comment
  • Read your Google Business Profile reviewssync-reviewslist-reviewsget-review
  • Reply to a review, change the reply or remove itreply-to-reviewdelete-review-reply

Review replies are public on Google, so the AI tool is told to use your words or ask you first. X comments are read on every plan.

Analytics

  • Totals across all your workspaces, for the dates you askget-analytics-summary
  • Totals for one workspace, with each account’s followersget-analytics-workspace
  • How one account is doing, post by postget-analytics-account
  • How one post did on each networkget-analytics-post
  • Read a post’s numbers again from the networkssync-post-analytics

On the Free plan, the summary, workspace and account numbers cover the last 7 days, and numbers are read once a day, so reading them again needs a paid plan.

Campaigns and labels

  • Group posts into a campaign, like a launch or a monthly themelist-campaignscreate-campaignget-campaignupdate-campaigndelete-campaign
  • Tag posts with labels, like Promo or Client Alist-labelscreate-labelget-labelupdate-labeldelete-label

Creating or changing campaigns and labels needs a paid plan.

Webhooks

  • Send signed events, like a post published or failed, to your own addresslist-webhooksget-webhookcreate-webhookupdate-webhookdelete-webhook
  • See what was sent to an address and whether it arrivedlist-webhook-deliveries
  • Send a test event to check an address workstest-webhook

Team

  • See who is on a workspace’s team, their roles, and who hasn’t accepted an invitation yetlist-team-members
  • Invite someone to the team by email, with a roleinvite-team-member
  • Change a teammate’s role, or send an invitation againupdate-team-member
  • Take someone off the team, or cancel an invitationremove-team-member

Inviting someone needs a paid plan.

Notifications

  • Read your notifications and mark them read, unread or donelist-notificationsupdate-notifications
  • See and change which events reach you, and whereget-notification-settingsupdate-notification-settings
  • Make a link to connect Slack, Discord or Telegram for alertscreate-notification-connect-link
  • Pick a Slack channel and the events it getslist-slack-channelscreate-notification-destination
  • Send a test message to a Slack, Discord or Telegram channeltest-notification-destination
  • Stop sending alerts to a channeldelete-notification-destination

Blog-to-social

  • See your blog feeds, their accounts and schedule, and the posts they madelist-blog-sources
  • Turn a blog’s new articles into posts, as drafts or on a schedulecreate-blog-source
  • Change a blog feed, or pause it and start it againupdate-blog-source
  • Delete a blog feed, keeping the posts it madedelete-blog-source

A feed’s posts are written with AI on paid plans.

Products

  • Save the products your posts promote, with a description, a link and hookslist-productscreate-productupdate-productdelete-product

Products need a paid plan.

Your profile and API keys

  • See your name and sign-in email, and change your nameget-profileupdate-profile
  • See your API keys and their permissions, and delete onelist-api-keysdelete-api-key

Delete tools are marked destructive, and PostSyncer tells Codex to check with you before using one.

FAQ

Codex and PostSyncer, answered

Still not sure? Our own team answers the live chat, on every plan.

Chat with us

How do I add PostSyncer to Codex?

Run codex mcp add postsyncer --url https://postsyncer.com/mcp, then codex mcp login postsyncer. Your browser opens; approve PostSyncer and you’re connected. The CLI, the IDE extension and the ChatGPT desktop app all use that setup.

Is this the same as PostSyncer in ChatGPT?

It’s the same PostSyncer account, reached a different way. In ChatGPT chats, PostSyncer is a plugin you install from the directory. Codex, OpenAI’s coding agent, adds it as an MCP server with codex mcp add.

Can Codex use an API key?

Yes, for runs where nobody can sign in. Name an environment variable in Codex’s config with bearer_token_env_var and put a PostSyncer key in it. Give the key only the permissions the job needs.

Is it free?

Codex works with every PostSyncer plan, the free plan included, with no card. Campaigns and labels are on paid plans. Analytics shows the last 7 days on the free plan, and the rest of it is on paid plans.

Which networks can Codex post to?

PostSyncer’s 12, once you connect them: Instagram, TikTok, Facebook, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Google Business Profile, Mastodon and Telegram.

Can Codex tell me when a post fails?

Ask it to set up a webhook: PostSyncer then sends a signed event to your address when a post is published or fails. The signing secret is shown once, so keep it somewhere safe.

Let the changelog write the first draft.

Start free, run two commands, and ask Codex for the post.

  • No card for free
  • Cancel anytime
  • Unlimited posts on paid plans