---
title: "Gemini CLI Social Media Scheduling"
description: "Add PostQueen to Gemini CLI with one command, gemini mcp add. Make short videos for TikTok, Reels and Shorts and schedule them from your terminal."
canonical_url: "https://postqueen.ai/gemini-cli"
markdown_url: "https://postqueen.ai/gemini-cli.md"
last_updated: "2026-09-25"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Run your social media from Gemini CLI.

Gemini CLI + PostQueen

- Add PostQueen with one command
- Write, schedule and check posts on 30+ networks
- Free with a personal Google account

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-hero) [See the setup prompt](https://postqueen.ai/gemini-cli#setup)

Every post waits on your calendar first. Checked on September 25, 2026.

Setup

## Connect Gemini CLI in about a minute.

1 Connect about a minute

### Run this in your terminal

One command adds PostQueen’s tools to Gemini CLI.

terminal

```
gemini mcp add --transport http --scope user \
  postqueen https://api.postqueen.ai/mcp/YOUR_API_KEY
```

Start Gemini CLI and type /mcp to see the PostQueen tools.

Once connected

- Write and schedule posts on 30+ networks
- Make AI images and video for them
- See how your posts did over 7, 30 or 90 days

2 Ask live in PostQueen

### Ask Gemini CLI to post for you

Once connected, Gemini CLI calls PostQueen’s tools. Posts go out at the time you set, even after you close the chat.

Also try

- List my PostQueen channels
- What is scheduled this week?
- How did last month’s posts do?

1. In PostQueen, open Connections, then API Keys, and copy your key. Only workspace admins can see it.
2. Run the command from the box.
3. Start Gemini CLI and type `/mcp` to see the PostQueen tools.

### Good to know

- The default scope is project (`.gemini/settings.json`); `--scope user` writes `~/.gemini/settings.json`.
- The command writes `"url"` with `"type": "http"`, which works. The older key is `httpUrl`.
- Header form: `gemini mcp add --transport http --scope user --header "Authorization: Bearer YOUR_API_KEY" postqueen https://api.postqueen.ai/mcp`

## One message, every channel. Your calendar first.

Gemini CLI writes the posts. PostQueen puts each one on your calendar, where you can change anything, and publishes it at its time on every network you connected.

### You ask

Gemini CLI

Make a short video about our new feature for TikTok, Reels and Shorts on Friday at 6pm

### It lands on your calendar

### It goes out everywhere

- [Instagram](https://postqueen.ai/channels/instagram)
- [TikTok](https://postqueen.ai/channels/tiktok)
- [YouTube](https://postqueen.ai/channels/youtube)
- [X](https://postqueen.ai/channels/x)
- [LinkedIn](https://postqueen.ai/channels/linkedin)
- [Facebook](https://postqueen.ai/channels/facebook)
- [Threads](https://postqueen.ai/channels/threads)
- [Pinterest](https://postqueen.ai/channels/pinterest)
- [Reddit](https://postqueen.ai/channels/reddit)
- [Bluesky](https://postqueen.ai/channels/bluesky)
- [Discord](https://postqueen.ai/channels/discord)
- [Slack](https://postqueen.ai/channels/slack)

And 19 more, including Mastodon, Telegram, WordPress and Google Business.

- [Mastodon](https://postqueen.ai/channels/mastodon)
- [Telegram](https://postqueen.ai/channels/telegram)
- [WordPress](https://postqueen.ai/channels/wordpress)
- [Google Business Profile](https://postqueen.ai/channels/google-business)
- [Dribbble](https://postqueen.ai/channels/dribbble)
- [Tumblr](https://postqueen.ai/channels/tumblr)
- [Twitch](https://postqueen.ai/channels/twitch)
- [Kick](https://postqueen.ai/channels/kick)
- [DEV (dev.to)](https://postqueen.ai/channels/devto)
- [Hashnode](https://postqueen.ai/channels/hashnode)
- [VK](https://postqueen.ai/channels/vk)
- [MeWe](https://postqueen.ai/channels/mewe)
- [Lemmy](https://postqueen.ai/channels/lemmy)
- [Nostr](https://postqueen.ai/channels/nostr)
- [Farcaster](https://postqueen.ai/channels/farcaster)
- [Listmonk](https://postqueen.ai/channels/listmonk)
- [Whop](https://postqueen.ai/channels/whop)
- [Skool](https://postqueen.ai/channels/skool)
- [Moltbook](https://postqueen.ai/channels/moltbook)

[See all 30+ networks](https://postqueen.ai/channels)

Ideas by who you are

## What can you ask Gemini CLI to post?

A single post, a thread, a week of content or a post with a generated image. Ask the way you would ask a teammate.

**Creators**

Cross-post ![X](https://postqueen.ai/assets/channels/x.svg) ![Threads](https://postqueen.ai/assets/channels/threads.svg) ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg)

### One idea, three networks

“Turn this idea into an X thread, a Threads post and a LinkedIn post, each written for its network, for tomorrow at 9am as drafts: [idea]”

Carousel ![Instagram](https://postqueen.ai/assets/channels/instagram.svg)

### An Instagram carousel

“Make five square images for an Instagram carousel about [topic], one tip per slide, and save it as a draft for Friday at 6pm.”

Analytics ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![TikTok](https://postqueen.ai/assets/channels/tiktok.svg) ![X](https://postqueen.ai/assets/channels/x.svg)

### More of what worked

“Which of my posts from the last 30 days got the most engagement? Draft three more in the same style for next week.”

**Business owners**

Content calendar ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![Facebook](https://postqueen.ai/assets/channels/facebook.svg)

### Plan the whole week

“Plan next week for [business] in [city]: one Instagram and Facebook post a day at 11am about [this week’s special], each with a realistic image, all as drafts.”

Announcement ![Google Business Profile](https://postqueen.ai/assets/channels/google-business.svg) ![Facebook](https://postqueen.ai/assets/channels/facebook.svg)

### Closed for a day

“We are closed on [date]. Make a simple image that says so and draft a Google Business update and a Facebook post for [date] at 9am.”

Weekly special ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![Facebook](https://postqueen.ai/assets/channels/facebook.svg)

### This week’s special

“Draft this week’s special for Instagram and Facebook from my notes, with an image, and save it for Monday at 8am: [notes]”

**App developers**

Slideshow ![TikTok](https://postqueen.ai/assets/channels/tiktok.svg) ![Instagram](https://postqueen.ai/assets/channels/instagram.svg)

### A TikTok slideshow

“Make a six-slide TikTok slideshow about [feature] of [app], with a hook on the first slide, and save it for TikTok and Instagram on [day] at 6pm as drafts.”

Video ![TikTok](https://postqueen.ai/assets/channels/tiktok.svg) ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![YouTube](https://postqueen.ai/assets/channels/youtube.svg)

### A narrated slideshow

“Make a narrated vertical slideshow that explains [feature] in four slides and draft it for TikTok, Instagram and YouTube on Friday at 6pm.”

Analytics ![TikTok](https://postqueen.ai/assets/channels/tiktok.svg)

### Learn from your best videos

“Rank my TikTok posts from the last 30 days by impressions and draft five new slideshows that open the same way.”

**Agencies**

Client plan ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![Facebook](https://postqueen.ai/assets/channels/facebook.svg)

### A week for one client

“For [client], plan next week: three Instagram posts with images and two Facebook posts about [topics]. Use only [client]’s channels and save them as drafts.”

Overview ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg) ![X](https://postqueen.ai/assets/channels/x.svg)

### Who needs more posts?

“List what is scheduled next week for each client and tell me which one has fewer than three posts.”

Report ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![Facebook](https://postqueen.ai/assets/channels/facebook.svg) ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg)

### A 30-day client summary

“For [client], sum up the last 30 days on each channel: posts sent, reactions, impressions and the three best posts, as a note I can send.”

**Founders**

Demo video ![TikTok](https://postqueen.ai/assets/channels/tiktok.svg) ![Instagram](https://postqueen.ai/assets/channels/instagram.svg) ![YouTube](https://postqueen.ai/assets/channels/youtube.svg)

### A demo video

“Make an 8-second video that shows [product] doing [one job], and draft it for TikTok, Reels and Shorts on [day] at [time].”

Launch ![X](https://postqueen.ai/assets/channels/x.svg) ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg) ![Bluesky](https://postqueen.ai/assets/channels/bluesky.svg) ![Threads](https://postqueen.ai/assets/channels/threads.svg)

### Launch day, every network

“We launch on [date] at [time UTC]. Draft posts for X, LinkedIn, Bluesky and Threads for that time, and a thank-you post a day later.”

Visual post ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg) ![X](https://postqueen.ai/assets/channels/x.svg)

### Explain it in one image

“Make a minimalist image that shows how [product] works in one scene, and use it in a LinkedIn and an X post for Tuesday at 9am.”

**Bloggers**

New article ![X](https://postqueen.ai/assets/channels/x.svg) ![Bluesky](https://postqueen.ai/assets/channels/bluesky.svg) ![Threads](https://postqueen.ai/assets/channels/threads.svg) ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg)

### Share today’s article

“I just published [article URL]. Here is the opening: [paste]. Write a post for X, Bluesky, Threads and LinkedIn that links to it, for tomorrow at 9am, as drafts.”

Thread ![X](https://postqueen.ai/assets/channels/x.svg)

### An article as a thread

“Turn this article into a 5-part X thread with the link in the last part, for Wednesday at 8am: [paste article]”

Header image ![LinkedIn](https://postqueen.ai/assets/channels/linkedin.svg)

### A header image and a post

“Make a header image for my post about [topic] and draft a LinkedIn post with it for Monday at 10am.”

[More ideas in the prompt library](https://postqueen.ai/prompts)

Compare

## How Gemini CLI compares to other AI agents.

Every agent here connects to the same PostQueen account and gets the same tools. What changes is how you connect it and where it runs. Pick a row to open that agent’s setup.

How each AI agent connects to PostQueen, where it runs, how it signs in, and whether it has an upload panel and AI images and video

| Agent | How you connect | Where it runs | Sign-in | Uploads | Images, video |
| --- | --- | --- | --- | --- | --- |
| [Grok Bot](https://postqueen.ai/grok-bot) NEW | Ask the Bot in chat to connect PostQueen, then paste your key in its secure card. Marketplace plugin soon | Grok Bot desktop app and mobile, running in the cloud | Key | Upload panel No | Yes |
| [Muse](https://postqueen.ai/muse) NEW | Ask Muse in chat to build a custom connector, then paste your key in its secure prompt | Muse app (iOS, Android), muse.ai and WhatsApp, in the US | Key | Upload panel No | Yes |
| [OpenClaw](https://postqueen.ai/openclaw) | PostQueen skill and CLI on your gateway, or MCP with a header | Your OpenClaw gateway, chatting from WhatsApp, Telegram, Slack and more | Key or sign-in | Upload panel No | Yes |
| [Hermes Agent](https://postqueen.ai/hermes-agent) | One mcp_servers entry in ~/.hermes/config.yaml | Your computer, a server or Hermes Cloud, chatting from Telegram, Discord and more | Key or sign-in | Upload panel No | Yes |
| [Claude](https://postqueen.ai/claude) | Custom connector under Customize > Connectors | claude.ai, Claude Desktop, iOS and Android | Sign-in or key | Upload panel Yes | Yes |
| [ChatGPT](https://postqueen.ai/chatgpt) | Developer mode app at chatgpt.com/plugins | ChatGPT on the web | Sign-in or key | Upload panel Yes | Yes |
| [Claude Cowork](https://postqueen.ai/claude-cowork) | The same custom connector as Claude, on in a Cowork task | Claude Desktop | Sign-in or key | Upload panel Yes | Yes |
| [Grok](https://postqueen.ai/grok) | Custom connector at grok.com/connectors | grok.com and the Grok iOS and Android apps | Key | Upload panel No | Yes |
| [Perplexity Computer](https://postqueen.ai/perplexity-computer) | Custom remote connector in Perplexity settings | Web, iOS, Android, Comet, Slack and email | Key | Upload panel No | Yes |
| [NanoClaw](https://postqueen.ai/nanoclaw) | Three commands: key in the OneCLI vault, server in your agent group | Your Mac or Linux machine with Docker, chatting from WhatsApp, Telegram and more | Key | Upload panel No | Yes |
| [Claude Code](https://postqueen.ai/claude-code) | One command: claude mcp add | Terminal on macOS, Linux and Windows, plus IDEs | Key or sign-in | Upload panel No | Yes |
| [Codex](https://postqueen.ai/codex) | One command: codex mcp add | Codex CLI, IDE extension and desktop app | Key or sign-in | Upload panel No | Yes |
| [Cursor](https://postqueen.ai/cursor) | One entry in mcp.json | Cursor on macOS, Windows and Linux, and the Cursor CLI | Key or sign-in | Upload panel No | Yes |
| Gemini CLI | One command: gemini mcp add | Terminal on macOS, Windows and Linux | Key | Upload panel No | Yes |
| [Grok Build](https://postqueen.ai/grok-build) | One command: grok mcp add | Terminal on macOS, Linux and Windows | Key or sign-in | Upload panel No | Yes |
| [Paperclip](https://postqueen.ai/paperclip) | Apps > Connect your own MCP server | Your own server, for its Claude Code and Codex agents | Key or sign-in | Upload panel No | Yes |
| Other MCP apps | VS Code, Devin Desktop, Zed, Muse Code and more: one entry with the MCP address | Your editor or terminal | Key or sign-in | Upload panel No | Yes |

Sign-in means PostQueen’s sign-in page approves the agent, and an API key goes in the address or a header. The upload panel lets you add files from your device in the chat. Every agent can make AI images and video through PostQueen.

Ways to connect

## Pick how Gemini CLI signs in.

Ways to connect Gemini CLI to PostQueen

| Route | How it signs in | API key needed | Best for |
| --- | --- | --- | --- |
| Key in the address https://api.postqueen.ai/mcp/YOUR_API_KEY | The key is part of the address. | Yes | The quickest setup |
| Authorization header https://api.postqueen.ai/mcp | `--header` sends the key as a Bearer token. | Yes | Keeping the key out of the address |

If it does not work

## If it does not work.

### The sign-in address fails

Gemini CLI refuses PostQueen’s sign-in. Use the key address from the box.

### PostQueen is missing in another folder

The default scope is project. Add it again with `--scope user`.

### A guide says your `url` setting is wrong

`url` with `"type": "http"` works. `httpUrl` is the older key.

### The key is rejected

Copy it again from Connections > API Keys. Only workspace admins see it.

## Gemini CLI questions, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Which plans can use Gemini CLI?

Gemini CLI is free with a personal Google account, up to 60 requests a minute and 1,000 a day. On the PostQueen side, every plan includes MCP.

### Where does it work?

Terminal on macOS 15+, Windows 11 24H2+ and Ubuntu 20.04+, with Node 20+

### Anything to watch out for?

The default scope is project (.gemini/settings.json); --scope user writes ~/.gemini/settings.json.

### Can Gemini CLI post without me seeing it first?

Only if you ask it to schedule. Ask for drafts and they wait on your PostQueen calendar until you schedule them. Either way every post lands on the calendar first, where you can edit or delete it until it goes out.

### Does it cost extra?

No. Connecting an agent is included in every plan and posts are unlimited. After the 7-day trial, Pro is $49 a month, or $33 a month billed yearly.

Your agent, your channels

### Hand your socials to Gemini CLI.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-band) $0 due today. Cancel in one click.

## Guides for other agents

### Assistants and bots

- [Grok Bot NEW](https://postqueen.ai/grok-bot)
- [Muse NEW](https://postqueen.ai/muse)
- [OpenClaw](https://postqueen.ai/openclaw)
- [Hermes Agent](https://postqueen.ai/hermes-agent)
- [Claude](https://postqueen.ai/claude)
- [ChatGPT](https://postqueen.ai/chatgpt)
- [Claude Cowork](https://postqueen.ai/claude-cowork)
- [Grok](https://postqueen.ai/grok)
- [Perplexity Computer](https://postqueen.ai/perplexity-computer)
- [NanoClaw](https://postqueen.ai/nanoclaw)

### Coding agents

- [Claude Code](https://postqueen.ai/claude-code)
- [Codex](https://postqueen.ai/codex)
- [Cursor](https://postqueen.ai/cursor)
- [Grok Build](https://postqueen.ai/grok-build)
- [Paperclip](https://postqueen.ai/paperclip)

[Using another agent? It works the same](https://postqueen.ai/mcp#clients)

### Related guides

- [MCP Server](https://postqueen.ai/mcp)
- [CLI](https://postqueen.ai/cli)
- [Pricing](https://postqueen.ai/pricing)
