Skip to content

Post to Pinterest from Gemini CLI

Kreatix's MCP server (https://api.kreatix.cc/mcp) lets Gemini CLI schedule posts on every Pinterest account you connect and move or cancel them. Plans start at $13 a month after a 7-day free trial with a card.

Gemini CLI is Google's AI agent for the terminal. Developers use it to work on code with Gemini models, and it can call MCP tools such as Kreatix. A video pin with a cover picture, on one of your boards.

Updated November 2026

Run once in a terminal

gemini mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp

Then start gemini and type /mcp auth kreatix. Your browser opens: sign in to Kreatix and press Allow. No Kreatix account yet? You create it on that sign-in page.

Connect Gemini CLI to Kreatix

Sign in with Kreatix

No key to copy: paste the address, sign in to Kreatix and press Allow.

  1. In Kreatix, connect the pages Gemini CLI should post to (kreatix.cc/pages).
  2. Run once: gemini mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp
  3. Start gemini and type /mcp auth kreatix. Your browser opens: sign in to Kreatix and press Allow.
  4. Check it with /mcp inside Gemini CLI, or run gemini mcp list in a terminal. kreatix should show as Connected.
gemini mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp

With a key

For setups without sign-in. The key works like a password, so keep it to yourself.

  1. In Kreatix, connect the pages Gemini CLI should post to (kreatix.cc/pages).
  2. In Kreatix, open Settings > AI agent and create a key. It is shown once.
  3. Run the gemini mcp add command from the snippet with your key in place of YOUR_KEY. It saves Kreatix with the key in the Authorization header.
  4. Check it with gemini mcp list. kreatix should show as Connected.
gemini mcp add --transport http --scope user --header "Authorization: Bearer YOUR_KEY" kreatix https://api.kreatix.cc/mcp

What Gemini CLI can do on Pinterest

A video pin with a cover picture, on one of your boards.

SettingValuesNeededWhat it does
media_urlURLYesThe pin's video: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post, which Kreatix imports first.
cover_urlURLYesThe pin's cover, a picture stored in Kreatix. With an imported link and no cover, Kreatix uses the link's thumbnail; a link without one is refused.
captionstring (max 5000)NoThe first 100 characters become the pin title and the first 800 the description.

Ask in plain words

Ask inside a Gemini CLI session, for example "Use Kreatix to move tonight's posts on my brand group to 21:00." For a one-off question from a script or the shell: gemini -p "Which of my Kreatix pages got the most views this week?"

  • gemini -p "Pin my newest video to Pinterest tomorrow at 20:00 with the cover it already has."
  • gemini -p "Post this YouTube link to my Pinterest at noon."
  • gemini -p "Move the Pinterest post planned for Saturday to Sunday 11:00."

Pinterest rules to know

  • A Pinterest video needs a cover picture, or schedule_post refuses it.
  • With an imported link, the link's thumbnail becomes the cover; a link without one is refused for Pinterest.
  • The pin title is the caption's first 100 characters and the description its first 800.
  • The pin goes to the first board Pinterest lists; with no board, Kreatix creates one named Kreatix.
  • Pinterest takes no text-only post, and get_stats has no numbers for it.

Tips for Gemini CLI

  • --scope user saves Kreatix to ~/.gemini/settings.json, so it works in every folder. Without it, the entry goes to the current project's .gemini/settings.json.
  • Gemini CLI asks before each MCP tool call. Choose "Always allow this tool" only for the reading tools, and don't add --trust: it skips every confirmation, also for posts.
  • The command writes an mcpServers entry with httpUrl, the key Gemini CLI uses for a streamable HTTP server. The url key is for SSE servers, which Kreatix is not.
  • For a setup that can only read, add --include-tools list_channels,list_groups,list_posts,get_stats to the command.
  • Kreatix asks the agent to confirm the pages, caption and time with you before it schedules. It cannot delete pages, read messages or change your account, and you can remove it any time in Settings > AI agent.

Questions

How do I post to Pinterest from Gemini CLI?

Connect Gemini CLI to Kreatix once, as shown above. Then ask it to post: name your Pinterest pages or a page group, the video or text and the time. Kreatix asks Gemini CLI to confirm the pages, caption and time with you before it schedules.

Why does my Pinterest video need a cover?

Pinterest refuses a video pin without one, and the refusal reads like a broken login. Kreatix asks for cover_url up front, or takes the thumbnail of a link it imports.

Which board does the pin go to?

The first board Pinterest lists for the account. If the account has no board, Kreatix creates one named Kreatix. The agent can't pick a board.

How long can the caption be?

Up to the tool's 5,000 characters, but Pinterest gets the first 100 as the title and the first 800 as the description.

Can my agent see how my pins perform?

No. get_stats measures Instagram, Facebook, TikTok and YouTube; Pinterest has no numbers in Kreatix.

The sign-in page did not open. What now?

Gemini CLI's sign-in needs a browser on the same computer, because the answer comes back to a localhost address. Type /mcp auth kreatix again from a local terminal. On a remote machine without a browser, use the key route instead.

How do I remove Kreatix from Gemini CLI?

Run gemini mcp remove --scope user kreatix. Gemini CLI keeps sign-in tokens in ~/.gemini/mcp-oauth-tokens.json. If you used a key, also delete it in Kreatix under Settings > AI agent.

Kreatix schedules one video to every page you run, each with its own platform settings.

Start your 7-day free trial

Gemini CLI with other platforms

Pinterest from other agents