Post to social media from Codex

Add plan.video to Codex's config once, and the Codex app, CLI and IDE extension can all plan, schedule and publish your posts.

Connect Codex in three steps

  1. Add the server

    Add these lines to Codex's config file. The Codex app, CLI and IDE extension share it.

    [mcp_servers.planvideo]
    url = "https://plan.video/mcp"
  2. Sign in

    Run this in your terminal. Sign in to plan.video in the page that opens and click Allow.

    codex mcp login planvideo
  3. Ask in your own words

    Ask for what you want posted. To check it's connected, ask which accounts you have.

    Which social accounts do I have connected in plan.video?

Tell Codex what to post

  • Schedule my ten newest clips on TikTok and YouTube, one each weekday at 18:00. Work around what's planned.
  • Put the first three on Bluesky too, as drafts with shorter captions.
  • Post a reminder to LinkedIn every Monday at 8:00 for the next four weeks.
  • Which of last month's posts did best? Schedule a follow-up to the top one for Saturday.

What it can do in plan.video

  • social_accounts: Lists your connected accounts and your time zone.
  • social_schema: Each network's rules: caption limit, what it accepts and whether plan.video can post to it.
  • list_media: Lists the videos and pictures in your media library.
  • list_posts: Lists posts on your calendar, with their status and whether they went out.
  • schedule_post: Saves a post on your calendar, scheduled or as a draft. It never publishes.
  • copy_post: Makes a new post from an existing one, on a new day or as a draft.
  • update_post: Changes a draft or a scheduled post. It never publishes.
  • delete_post: Deletes a draft or a scheduled post.
  • publish_post: Sends a saved post now, when you ask.
  • analytics: Views, likes and comments from TikTok, YouTube, Instagram, Facebook, Threads and LinkedIn Pages, how posts did by day and hour, and your top posts.
  • tiktok_creator: Asks TikTok what the account allows before a post goes to its profile.

It can't change posts that have already gone out, attach files from your computer, see your networks' logins or edit your videos.

Questions, answered

Do the Codex app and the CLI need setting up separately?

No. They read the same config file, so once plan.video is in it and you've signed in, the app, the CLI and the IDE extension can all use it.