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.
import_media_from_url
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.
You only need one thing: the Octopost server URL. Gemini CLI discovers the sign-in flow on its own.
https://octopost.ai/mcp
Register Octopost as a remote HTTP server.
Register Octopost as a remote HTTP server.
gemini mcp add --transport http octopost https://octopost.ai/mcp
Start Gemini CLI and run the auth command. A browser window opens.
/mcp auth octopost
After /mcp auth, a browser window opens. Log in, pick the workspace and click Authorize.
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.
Gemini CLI only sees the tools behind the permissions you grant - read-only access is a valid choice.
What is going out this week?
List scheduled, drafted and published posts, filtered by platform and date.
Draft a LinkedIn post about our new pricing for Tuesday 9 AM.
Create drafts, set a publish time and adjust the caption per network.
Push everything on Friday to Monday morning.
Move, edit, cancel or delete posts without opening the calendar.
Which posts drove the most engagement last month?
Followers, reach, impressions, engagement, top posts and audience demographics.
Write three Instagram captions for the summer launch.
Reads your workspace brand settings and each platform's limits before drafting.
Send this week's drafts for review.
Posts from editors land in the approval queue, exactly as they would in the app.
The connection uses the same roles, plan limits and approval rules as the Octopost app.
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.
Also works with
Create a free Octopost workspace, connect your social accounts, then add the connector to Gemini CLI.