Post to social media from OpenCode

Add plan.video to OpenCode's config as a remote server, sign in once, and ask it to schedule and publish your posts from the terminal.

Connect OpenCode in three steps

  1. Add the server

    Add plan.video to OpenCode's config file, in your project or in ~/.config/opencode.

    {
      "mcp": {
        "planvideo": {
          "type": "remote",
          "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.

    opencode mcp auth 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 OpenCode what to post

  • Schedule my three newest videos to YouTube Shorts and TikTok, one a day at 18:00 starting tomorrow.
  • Read CHANGELOG.md and write a LinkedIn post and an X post about this release. Save both as drafts.
  • Move all of Thursday's posts to Friday, same times.
  • What's on my calendar next week?

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.