Updated 9 October 2026
Social media MCP server for Codex

Post to social media from Codex

Add Antwork to Codex, then draft, schedule and publish to LinkedIn, X (Twitter), Instagram, Threads, TikTok, YouTube, Facebook and Pinterest without leaving it: launch posts from a changelog, the same idea written for each account.

  • 8 platforms, one connector
  • One command to add
  • No API key, OAuth in the browser
  • Nothing posts without your OK
One command
$ codex mcp add antwork --url https://api.antwork.io/mcp && codex mcp login antwork

Free for 2 social accounts. No card, no API key.

The short answer

Can Codex manage your social media?

Yes, through an MCP server.

Codex does not post to social media on its own. Antwork is a Model Context Protocol (MCP) server you add with one command. You connect each account once on that platform's own login screen, and from then on Codex drafts, schedules and publishes to LinkedIn, X (Twitter), Instagram, Threads, TikTok, YouTube, Facebook and Pinterest from where you already work, through each platform's official API.

  • 8 platforms, one connectorEvery account you connect is there in the same chat.
  • One idea, a post per accountEach version is written for its platform and that account's voice.
  • You approve every postDrafting and publishing are separate steps. Nothing goes out until you say so.
Set it up

Connect Codex in 3 steps

A couple of minutes, in Codex.

One command
$ codex mcp add antwork --url https://api.antwork.io/mcp && codex mcp login antwork
  1. 1Step 1 of 3
    Run the commandIt adds Antwork over HTTP, then runs codex mcp login, which opens an OAuth consent screen in your browser. Approve it; there is no API key to paste into config.toml.
  2. 2Step 2 of 3
    Connect the social accountStart codex and ask it to connect your account. It returns a connect link per platform; authorize once and Antwork keeps that token alive.
  3. 3Step 3 of 3
    Draft, then publish as a second stepDrafting and publishing are separate tool calls. Codex writes first and only publishes when you say so, which matters more in a terminal where there is no card to review.
What you can ask

Run every account from one chat

Copy one into Codex to try it. Codex shows you each post before anything is scheduled or published.

Plan
“Plan next week's posts for Instagram, LinkedIn and X, and show me the calendar.”
“Turn this blog post into a post for each of my accounts.”
“Give me three post ideas for this month, based on what has worked.”
Publish
“Post this announcement to all my accounts, each in its own style.”
“Schedule the LinkedIn and X versions for Tuesday at 9am.”
“What is scheduled this week? Move Friday's posts to Monday.”
Learn
“Which account did best last month, and why?”
“Compare my Instagram and LinkedIn engagement this quarter.”
“What should I post more of on each account?”
Your options

Three ways to run social media from Codex

Each works. They differ in where the work happens and how much you set up.

Antwork
Where you ask
In Codex
Accounts
Eight platforms, one connection
Writes per account
Each account in its own voice
Shows the post first
Every time
Code needed
None
An automation tool
Where you ask
In a workflow you build
Accounts
One integration per platform
Writes per account
Only what you wire in
Shows the post first
Depends on the workflow
Code needed
None
Build your own
Where you ask
In your own code
Accounts
One API per platform
Writes per account
Only what you build
Shows the post first
Depends on your build
Code needed
Yes
For the technical

How the connection works

The server
URL
https://api.antwork.io/mcp
Transport
Streamable HTTP
Auth
OAuth 2.1, dynamic client registration and PKCE
API key
None
If something does not workAntwork's tools do not appearRestart Codex after adding it. Most apps only read their MCP setup when they start.The consent screen keeps coming backThe session expired or the grant was revoked. Approve it once more; grants refresh on their own while you use them.The tools answer but find no accountsNo social account is connected yet. Ask for the connection links, or connect one in the Antwork web app.
Questions

Codex and social media, answered

Can Codex post to social media?

Yes, through Antwork. Codex publishes to LinkedIn, X (Twitter), Instagram, Threads, TikTok, YouTube, Facebook and Pinterest from the same place, each account connected once over that platform's own login. Drafting and publishing are separate steps, so nothing goes out until you say so.

All your social media, from Codex.

Free for 2 social accounts. Set up in a few minutes.

Connect Codex