Skip to content

Collect Meta leads with Codex. You approve every change.

Draft instant forms, launch lead campaigns and read new leads from the terminal or your editor; Codex shows each form and campaign before Meta gets it.

Updated

How it works: you ask Codex, Adneuron shows the plan and waits for your yes, then the change goes live in Meta Lead Ads.
  • Instant forms on your Page
  • Leads read straight from Meta
  • You approve every change
  • Lead campaigns start paused

What is the Meta Lead Ads MCP for Codex?

Adneuron is an MCP server that connects Codex to Meta Lead Ads. Once Codex has it, you can create instant forms on your Facebook Page, launch image, video or carousel lead campaigns that use a form or your website, read leads that arrive with every answer, and compare cost per lead by ad. It works in the Codex CLI, IDE extension and ChatGPT desktop app. Every change waits for your approval; campaigns start paused.

  • Codex shows every question on a form before it is made
  • Lead campaigns are created paused
  • Leads are fetched only when you ask, with a Meta permission you grant
  • Removing a campaign archives it, so its results stay

How it works in Codex

  • Leads on request

    Ask Codex for this week's leads from a form and they come straight from Meta, with every answer and when it arrived. Reading leads needs a separate Meta permission you grant once.

  • Draft the questions in a file

    Write the form's questions and privacy policy link in a file in the IDE extension, then ask Codex to create the form from it. It shows the whole form before anything is made.

  • Works on a remote machine

    Without a browser to hand, sign in with codex mcp login adneuron --no-browser and open the printed link on your laptop, so lead checks work wherever Codex runs.

  • Allow, then approve

    The first Adneuron tool call asks for your permission in Codex. Creating a form or launching a lead campaign then waits for your yes on the plan.

See it in action

Codex works out the change, shows it to you and waits. Nothing happens in Meta Lead Ads until you say yes.
Example with made-up campaigns. Codex shows cost per lead and both budgets; Meta changes nothing until you approve.

What Codex can do in Meta Lead Ads

Changes wait for your approval. See everything in Meta Lead Ads
  • Instant forms

    Forms on your Facebook Page with name, email and phone filled in from Facebook, plus your own questions and privacy policy link.

  • Lead campaigns

    Image, video or carousel campaigns that open a form or send people to your website, built in one confirmed step and left paused.

  • Read new leads

    Leads for the dates you choose, from a form or an ad, with every answer and the time it came in.

  • Cost per lead

    Leads, spend and cost per lead by campaign, ad set and ad, so the cheapest creative is clear.

  • Budgets and bids

    Ad set budgets, spend limits and bid strategies, moved toward the ads that bring leads for less.

  • Special ad categories

    Housing, employment, financial products and other categories Meta regulates, declared on the campaign.

Prompts to try

Talk to Codex the way you would brief a colleague. Tap a prompt to copy it.

Set up in a few minutes

No API key. The Codex setup guide has every step and fixes for common problems.
  1. 1

    Connect Meta and your Page

    Make a free Adneuron account and connect your Meta ad account and Facebook Page with Facebook's sign-in.

  2. 2

    Add Adneuron to Codex

    Run codex mcp add adneuron in a terminal; Codex detects the sign-in and opens your browser.

  3. 3

    Allow and ask

    Select your workspace, click Allow, and ask Codex which lead forms your Page already has.

Codex or the Meta Lead Ads website?

Use both. Here is what each is good at.
TaskAdneuron in CodexMeta Lead Ads website
Create an instant formDescribe the questions; Codex shows the formForm builder in Meta
Read this week's leadsAsk; they appear with every answerLeads centre or form library
Find the cheapest lead adsCost per lead by ad in one answerColumns and breakdowns
Compare with LinkedIn or GoogleYes, in one answerMeta only

Questions

Setup

What does Codex need to read my leads?

Adneuron added to Codex, your Meta ad account and Page connected, and Meta's separate leads permission, which you grant once. After that, Codex can read leads whenever you ask.

Do I paste a Meta access token into Codex?

No. Codex signs in to Adneuron with your Adneuron account, and Meta connects through Facebook's own sign-in. There is no token to copy into config.toml.

Capabilities

Can Codex create an instant form?

Yes. Name, email and phone come prefilled from Facebook, and you can add your own questions in plain words. Codex shows the whole form, with your privacy policy link, before it is made.

Can lead campaigns send people to my website instead?

Yes. A lead campaign can send people to your site and optimise for the lead event your Meta Pixel records, or use whichever of website or form Meta expects to work better.

Does it handle special ad categories?

Yes. If your ads are about housing, employment, financial products, social issues, elections or politics, or online gambling, Codex declares the category on the campaign as Meta requires.

Safety and control

Will Codex launch a lead campaign without asking?

No. Codex shows the form, budget and audience first, and nothing is created until you say yes. The campaign starts paused, so it collects no leads until you turn it on.

When does Adneuron read my leads?

Only when you ask Codex for them, and only with the leads permission you grant in Meta. Forms and campaigns never change without your yes.

Ready to connect Codex to Meta Lead Ads?

Free plan, no credit card. Every change waits for your yes.