Post from Gemini CLI
Gemini CLI can use Posthoop like any other MCP server. Add it once and ask Gemini to schedule, cancel or report on your posts.
# add Posthoop to Gemini CLIgemini mcp add --transport http posthoop https://posthoop.com/api/mcp- Works in
- Gemini CLI
- Setup
- One command
- Sign-in
- Browser or API key
Connect Gemini CLI to Posthoop
Add the server
Run this in your terminal.
gemini mcp add --transport http posthoop https://posthoop.com/api/mcpSign in
Inside Gemini CLI, run the command below and approve Posthoop in your browser.
/mcp auth posthoopTry it
Ask "List my Posthoop accounts."
Or edit the settings file
Add Posthoop to ~/.gemini/settings.json. Use httpUrl. Gemini CLI treats a plain url as an older connection type that Posthoop doesn't use.
{
"mcpServers": {
"posthoop": { "httpUrl": "https://posthoop.com/api/mcp" }
}
}Things to ask it
Say it the way you'd say it to an assistant. These all work.
Schedule a post
"Post this video to Instagram, TikTok and Shorts on Friday at 6pm. Use a shorter caption on X."
Check before posting
"Would this caption fit every platform I've connected? Don't post anything yet."
Fill the week
"Add these five clips to my queue." Each one takes the next free slot in your weekly schedule.
Draft it first
"Save this as a draft so I can look at it before it goes out."
Change your mind
"Cancel tomorrow morning's LinkedIn post."
Ask what worked
"Which of last week's videos got the most views, and on which platform?"
What about the Gemini app?
Questions
Gemini CLI says it can't connect. What should I check?
Check that the entry uses httpUrl and not url, then run gemini mcp list to see the server's status. If it shows as needing sign-in, run /mcp auth posthoop.
Can I use an API key?
Yes. Add a headers entry with Authorization set to Bearer and your Posthoop API key next to httpUrl.
Will it post without asking me?
Posthoop marks publishing as an action that can't be undone, so well-behaved apps ask you to confirm before they post. You can also tell the agent to do a dry run, which checks the post against every platform and publishes nothing.
How does it get my video?
Give the agent a link to the file and Posthoop fetches it, up to 100 MB. For bigger files, the agent asks Posthoop for an upload link and sends the file there.
Can I disconnect it later?
Yes. The AI tools page in your dashboard lists every app connected to the workspace, and an admin or owner can cut any of them off at once.