Skip to content
GitHub Copilot

Run Meta Lead Ads from GitHub Copilot. You approve every change.

Draft an instant form in Copilot Chat, launch the lead campaign behind it and read the leads it brings in, all from VS Code.

Updated

How it works: you ask GitHub Copilot, Adneuron shows the plan and waits for your yes, then the change goes live in Meta Lead Ads.
  • Instant forms and lead campaigns
  • Leads read when you ask
  • Every change waits for your yes
  • Campaigns start paused

What is the Meta Lead Ads MCP for GitHub Copilot?

Adneuron is an MCP server that connects GitHub Copilot to Meta Lead Ads. Add it in VS Code, sign in, and connect your Meta ad accounts with Facebook's sign-in. Copilot can then draft instant forms with your own questions and privacy link, launch lead campaigns with a form or to your website, read new leads with every answer and find ad sets that spend without leads. Changes wait for your approval.

  • You see every form question before the form is made
  • Lead campaigns are created paused
  • Leads are fetched only when you ask, with a permission you grant in Meta
  • Removing archives by default

How it works in GitHub Copilot

  • Draft forms where you write

    Describe the questions you want in Copilot Chat. Copilot shows the whole instant form, with name, email and phone filled in by Facebook and your privacy policy link, before it is made.

  • Website leads after a deploy

    Lead campaigns can send people to your site and optimise for the lead event your Meta Pixel records. After shipping a new signup form, ask Copilot which pixel events arrived.

  • Reading leads takes one more permission

    Leads hold personal details, so reading them needs a separate Meta permission you grant once. VS Code still asks before Copilot runs the Adneuron tool that fetches them.

  • When MCP servers are blocked

    Where an organisation's Copilot policy blocks MCP servers, MCP: Add Server won't appear. An admin has to allow them before your lead forms can be reached from VS Code.

See it in action

GitHub Copilot 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. Copilot lists each ad set's budget before and after; Meta changes nothing until you approve.

What GitHub Copilot 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 by Facebook, your own questions and your privacy policy link.

  • Lead campaigns

    Image, video and carousel campaigns with an instant form, built in one confirmed step and left paused.

  • Website lead campaigns

    Campaigns that send people to your site, optimised for the lead event your Meta Pixel records.

  • Read new leads

    Leads from one form or one ad for the dates you choose, with every answer and whether each came from an ad.

  • Spend without leads

    Ad sets and ads that spend without bringing leads, and tired creative before results drop.

  • Special ad categories

    Declare housing, employment, financial products and services or another special ad category when a campaign needs one.

Prompts to try

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

Set up in a few minutes

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

    Connect Meta

    Create a free Adneuron account and connect your Meta ad accounts with Facebook's sign-in. Reading leads needs one extra Meta permission.

  2. 2

    Add the HTTP server

    In VS Code, run MCP: Add Server, choose HTTP, paste Adneuron's URL and give it the ID adneuron.

  3. 3

    Sign in and ask

    Approve the sign-in, pick your Adneuron workspace, then ask Copilot Chat how many leads came in this week.

GitHub Copilot or the Meta Lead Ads website?

Use both. Here is what each is good at.
TaskAdneuron in GitHub CopilotMeta Lead Ads website
Drafting an instant formDescribe it; see the whole form firstForm builder, field by field
Reading this week's leadsAsk for a form or an ad and the datesMeta's leads tools
Finding ads with no leadsListed with their spendSort the ads table
Lead costs beside LinkedIn and GoogleOne answerMeta only

Questions

Setup

Why does reading leads need another permission?

Leads include names, emails and phone numbers, so Meta keeps them behind a separate permission you grant once. Reports and changes work without it; reading the leads themselves needs it.

How do I add Adneuron to Copilot?

Run MCP: Add Server from the VS Code Command Palette, choose HTTP and paste the Adneuron server URL. Name it adneuron, allow VS Code to sign in, and select Allow.

Capabilities

Can Copilot add my own questions to a form?

Yes. Alongside name, email and phone, which Facebook fills in, add your own questions in plain words. Copilot shows the full form and your privacy policy link before it is made.

Can I read the leads from one ad?

Yes. Ask for a form or a single ad and the dates you want. Copilot reads the leads from Meta with every answer, when each arrived and whether it came from an ad.

Can a lead campaign send people to my website?

Yes. It can optimise for the lead event your Meta Pixel records, or let Meta choose between your website and an instant form, whichever it expects to work better.

Safety and control

Will Copilot make a form or campaign without asking?

No. You see every question before a form is made, and campaigns are shown in full and created paused after your yes. VS Code also asks before each tool runs.

What happens when I remove a lead campaign?

Meta archives it by default, so the campaign stops and its results stay in your reports. If you say delete, Copilot first asks whether you mean archive or a permanent delete.

Ready to connect GitHub Copilot to Meta Lead Ads?

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