Skip to content
Black Friday: 30% off monthly or 50% off yearly, for as long as you stay. Runs through Dec 31.
Gemini CLI integration · Updated October 20, 2026

Run link outreach from Gemini CLI

Add BacklinkGenie to Gemini CLI and it can read your release notes or docs, import the posts you want to appear in, and take you through pending pitches and editor replies. It asks before running anything that sends.

Connects with
gemini mcp add (HTTP)
Auth
API key (bg_live_...)
Tools available
All 22, on every plan
Setup

How do I connect BacklinkGenie to Gemini CLI?

4 steps, about two minutes. You need an API key from BacklinkGenie and the config below.

  1. 1

    Create an API key

    Create the key in BacklinkGenie under Settings → MCP. Keys start with bg_live_ and are shown once. Creating a key needs an active paid plan (Starter, Growth or Agency).

  2. 2

    Add the server

    Run this once. -s user makes it available in every project; leave it off to add it to the current project only.

    Terminal
    gemini mcp add -s user --transport http backlinkgenie https://app.backlinkgenie.com/mcp \
      --header "Authorization: Bearer bg_live_your_key"
  3. 3

    Or edit settings.json

    The same entry by hand, in ~/.gemini/settings.json. Gemini CLI uses httpUrl for streamable HTTP servers.

    ~/.gemini/settings.json
    {
      "mcpServers": {
        "backlinkgenie": {
          "httpUrl": "https://app.backlinkgenie.com/mcp",
          "headers": { "Authorization": "Bearer bg_live_your_key" }
        }
      }
    }
  4. 4

    Check and ask

    Start gemini and type /mcp to see BacklinkGenie and its tools, then ask for what you need.

Gemini CLI
BacklinkGenie connected

Read CHANGELOG.md, then show me pending pitches and add a line about the new Zapier integration to any that pitch automation posts.

Used list_drafts Used edit_draft

Read CHANGELOG.md. 6 pitches are pending; 2 go to automation roundups (zapier.com and makeuseof.com). I added one line about the Zapier integration to both and they passed the quality check. Want to see them before you approve?

Example with fictional product Margin, a note-taking app for researchers.

Tools used in this example

list_drafts

Pitches waiting for your approval, with the post, contact and why it fits.

edit_draft

Changes a pitch's subject or body. Edits go through the quality check before they're saved.

Also try

Gemini CLI can use all 22 tools. See the full tool list on the MCP page or browse example link building prompts.

Fit

Who is the Gemini CLI integration for?

Developers on Google's stack who want a free terminal agent that can read local files and run outreach in the same session.

Does Gemini CLI ask before sending?

Gemini CLI asks you to confirm each MCP tool call unless the server has trust: true. Leave trust off for BacklinkGenie. On top of that, BacklinkGenie's server tells every client to show you the exact email and wait for a yes before approve_draft or send_reply.

What goes wrong in Gemini CLI setup?

  • url versus httpUrl

    In settings.json, httpUrl is for streamable HTTP servers like BacklinkGenie. url is for the older SSE transport and won't connect.

  • Limit what it can do

    Add includeTools or excludeTools to the server entry. For example, excludeTools: ["send_reply", "approve_draft"] keeps sending in the dashboard.

  • Built-in prompts

    BacklinkGenie's prompts, such as daily_review and weekly_report, appear as slash commands in Gemini CLI.

Guides

What can you do from Gemini CLI?

Eight step-by-step guides, each with a prompt written for Gemini CLI, the tools it calls and an example answer.

What is BacklinkGenie, and what stays the same as the dashboard?

BacklinkGenie is an AI link-building outreach agent for SaaS and online businesses. It buys a separate sending domain and warms the mailbox, finds relevant posts in your niche (best-of roundups, comparison and alternatives pages, resource pages, how-to guides and niche blogs), finds and verifies the editor, writes one pitch per post, sends it and follows up, then checks every won link weekly. The goal is a higher Domain Rating, more organic traffic and more mentions in ChatGPT, Perplexity and Google AI Overviews.

Gemini CLI works on the same account, sites and mailboxes as the dashboard, so you can switch between them freely. Pitches wait for your approval unless you turn on Autopilot (we suggest about two weeks of reviewing first), every edit goes through the quality check, and sending stays inside each mailbox's daily limit. Read more about how the outreach agent works, or check whether it's a better fit than Pitchbox or BuzzStream for your team. New to MCP? How MCP servers work for SEO explains the setup in plain terms, and the other integrations use the same connection.

FAQ

Questions people ask

Can Gemini CLI sign in instead of using a key?

Gemini CLI supports OAuth for remote MCP servers, and BacklinkGenie's server supports sign-in. The API key route above is the simplest and works the same on every machine; use whichever you prefer.

How do I keep the key out of a shared repo?

Add the server with -s user so it lives in ~/.gemini/settings.json, not the project's .gemini folder. Gemini CLI can also read the value from an environment variable.

Can Gemini send pitches without asking?

BacklinkGenie tells every assistant to show you a pitch or reply and get your go-ahead before calling approve_draft or send_reply. Edited text also goes through the quality check.

What does it cost to use BacklinkGenie from Gemini CLI?

MCP access is on every plan, and every feature is on every plan: Starter $99/mo (1 site, 1 mailbox, 1,000 emails), Growth $249/mo (3 sites, 3 mailboxes, 3,000 emails), Agency $499/mo (8 sites, 8 mailboxes, 8,000 emails). Pitches and follow-ups written through Gemini CLI use the same monthly emails as the dashboard. Reading data and replying to editors don't use any.

Keep reading

Related

Get your free prospect report first

Up to 40 posts worth pitching, no card needed. Connect Gemini CLI once you subscribe.

The BacklinkGenie genie The BacklinkGenie genie