X · from Gemini CLI
Post to X from Gemini CLI.
A changelog line is seldom written for X. Gemini CLI is told by how much it is over and what its links will cost, and fixes both before sending.
X has the tightest ceiling of the networks a release usually goes to, and a paragraph lifted from a changelog is often past 280 characters. From Gemini CLI the draft is measured before anything leaves: the part that overflows is named with its overshoot, and Gemini CLI can tighten the sentence or turn the announcement into a chain of up to 25 posts. The reply to your request carries the link to the first post.
You connect X once by signing in through a browser in 1Social, so there is no developer account to apply for, no bearer token in a .env file and no X bill of your own. Gemini CLI shows the tool call and its arguments when it asks for approval, which on X is the last look at the exact words, links included. Links matter more here than elsewhere, because a post that carries one costs more units to send.
Asking Gemini CLI for an X post
The X ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.
› Set me up — what do you need?
Just the accounts. Connect them in the browser once and I can publish from here after that.
› Done, connected
I will tell you before publishing if a network cannot take what you wrote.
› Good. Drafting the launch note now
Send it over and I will check it before anything goes out.
› tweet the new release with a link to the github release page, make it a short thread if it won’t fit
from the latest tag · one link
With the link it is over the limit, so here is a split and its cost:
Published as a chain, with the link in the first post only to keep the cost down.
What X allows
Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.
- Caption limit
- 280 characters
- Post with no image or video
- Fine
- Reply chains
- Yes — up to 25 parts
- Images or video per post
- 4
- Image formats
- Anything we accept for upload
Gemini CLI, on the other networks
X, from the other agents
- X from ChatGPT
- X from Claude
- X from Cursor
- X from Claude Code
- X from OpenClaw
- X from Hermes
- X from Codex
- X from Claude Cowork
- X from VS Code
- X from Windsurf
- X from Cline
- X from Kilo Code
- X from Zed
- X from OpenCode
- X from Amp
- X from Goose
- X from Grok
- X from Perplexity
- X from Le Chat
- X from Raycast
- X from LM Studio
- X from Warp
- X from Kimi Code
- X from Junie
- X from DeepSeek
Publishing to X from Gemini CLI
The price of each draft, up front
Repository drafts pick up links to tags, pull requests and docs. The preview prices every version, so Gemini CLI can keep the link in one part of a thread.
Split rather than clipped
When the announcement will not fit, Gemini CLI can turn it into a chain of replies, each part measured on its own before the first one is published.
Nothing from X in your dotfiles
The X connection is held by 1Social, so there is no consumer key or access token in your shell profile for Gemini CLI or a stray script to read.
Room for a second X server
Another X server for reading timelines can sit beside ours: Gemini CLI files every tool under its server’s name, so a publish call still reaches the server you meant.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell Gemini CLI to publish to X, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
Two X servers, and what to call ours
People who post to X from Gemini CLI often already have another X server in their settings, for reading timelines or searching. That is fine: Gemini CLI gives every tool a name that starts with its server’s name, so the two never collide. The name you give our entry is what matters. If both entries share one server name, the one registered last replaces the other’s tools; and an underscore in the name breaks the rules you write to allow or block tools, without any warning. Call ours something like onesocial, then run /mcp to see what each server contributes.
A rule of X from Gemini CLI, not ours and not the network’s. From documentation, checked 2026-11-23.
When this is the wrong tool
If you picture a headless Gemini CLI job announcing each merged pull request on X with a link, price it first: X charges more for every post with a link in it, and a job that runs on each merge runs up that cost quietly. This publishes only, too; mentions, replies and the timeline stay in X.
Questions people actually ask
Can Gemini CLI post to X without an X developer account?
Yes. You sign in to X once in a browser through 1Social, and the API access sits on our side. Gemini CLI only holds its sign-in to our server, so neither your settings nor your project carries anything from X.
Why does Gemini CLI show a higher cost for a tweet with a link?
Because X charges more for posts that contain a link, and that is passed through in the units an X post uses. The preview shows the cost of each draft, so you can move the link into one part of a thread or drop it.
What happens if I have two X MCP servers in Gemini CLI at once?
If their tools share a name, one replaces the other, as Gemini CLI’s documentation warns. Run /mcp to see which server each tool belongs to, and keep only one entry offering a given name while you publish.
Something else? Ask us — a person answers.
Read next
Start where you already work.
Connect an account and post your first update in about two minutes. Every plan starts with a free trial.
Posts go out through each network’s official API — not scraping.