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

Find link opportunities from Codex

To find link opportunities from Codex, ask it to run the BacklinkGenie agent for your site, then ask for the prospect report filtered the way you want. BacklinkGenie does the searching, site checks and editor lookup; Codex sorts and summarises the results.

Codex setup guide run_agentget_prospect_report
The prompt

What should I ask Codex?

Paste this into Codex and change the details to fit.

Prompt for Codex

Look at the repo to see what Margin does, then run the BacklinkGenie agent for our site and list the 10 best prospects with DR, fit reason and contact status.

In Codex: Codex reads the repo for context on its own. If the run seems to time out, raise tool_timeout_sec for the server in ~/.codex/config.toml, though run_agent returns as soon as the run starts.

Example answer from Codex

Codex
BacklinkGenie connected

Look at the repo to see what Margin does, then run the BacklinkGenie agent for our site and list the 10 best prospects with DR, fit reason and contact status.

Used run_agent Used get_prospect_report

Margin is a note-taking app for researchers (from README.md and the pricing page source). The run found 34 prospects. Top 10 below; 7 have a verified contact. Three are best-of roundups that rank in the top 3 for "research note app".

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

What happens, step by step

  1. 01

    Connect BacklinkGenie to Codex

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

  2. 02

    You ask for a run

    The assistant calls run_agent for your site. Searching and reading the report are free. Each pitch the run drafts uses 1 email from your monthly allowance, and a new pitch only starts while 3 emails are left, so its follow-ups are never stranded.

  3. 03

    BacklinkGenie searches

    It runs Google searches built from your product profile, opens each ranking post, checks the site's quality and Domain Rating, and finds and verifies the editor's email.

  4. 04

    You read the report

    get_prospect_report returns every prospect with its DR, the query and position it ranks for, contact status, a fit score and a one-line reason it fits. Filter by new, drafted, contacted, replied, won or skipped.

Why

Why find link opportunities from Codex?

The slow part of link building is the list: searching Google for every "best X", "X alternatives" and "how to" query, opening each post, checking the site isn't a link farm and finding who edits it.

BacklinkGenie looks for five kinds of page: best-of roundups, comparison and alternatives pages, resource pages, how-to guides and niche blogs. Each prospect comes back with its Domain Rating, the search it ranks for, a contact status and a one-line reason it fits.

Tips

  • Ask for the filters you care about in plain words: "only DR 40+", "only posts in the top 10", "only ones with a verified contact".
  • If the list drifts off-niche, update your product profile first and run again. The profile is what the searches are built from.
  • Runs keep going in the background. Ask "is the run done?" later in the same conversation.

Which tools does Codex call?

  • run_agent changes things

    Starts a run that finds new posts in your niche and drafts pitches. Pitches count toward your monthly emails.

  • get_prospect_report read only

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

Find link opportunities from another tool

Not connected to Codex yet?

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

~/.zshrc or ~/.bashrc
export BACKLINKGENIE_API_KEY="bg_live_your_key"

Codex setup gotchas

  • Variable not set in the IDE. The IDE extension only sees BACKLINKGENIE_API_KEY if the editor was launched from a shell that exports it. Restart the editor from the terminal, or set the variable system-wide.
  • Slow calls time out. If a call fails with a timeout, raise tool_timeout_sec under [mcp_servers.backlinkgenie] in config.toml.
  • Check what loaded. Type /mcp in a Codex session. If BacklinkGenie is listed with no tools, the key was rejected.

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

How many prospects does a run find?

It depends on your niche and how many posts rank for searches around your product. A broad category can return dozens per run; a narrow B2B niche returns fewer, better-matched ones. We don't pad the list with weak sites to hit a number.

Does a run send anything?

No. A run finds prospects and drafts pitches. Pitches wait for your approval unless you've turned on Autopilot in the dashboard, and we suggest about two weeks of reviewing before you do.

Can I try this before paying?

Yes, in the dashboard. The free prospect report lists up to 40 posts for your site with no card needed. Running the agent from an assistant, and sending pitches, needs a paid plan.

Does Codex ask me before it changes anything?

This job uses run_agent, which change things on your account. Codex's approval mode covers MCP calls. Use the default mode that asks before actions when approve_draft and send_reply are available.

Do I need an API key to use BacklinkGenie from Codex?

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 Codex once you subscribe.

The BacklinkGenie genie The BacklinkGenie genie