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
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
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
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.
Terminalgemini mcp add -s user --transport http backlinkgenie https://app.backlinkgenie.com/mcp \ --header "Authorization: Bearer bg_live_your_key" -
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
Check and ask
Start gemini and type /mcp to see BacklinkGenie and its tools, then ask for what you need.
Read CHANGELOG.md, then show me pending pitches and add a line about the new Zapier integration to any that pitch automation posts.
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?
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.
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.
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.
Find link opportunities from Gemini CLI
Gemini CLI asks you to confirm each MCP tool call unless the server is marked trust: true. Leave trust off for BacklinkGenie so run_agent always asks first.
02Review and approve pitches from Gemini CLI
Gemini CLI's confirmation prompt shows the tool name and arguments, so you can read the exact pitch id before an edit_draft or approve_draft runs.
03Reply to editors from Gemini CLI
If you'd rather Gemini CLI never sends, add send_reply to excludeTools for the backlinkgenie server in settings.json and send from the dashboard.
04Import target posts from Gemini CLI
Gemini CLI's @ syntax reads the file into the prompt. Its confirmation shows the full URL list passed to import_posts.
05Monitor your backlinks from Gemini CLI
Add list_links and check_link to includeTools if you want Gemini CLI to only see read tools for this kind of session.
06Get a weekly link report from Gemini CLI
Gemini CLI renders markdown tables in the terminal, which is enough for a quick Monday check.
07Update your pitch after a launch from Gemini CLI
Gemini CLI asks before update_workspace_profile and each edit_draft, so you can stop after the profile change if you only want new pitches affected.
08Manage your outreach blocklist from Gemini CLI
Gemini CLI shows block: false or true in the skip_prospect confirmation, so you can see which of the two you're doing.
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.
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.
Related
BacklinkGenie for Cursor
MCP server in mcp.json. Sign in, no key.
BacklinkGenie for Claude Code
claude mcp add (HTTP). Sign in, no key.
BacklinkGenie for Codex
codex mcp add (HTTP). Uses an API key.
MCP server reference
Endpoint, auth and every tool in detail.
Prompts to try
A library of prompts for pitching, replies and reporting.
Pricing
From $99/mo. MCP access is on every plan.
Get your free prospect report first
Up to 40 posts worth pitching, no card needed. Connect Gemini CLI once you subscribe.