Gemini CLI + X

Post to X from Gemini CLI.

Connect Gemini CLI to xpost once, and you can ask it for a X post — written in the shape X takes, waiting in your queue until you approve it.

Get started for free

Your first post is free. No credit card.

Connecting Gemini CLI

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

  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. Approve it from the link Gemini gives you, or in your queue.

What Gemini CLI can make for X

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

Post typesPost, thread of up to 5 tweets, poll with 2 options
Pictures and videoUp to 4 photos, or 1 video or GIF, with alt text
Caption lengthUp to 280 characters, counted as you type
First commentYes
TaggingNot yet
AlsoReply settings (everyone, people you follow, mentioned only), first comment under the post
PriceIncluded in every plan

What happens when you ask

It drafts, in X's shape

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

It waits for you

The post lands in your approval queue. Nothing reaches X until you say yes, and no key can say it for you.

You get a receipt

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

Questions people ask

  • Yes. Connect Gemini CLI to xpost and it can write, schedule and publish X posts for your account. It cannot publish on its own — every post it creates waits in your approval queue until you approve it.

Still got questions?

Contact us

Your next month of posts, planned this afternoon.

Try it for free

No credit card · Cancel any time