Gemini CLI + LinkedIn

Post to LinkedIn from Gemini CLI.

Connect Gemini CLI to xpost once, and you can ask it for a LinkedIn post — written in the shape LinkedIn 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 LinkedIn.

  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 LinkedIn

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

Post typesPost from a profile or a Page, PDF document carousel with a title
Pictures and videoUp to 9 photos, 1 video, or 1 PDF (on its own)
Caption lengthUp to 3000 characters, counted as you type
First commentNot yet
TaggingNot yet
AlsoA document title, alt text on pictures

What happens when you ask

It drafts, in LinkedIn's shape

Caption length, post types, what LinkedIn 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 LinkedIn until you say yes, and no key can say it for you.

You get a receipt

When it publishes, the LinkedIn 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 LinkedIn 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