LazyRelay
← Back to guides

Post to Social Media from Gemini CLI

Connect LazyRelay's MCP server to Google's Gemini CLI and schedule, check, and verify social posts right from your terminal.

What you can ask Gemini

The part most AI-agent schedulers skip

Most integrations stop at the API call — the agent asks for a post, the API says 200 OK, and that's treated as done. It isn't. Rate limits, silent moderation holds, and platform-side failures can all eat a "successful" request. LazyRelay's list_scheduled_posts tool returns real Proof-of-Publish status, so you can ask Gemini to check whether a post actually went live, not just whether the request was accepted.

Setup

  1. From a terminal, run:
    gemini mcp add --transport http lazyrelay https://lazyrelaylazyrelay-backend.onrender.com/mcp
  2. Gemini CLI detects that the server requires OAuth (it responds with a 401) and walks you through signing in with your LazyRelay account automatically — no client ID or secret to configure by hand.

This adds the server to your user-level config (~/.gemini/settings.json); add -s project to the command instead to scope it to the current project's .gemini/settings.json. All 27 tools are available, covering scheduling, drafts, approvals, reschedule and pause, platform rules, analytics, client review links and more. Full tool reference (every tool, with what it does) at lazyrelay.com/docs.

Don't have an API key yet? Generate one from your dashboard's Settings tab — available on every plan, including Free.

See plans and get started free