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

Import target posts from Gemini CLI

To import target posts from Gemini CLI, give it the post URLs and ask it to import them into BacklinkGenie. Each post is checked for fit and quality, the editor is found and verified, and a pitch is drafted for your approval.

Gemini CLI setup guide import_postsget_prospect_report
The prompt

What should I ask Gemini CLI?

Paste this into Gemini CLI and change the details to fit.

Prompt for Gemini CLI

Import the URLs in @targets.txt into BacklinkGenie, then show which have a verified contact as a table.

In Gemini CLI: Gemini CLI's @ syntax reads the file into the prompt. Its confirmation shows the full URL list passed to import_posts.

Example answer from Gemini CLI

Gemini CLI
BacklinkGenie connected

Import the URLs in @targets.txt into BacklinkGenie, then show which have a verified contact as a table.

Used import_posts Used get_prospect_report

Imported 9 URLs from targets.txt. Table below: 7 verified, 1 found but unverified, 1 skipped (the site sells sponsored posts). 7 pitches drafting.

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

What happens, step by step

  1. 01

    Connect BacklinkGenie to Gemini CLI

    gemini mcp add (HTTP). Use an API key from Settings → MCP.

  2. 02

    Send the URLs

    import_posts takes a list of full post URLs, up to 200 at a time. Duplicates and posts already in your list are ignored.

  3. 03

    BacklinkGenie qualifies each one

    It checks the site against your blocklist and quality rules, reads the post to see where you fit, and finds and verifies the editor's email.

  4. 04

    Pitches appear for approval

    Qualified posts get a pitch in your approvals; skipped ones come back with the reason in get_prospect_report.

Why

Why import target posts from Gemini CLI?

You already know some posts you should be in: the roundup a competitor is listed in, the guide that ranks for your main keyword, the article a customer sent you.

Paste the URLs into your assistant and BacklinkGenie qualifies each one, finds who to contact and drafts a pitch for your approval, the same way it handles the posts it finds itself. One call takes up to 200 URLs.

Tips

  • Competitor roundups convert best. Ask your assistant to find posts listing your competitors, then import them.
  • Coding agents can read a file of URLs; chat apps take a pasted list.
  • Importing is included on every plan, from Starter at $99/mo.

Which tools does Gemini CLI call?

  • import_posts changes things

    Gives the agent specific post URLs to pitch. It qualifies them, finds the contact and drafts.

  • get_prospect_report read only

    Every prospect with its Domain Rating, Google ranking evidence, contact status, fit score and why it fits.

Import target posts from another tool

Not connected to Gemini CLI yet?

Create an API key in BacklinkGenie under Settings → MCP, then add the server. The full Gemini CLI setup guide has every step.

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

Gemini CLI setup gotchas

  • 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.

BacklinkGenie is an AI link-building outreach agent. It finds posts in your niche, finds and verifies the editor, writes one pitch per post from your brand's outreach mailbox, follows up and checks every won link weekly. Gemini CLI works on the same account as the dashboard, so the same quality check and mailbox limits apply. Plans: 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). Every feature, including MCP, is on every plan. See how BacklinkGenie works or compare plans.

FAQ

Questions people ask

Why would an imported post be skipped?

It's on your blocklist or our never-contact list, the site fails the quality checks (it sells links or shows spam signals), it's already in your list, or there's no way to contact the editor.

Does importing count toward my emails?

Qualifying the post doesn't. The pitch it writes uses 1 email and each follow-up 1 more. A new pitch only starts while 3 emails are left in your month, so follow-ups are never cut off.

Will it pitch a guest post?

No. BacklinkGenie asks the editor to add your product to the existing post, where it fits. It doesn't offer to write guest posts.

Does Gemini CLI ask me before it changes anything?

This job uses import_posts, which change things on your account. Gemini CLI asks you to confirm each MCP tool call unless the server has trust: true. Leave trust off for BacklinkGenie.

Do I need an API key to use BacklinkGenie from Gemini CLI?

Yes. Create one in BacklinkGenie under Settings → MCP; keys start with bg_live_ and are shown once. MCP access is on every paid plan, from $99/mo.

Keep reading

Related

Start with a free prospect report

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

The BacklinkGenie genie The BacklinkGenie genie