Updated 31 October 2026
Social media MCP server for Gemini CLI

Post to social media from Gemini CLI

Add Antwork to Gemini CLI, then draft, schedule and publish to LinkedIn, X (Twitter), Instagram, Threads, TikTok, YouTube, Facebook, Pinterest, Bluesky, Discord, Mastodon, Telegram, Google Business Profile and Slack without leaving it: launch posts from a changelog, the same idea written for each account.

Free for 2 social accounts. No card, no API key.

Connect Gemini CLI in 5 steps
  1. 1
    Run this in your terminalIt adds Antwork as an MCP server. No API key to paste.
    $ gemini mcp add --scope user --transport http antwork https://api.antwork.io/mcp --skip-trust
  2. 2
    Trust the folderStart gemini in the folder you work in and trust it when it asks: Gemini disables MCP servers in untrusted folders, so Antwork would load as Disabled.
  3. 3
    Sign in with /mcp authInside Gemini, run /mcp auth antwork and approve the sign-in in your browser. There is no key to create.
  4. 4
    Connect the social accountAsk it to connect your account and it returns a connect link per platform. Authorize once and Antwork refreshes that token for you.
  5. 5
    Draft, then publish as a second stepDrafting and publishing are separate tool calls. The agent writes first and only publishes when you say so.

Gemini CLI signed in with a Gemini API key, Vertex AI or a Code Assist Standard or Enterprise licence.

Signed in with a personal Google account? Gemini CLI is now Antigravity CLI for you, so set up Antwork in Antigravity CLI instead.

What you can ask

Run every account from one chat

One request, a draft for every account. Nothing is scheduled or published until you say so.

Gemini CLI· mcp: antwork ✓ connected

The short answer

Can Gemini CLI manage your social media?

Yes, through an MCP server.

Gemini CLI does not post to social media on its own. Antwork is a Model Context Protocol (MCP) server you add with one command. You connect each account once on that platform's own login screen, and from then on Gemini CLI drafts, schedules and publishes to LinkedIn, X (Twitter), Instagram, Threads, TikTok, YouTube, Facebook, Pinterest, Bluesky, Discord, Mastodon, Telegram, Google Business Profile and Slack from where you already work, through each platform's official API.

  • 14 platforms, one connectorEvery account you connect is there in the same chat.
  • One idea, a post per accountEach version is written for its platform and that account's voice.
  • You approve every postDrafting and publishing are separate steps. Nothing goes out until you say so.
Your options

Three ways to run social media from Gemini CLI

Each works. They differ in where the work happens and how much you set up.

Antwork
Where you ask
In Gemini CLI
Accounts
Every platform, one connection
Writes per account
Each account in its own voice
Shows the post first
Every time
Code needed
None
An automation tool
Where you ask
In a workflow you build
Accounts
One integration per platform
Writes per account
Only what you wire in
Shows the post first
Depends on the workflow
Code needed
None
Build your own
Where you ask
In your own code
Accounts
One API per platform
Writes per account
Only what you build
Shows the post first
Depends on your build
Code needed
Yes
Questions

Gemini CLI and social media, answered

Does Gemini CLI still work with Antwork?
Yes, if you use it with a Gemini API key, Vertex AI or a Code Assist Standard or Enterprise licence. On 18 June 2026 Google stopped serving Gemini CLI for personal Google accounts, free, AI Pro and Ultra alike, and moved them to Antigravity CLI. If gemini now tells you to switch, install Antigravity CLI and add Antwork there with agy mcp add; your Antwork account and connected socials stay the same.
Why does the command need --scope user and --skip-trust?
Without --scope user, gemini mcp add run from your home folder reports success and saves nothing, so Antwork never loads. --skip-trust lets that one command run in a folder you have not trusted yet, and it has to come last. The folder you start gemini in still has to be trusted.