Skip to content
MCP PostPlenty for Gemini CLI

Gemini CLI, now with a content team

One command adds PostPlenty to Gemini CLI. Ask for posts in plain words, and PostPlenty writes them in your brand voice, makes the images and drafts them into your calendar.

Set up in a minute

Connect Gemini CLI to PostPlenty

  1. Create a key in PostPlenty under Settings → API keys.
  2. Export it in the shell you run Gemini CLI from: export PYLOT_API_KEY=pyl_live_…
  3. Run the command above. Your shell fills in the key as it runs.
  4. Start Gemini CLI and run /mcp. pylot should be listed with its tools.
Terminal
gemini mcp add --transport http \
  --header "Authorization: Bearer $PYLOT_API_KEY" \
  pylot https://www.postplenty.com/api/mcp
Checked against Gemini CLI's docs

Try asking

Ask for the post, not just the schedule

Gemini CLI takes plain-language asks, so start with a topic and a day and let PostPlenty do the writing and the image.

  1. Prompt 1

    “Make three Instagram posts for our spring collection, each with a brand image, and schedule them for Monday, Wednesday and Friday at 9am.”

    • generate_captions in your voice
    • generate_image your colours
    • create_post draft or scheduled
  2. Prompt 2

    “Write a LinkedIn post about our new partnership with a square image and leave it as a draft.”

  3. Prompt 3

    “Create a Facebook post for our charity bake sale with a 4:5 image, and schedule it for Saturday at 8am.”

create_post

Drafts unless you give a time

Images use 1 credit each, refunded if generation fails.

Good to know

Using Gemini CLI with PostPlenty

  • gemini mcp add saves the header text as it was expanded by your shell. If you later rotate the key, remove the server and add it again.
  • After adding PostPlenty, start a new Gemini CLI session and check /mcp to confirm the tools are listed.
  • Gemini's own models write the reply, but captions and images come from PostPlenty, so they follow your brand and not Gemini's default style.

Your agent's content team

Give Gemini CLI a brand to post with

PostPlenty learns your brand from your website. Start a trial, create a key, and Gemini CLI can make the post for you.

Start my trial

7 days free, then $29.99/month. Card required. Cancel any time in Settings.

Questions

PostPlenty for Gemini CLI, answered

How do I add PostPlenty to Gemini CLI?

Run gemini mcp add with the HTTP transport, an Authorization header with your key, the name pylot and PostPlenty's MCP URL. Then run /mcp in Gemini CLI to see the server.

Does this work in the Gemini app or Gemini web?

This page covers Gemini CLI only. We have not set up the Gemini app, so we do not claim it works there.

What do I do when I rotate my API key?

Revoke the old key in PostPlenty, create a new one, run gemini mcp remove pylot, then run the add command again with the new key in your shell.

Can Gemini CLI generate the images itself?

It can, but for posts you want PostPlenty's generate_image, which applies your colours, logo and style and returns a URL the post can use. Ask Gemini to use PostPlenty for the image.