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

Manage your outreach blocklist from Codex

To manage your outreach blocklist from Codex, tell it which domains BacklinkGenie must never pitch. They go on the blocklist for that site, and the agent skips them in every run and import from then on.

Codex setup guide get_prospect_reportskip_prospectadd_to_blocklist
The prompt

What should I ask Codex?

Paste this into Codex and change the details to fit.

Prompt for Codex

Add every domain in config/blocklist.txt to BacklinkGenie for all my sites, and tell me which were already blocked.

In Codex: Blocklists are per site. Codex can loop over list_workspaces so every site gets the same list.

Example answer from Codex

Codex
BacklinkGenie connected

Add every domain in config/blocklist.txt to BacklinkGenie for all my sites, and tell me which were already blocked.

Used add_to_blocklist Used skip_prospect Used get_prospect_report

config/blocklist.txt has 15 domains. Added them to all 3 sites. 4 were already blocked on margin.app; 0 on the others. 2 prospects skipped across sites.

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

    Block domains

    add_to_blocklist adds domains the agent must never contact, for that site.

  3. 03

    Skip single prospects

    skip_prospect removes one prospect without blocking the whole domain, and discards any pending pitch. Set block to true to block the domain too.

  4. 04

    Check the report

    get_prospect_report shows what's left, so you can confirm nothing blocked is still queued.

Why

Why manage your outreach blocklist from Codex?

Some sites should never get a pitch from you: competitors, partners you talk to directly, a publication you're already negotiating with, or a site that asked you to stop.

Tell your assistant once and those domains go on your blocklist. The agent skips them in every run and import from then on.

Tips

  • Block competitors' domains on day one, so their own blogs never get a pitch.
  • Use skip for "not this post" and block for "never this site".
  • The blocklist is on every plan. A built-in never-contact list (major platforms, government sites and similar) applies to everyone.

Which tools does Codex call?

  • get_prospect_report read only

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

  • skip_prospect changes things

    Skips a prospect and discards any pending pitch. Can also block the whole domain.

  • add_to_blocklist changes things

    Adds domains the agent must never contact.

Manage your outreach blocklist 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

Does BacklinkGenie block anything by default?

Yes. There's a built-in list of domains we never pitch, plus anyone who has unsubscribed or asked not to be contacted. Your blocklist adds to it.

Can I unblock a domain?

Yes. Open the blocklist for that site in the dashboard and remove it.

Does Codex ask me before it changes anything?

This job uses skip_prospect, add_to_blocklist, 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