Local MCP server

Schedule posts from Gemini CLI

Gemini CLI speaks MCP, so SchedPilot slots in as a tool it can call. Draft from the command line and queue to every connected network in one go.

Setup

Connect Gemini CLI in three steps

01

Create an API key

In SchedPilot, open API Access and generate a key. It starts with smm_.

02

Add the MCP server

Drop the configuration below into Gemini CLI, using your key.

03

Restart and ask

Restart Gemini CLI and ask it to list your connected accounts.

{
  "mcpServers": {
    "schedpilot": {
      "command": "npx",
      "args": ["-y", "schedpilot-mcp"],
      "env": { "SCHEDPILOT_TOKEN": "smm_your_key" }
    }
  }
}

Replace smm_your_key with the key from API Access in your SchedPilot account.

Once connected

What Gemini CLI can do

get_accounts
List every connected social account, with its id and type.
create_post
Schedule a post to one or many accounts, with media, a thread and a video title.
list_posts
Read scheduled and published posts, filtered by date or status.
delete_post
Cancel a scheduled post before it goes out.
upload_media
Upload an image or video from a URL and get a media id back.
get_analytics
Read impressions, reach, likes, comments and shares for a published post.

Rate limits are 150 read and 100 write requests per hour, per user. Scheduling a post with media costs two writes.

Why Gemini CLI

A scriptable path for teams already on Google

If your tooling sits in the Google ecosystem, this is the shortest route to automated posting: the same CLI you already have, with publishing added as a capability.

  • Standard MCP server configuration
  • Scriptable from any shell
  • One key across every MCP client you use

Try asking it

Things that work well once Gemini CLI is connected.

“List my connected social accounts.”
“Draft a post about this quarter's numbers and schedule it for Monday 9am.”
“Show me what is queued for next week.”

Gemini CLI reads MCP servers from its settings file. Restart it after adding the block so the tools appear.

FAQs

Gemini CLI questions

Is this the same as using Gemini in a browser?
No. This is the CLI, which supports MCP. For a browser-based setup, use the REST API.
Which networks can it reach?
Every one you have connected — nine networks plus LinkedIn pages.
Can it publish without my approval?
No. Scheduling queues a post; it waits in your calendar until you approve it. That holds for every agent and every connection method.

Using something else?

There is a setup guide for every agent we support, plus a REST API for anything that is not on the list.

See all agents

Connect Gemini CLI to SchedPilot

Free to start, and every post waits for your approval.

Start for free

Grow your social presence with the best tool for creating content

Schedule posts, find your best time to publish, and keep your calendar full — without the chaos. SchedPilot makes consistency simple across every channel.

Start for free

Free trial available. Cancel anytime.