Post to social media from Gemini CLI.
Add xpost as an MCP server, sign in once, and create, schedule and check your social posts without leaving the terminal.
What you can do with Gemini CLI
Try one of these prompts. Copy it and paste it into Gemini CLI.
Notes to a post
This week's notes become Friday's post.
“Read notes/week-38.md, turn it into a LinkedIn post and schedule it for Friday at 4 p.m.”Commits in plain words
What changed, said so anyone can follow it.
“Summarize the last 10 commits in plain words and post it to X.”Save your results
Save last month's social results as a CSV.
“Get last month's numbers for every network and save them to report.csv.”Post at the right time
Schedule your next post for a time that usually performs well.
“When do my LinkedIn posts perform best? Schedule today's post for the next good time.”The next seven days
Everything scheduled, with times and networks.
“List everything scheduled for the next 7 days, with the time and the networks.”Take down posts
Take down a published post from multiple networks at once.
“Take down the post I published an hour ago on X and Threads. The link in it is wrong.”
Set up xpost in Gemini CLI
Three steps, about two minutes. No keys to copy: you sign in once.
- 1
Add the MCP server
Add this address to Gemini CLI's MCP server settings, where it keeps the servers it can call.
https://xpost.to/api/mcp - 2
Sign in to xpost
A browser window opens on the xpost sign-in page. Log in once and the connection is made.
- 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.
Questions people ask
Yes. With xpost added as an MCP server, Gemini CLI can draft and schedule posts for 9 networks. You can see every post in xpost, or turn on approvals so posts wait for your review.
Still got questions?
When you need help, you talk to the people who built xpost.
Ready to post from Gemini CLI?
Connect xpost to Gemini CLI and publish your first post free.