Octopost × Octopost for Gemini CLI

Ship social posts from your terminal with Gemini.

Add Octopost to Gemini CLI as a remote MCP server. Turn a launch page, a changelog or a brief into scheduled drafts without opening another tab.

  • No API key to copy
  • Sign in with OAuth
  • Free to start
Gemini CLI Octopost connected
Import the hero image from our launch page and draft an Instagram and LinkedIn post for Thursday.
Octopost import_media_from_url
Octopost create_post

Imported launch-hero.png into your media library.

Created one post for Instagram and LinkedIn, scheduled Thursday 10:00 AM, with a shorter caption for Instagram.

Reply to Gemini CLI… ↑
14 tools posts, media, analytics
OAuth 2.1 + PKCE no shared passwords
1 workspace per connection
Revoke anytime from App Clients
Setup guide

Connect Gemini CLI in 4 steps

You only need one thing: the Octopost server URL. Gemini CLI discovers the sign-in flow on its own.

Server URL https://octopost.ai/mcp

Gemini CLI

Register Octopost as a remote HTTP server.

  1. Register Octopost as a remote HTTP server.

    gemini mcp add --transport http octopost https://octopost.ai/mcp
  2. Start Gemini CLI and run the auth command. A browser window opens.

    /mcp auth octopost
  3. After /mcp auth, a browser window opens. Log in, pick the workspace and click Authorize.

  4. Octopost now shows up as a tool. Ask in plain language.

Gemini CLI discovers the sign-in flow from the server URL - there is no API key or client ID to copy. Full reference in the MCP server docs.

What you can ask

Your whole workspace, one prompt away

Gemini CLI only sees the tools behind the permissions you grant - read-only access is a valid choice.

Check the calendar

What is going out this week?

List scheduled, drafted and published posts, filtered by platform and date.

Draft and schedule

Draft a LinkedIn post about our new pricing for Tuesday 9 AM.

Create drafts, set a publish time and adjust the caption per network.

Reschedule or cancel

Push everything on Friday to Monday morning.

Move, edit, cancel or delete posts without opening the calendar.

Ask about performance

Which posts drove the most engagement last month?

Followers, reach, impressions, engagement, top posts and audience demographics.

Write in your brand voice

Write three Instagram captions for the summer launch.

Reads your workspace brand settings and each platform's limits before drafting.

Keep approvals in place

Send this week's drafts for review.

Posts from editors land in the approval queue, exactly as they would in the app.

Guardrails

You stay in control of what Gemini CLI can do

The connection uses the same roles, plan limits and approval rules as the Octopost app.

  • Publishing immediately is offDrafts and scheduled posts only, until you switch it on for this connection.
  • One workspace per connectionPicked on the consent screen. Nothing outside it is visible.
  • Approvals still applyPosts from editors land in your approval queue, as they do in the app.
  • Revoke in one clickSettings → API → App Clients. Access stops on the next request.

Questions about Octopost for Gemini CLI

Need more help? Reach out to our team.

This page covers Gemini CLI, which connects to remote MCP servers on its own. Other Gemini products handle custom MCP servers differently - Octopost works anywhere a client supports remote MCP over HTTP with OAuth.

No. Gemini CLI signs in through OAuth in your browser and keeps the token for you.

Not by default. Publishing immediately stays off until you enable it for that connection in Settings → API → App Clients.

Run gemini mcp remove octopost, and delete the client in Octopost under Settings → API → App Clients to revoke its tokens.

Give Gemini CLI a social media team

Create a free Octopost workspace, connect your social accounts, then add the connector to Gemini CLI.