Schedule social media posts from Codex
You need: Codex CLI or the IDE extension, and a free SocialRobot account

Connect Codex in 3 steps
- 1
Make a free SocialRobot account
Connect the social accounts you want to post to.
Start free - 2
Add SocialRobot to Codex
Run these two commands. The second one gives you a link to sign in.
terminalcodex mcp add socialrobot --url https://socialrobot.io/api/mcp codex mcp login socialrobotCodex's own guideUse an API key instead
Make a key in SocialRobot under Scheduler → API Keys and use it instead of signing in.
~/.codex/config.toml[mcp_servers.socialrobot] url = "https://socialrobot.io/api/mcp" bearer_token_env_var = "SOCIALROBOT_API_KEY" - 3
Ask for a post
Say what to post, where and when. It lands on your SocialRobot calendar, where you can still change it.
- Write a LinkedIn post about the last five merged PRs. Friday at 10.
- Attach ./press/screenshot.png to tomorrow's X post.
- Cancel everything scheduled for Monday.
Steps checked against Codex's docs on October 8, 2026
What Codex can post on each network
Every network SocialRobot publishes to, with each network’s own limits.
Instagram
Photos, videos, carousels of 2 to 10, and Stories.
- Up to 2,200 characters; the first 125 show in the feed
- Needs a photo or video: give Codex the file on your computer.
- Needs a Business or Creator account.
LinkedIn
Text, images, video, PDFs and polls.
- Up to 3,000 characters; the first 210 show in the feed
- Photos are optional; Codex can upload them from your computer.
- Your profile or a Company Page.
Facebook
Page posts with text, photos or video.
- Up to 63,206 characters; the first 477 show in the feed
- Photos are optional; Codex can upload them from your computer.
- Posts go to a Facebook Page.
X (Twitter)
ProPosts with up to 4 images, and threads of up to 25 posts.
- Up to 280 characters
- Photos are optional; Codex can upload them from your computer.
- X is on the SocialRobot Pro plan.
TikTok
Videos and photo posts.
- Up to 2,200 characters; the first 100 show in the feed
- Needs a photo or video: give Codex the file on your computer.
- Publish directly, or send it to your TikTok inbox to finish in the app.
Threads
Posts, carousels, and threads of up to 20 posts.
- Up to 500 characters
- Photos are optional; Codex can upload them from your computer.
Pinterest
Pins with an image or video.
- Up to 500 characters; the first 50 show in the feed
- Needs a photo or video: give Codex the file on your computer.
- Goes to the board you pick, or a new one.
Bluesky
Posts with up to 4 images or one video.
- Up to 300 characters
- Photos are optional; Codex can upload them from your computer.
Mastodon
Posts with images or video.
- Up to 500 characters
- Photos are optional; Codex can upload them from your computer.
- The character limit depends on your server.
Questions
Can Codex post to social media?
Can Codex post to X?
Can Codex post to Instagram or TikTok?
Does the IDE extension need its own setup?
Can I use it in CI?
Is it free?
Other agents
All agents
Start free
Your next post starts here.
Connect your accounts and try it with a real post. Two accounts and fifteen posts a month, free.
Start freeFree plan. No credit card required.












