MCP Server Gemini CLI

Post to Social Media with Gemini TikTok, Instagram, YouTube & 10 more — from the CLI

Add one block to ~/.gemini/settings.json and Gemini gains 40 tools to publish, schedule, analyze and manage social media from a prompt.

~/.gemini/settings.json
{
  "mcpServers": {
    "upload-post": {
      "httpUrl": "https://mcp.upload-post.com/mcp",
      "headers": {
        "Authorization": "ApiKey YOUR_API_KEY"
      }
    }
  }
}

Connect Gemini in 3 steps

About three minutes from a fresh terminal to your first AI-published post.

Step 1

Get your API key

Create a free Upload-Post account, connect your social accounts once, and copy your API key from the dashboard.

Step 2

Add the config block

Paste the snippet below under mcpServers in ~/.gemini/settings.json — or run gemini mcp add from the terminal.

Step 3

Verify and prompt

Start the Gemini CLI and run /mcp to confirm upload-post is connected. Then just ask Gemini to post.

Prefer ChatGPT or Claude? See ChatGPT, Claude or the full MCP server guide.

What Gemini can do once connected

Every capability maps to documented Upload-Post tools — Gemini picks the right one from your prompt.

Publish anywhere

Post videos, photos, text and documents to TikTok, Instagram, YouTube, LinkedIn, Facebook, X, Threads, Reddit, Bluesky, Pinterest, Google Business, Discord and Telegram.

Schedule from the CLI

"Schedule this for Monday at 10:00" — Gemini turns it into a scheduled post and confirms.

Pull analytics

Ask for impressions, engagement or per-platform metrics over any date range, right in the terminal.

Manage comments & DMs

Read comments, reply publicly or privately, and review DM conversations from a prompt.

Edit video on the fly

Trim, re-encode or convert clips with the built-in FFmpeg tools before publishing.

Script & automate

Wire posting into scripts, cron jobs and CI — the Gemini CLI plus 40 tools makes social a build step.

Try these prompts in Gemini

No commands to memorize — just describe what you want.

“Publish this video to TikTok and Instagram under profile "marketing", caption: "Spring launch".”
“Schedule a LinkedIn text post for next Monday at 10:00 — announce the v2 release.”
“Show me analytics for profile "marketing" over the last month.”
“Upload every clip in ./renders as YouTube Shorts, one per day this week.”
“Reply privately to the latest comment on my Instagram post.”
“Trim demo.mp4 to the first 30 seconds and post it to X and Threads.”

Frequently asked questions

Gemini + social media, answered. Last updated June 2026.

Can Gemini post to social media?

Yes. Add the Upload-Post MCP server to the Gemini CLI via ~/.gemini/settings.json and Gemini can publish, schedule and analyze posts on TikTok, Instagram, YouTube, LinkedIn and 9 more networks from a natural-language prompt.

Which Gemini surfaces does this work with?

The Gemini CLI has native MCP support and is the primary integration. Any MCP-compatible Gemini surface that reads the same mcpServers configuration will also work.

Does Gemini need my social media passwords?

No. Your Upload-Post API key travels in the Authorization header, and Upload-Post holds the platform connections. Gemini only calls documented tools — it never sees your passwords.

Can I automate posting with scripts or cron?

Yes. Because the Gemini CLI runs in the terminal, you can drive posting from shell scripts, cron jobs or CI pipelines — "post the latest render every day at 9am" becomes a one-line job.

Is the MCP server free?

The MCP server is free and open-source (MIT). It works with any Upload-Post plan, including the free tier — you just need an Upload-Post account and API key.

What is the difference between httpUrl and url in settings.json?

In the Gemini CLI, httpUrl selects the streamable HTTP transport (recommended, used here), while url selects SSE and command spawns a local stdio server. The Upload-Post hosted endpoint uses httpUrl.

Turn Gemini into your social media manager

Free to start, no credit card. Connect your accounts once and let Gemini do the posting.