socialrobot
AI agents · OpenAI

Schedule social media posts from Codex

Codex already knows what you shipped. Ask it to write the announcement and schedule it.

You need: Codex CLI or the IDE extension, and a free SocialRobot account

Connect Codex in 3 steps

  1. 1

    Make a free SocialRobot account

    Connect the social accounts you want to post to.

    Start free
  2. 2

    Add SocialRobot to Codex

    Run these two commands. The second one gives you a link to sign in.

    terminal
    codex mcp add socialrobot --url https://socialrobot.io/api/mcp
    codex mcp login socialrobot
    Use 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"
    Codex's own guide
  3. 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.
    Instagram details
  • 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.
    LinkedIn details
  • 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.
    Facebook details
  • X (Twitter)

    Pro

    Posts 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.
    X (Twitter) details
  • 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.
    TikTok details
  • Threads

    Posts, carousels, and threads of up to 20 posts.

    • Up to 500 characters
    • Photos are optional; Codex can upload them from your computer.
    Threads details
  • 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.
    Pinterest details
  • Bluesky

    Posts with up to 4 images or one video.

    • Up to 300 characters
    • Photos are optional; Codex can upload them from your computer.
    Bluesky details
  • 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.
    Mastodon details

Questions

Can Codex post to social media?

Yes, through SocialRobot, on any account you connected there.

Can Codex post to X?

Yes, with SocialRobot Pro, the plan that includes X. Single posts and threads of up to 25 posts.

Can Codex post to Instagram or TikTok?

Yes. Give it the path to the image or video; Codex uploads the file and schedules the post.

Does the IDE extension need its own setup?

No. It reads the same config as the CLI.

Can I use it in CI?

Yes. Use the API key setup so nobody has to click a sign-in link.

Is it free?

Yes. It works on every SocialRobot plan, including Free, which covers 15 scheduled posts a month.

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 free

Free plan. No credit card required.