Skip to content
OpenPostDocs
OpenPostDocs

Connect Gemini CLI

Review and prepare OpenPost publications from Gemini CLI.

Add OpenPost to an installed Gemini CLI, then authorize the connection in your browser.

Configure the server

Merge this entry into ~/.gemini/settings.json:

{
  "mcpServers": {
    "openpost": {
      "httpUrl": "https://app.openpo.st/mcp",
      "oauth": { "enabled": true }
    }
  }
}

Use httpUrl for Streamable HTTP. Gemini's url field selects SSE, which is a different transport.

Sign in and test

Restart Gemini CLI and run:

/mcp auth openpost

Complete OpenPost's browser consent. Choose read-only access for schedule reviews, or full access to prepare and publish content. Ask, “List my OpenPost workspaces,” then name your workspace and request its connected accounts.

If it does not connect

Run /mcp auth openpost again for an expired login. The browser callback must reach the machine running Gemini CLI. For a remote shell or private instance, consider the local bridge.

See Gemini CLI MCP documentation for authentication and transport settings.

On this page