Gemini CLI + YouTube

Post to YouTube from Gemini CLI.

Connect Gemini CLI to xpost once, and you can ask it for a YouTube post — written in the shape YouTube takes, and mailed to you before it goes out or the moment it has.

Connecting Gemini CLI

Three steps, about two minutes. Once it is done, every network is available to it, not just YouTube.

  1. 1

    Add the MCP server

    Add this address to Gemini CLI's MCP server settings, where it keeps the servers it can call.

  2. 2

    Sign in to xpost

    A browser window opens on the xpost sign-in page. Log in once and the connection is made.

  3. 3

    Ask for a post

    Say what you want, for which accounts and when. It comes back with a link to the post. Switch approvals on and that link is where you approve it.

What Gemini CLI can make for YouTube

The same limits the composer checks, so a draft your assistant writes is one YouTube will actually take.

Post typesVideo, Short
Pictures and video1 video, with a title of up to 100 characters
Caption lengthUp to 5000 characters, counted as you type
First commentNot yet
TaggingTags, as YouTube uses them
AlsoPrivacy (public, unlisted, private), made-for-kids flag, AI-altered footage and paid product placement labels

What happens when you ask

It drafts, in YouTube's shape

Caption length, post types, what YouTube does with pictures — all of it is checked before the draft is saved.

It tells you

The post lands in your inbox with a link, before it reaches YouTube or the moment it has. Switch approvals on and nothing reaches YouTube until you say yes — and no key can say it for you.

You get a receipt

When it publishes, the YouTube account comes back with a link to the live post — and Gemini CLI can read that too.
FAQ

Questions people ask

  • Yes. Connect Gemini CLI to xpost and it can write, schedule and publish YouTube posts for your account. Every post it creates lands in your inbox, and you can switch approvals on so they wait for your yes.

Still got questions?

When you need help, you talk to the people who built xpost.

Your next month of posts, planned this afternoon.