Post to Instagram from Gemini CLI.
Connect Gemini CLI to xpost once, and you can ask it for a Instagram post — written in the shape Instagram 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 Instagram.
- 1
Add the MCP server
Add this address to Gemini CLI's MCP server settings, where it keeps the servers it can call.
- 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.
What Gemini CLI can make for Instagram
The same limits the composer checks, so a draft your assistant writes is one Instagram will actually take.
| Post types | Feed post, carousel of up to 10, reel, story |
|---|---|
| Pictures and video | Photos and video, cropped to Instagram’s frames automatically |
| Caption length | Up to 2200 characters, counted as you type |
| First comment | Yes |
| Tagging | People on the photo, product tags from your shop, up to 3 collaborators |
| Also | Music on reels, a cover frame for video, a first comment |
| Daily limit | 100 posts a day per account, set by Instagram |
What happens when you ask
It drafts, in Instagram's shape
It tells you
You get a receipt
Questions people ask
Yes. Connect Gemini CLI to xpost and it can write, schedule and publish Instagram 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.