Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

meta-ads

MCP server by mikusnuz Community

meta-ads is an MCP server for the Meta Marketing API. It gives an AI assistant 134 tools to manage Facebook and Instagram ad campaigns, audiences, creatives, insights and catalogs.

  • Score 73
  • 96 stars
  • 304 a week
  • MIT
  • Updated

Install meta-ads

Built from the published package, never by AI.

claude mcp add meta-ads -e META_ADS_ACCESS_TOKEN=YOUR_META_ADS_ACCESS_TOKEN -- npx -y @mikusnuz/meta-ads-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install meta-ads in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the meta-ads block.

About

meta-ads is an MCP server for the Meta Marketing API, version v26.0. It exposes 134 tools for managing Facebook and Instagram ad campaigns. The tools cover campaigns, ad sets, ads, creatives, media assets, audiences and targeting, insights and reporting, leads, catalogs, automated rules, experiments, conversions and budget schedules.

The server runs through npx and needs a Meta Marketing API access token and an ad account ID. App ID, app secret, business ID and pixel ID are optional and are required only for certain tools, such as token exchange or conversion tools. The source is aimed at advertisers and marketers who want an AI assistant to create, review and adjust ad campaigns.

Written from the project's README and checked against it.

Tools it gives your assistant

  • create_campaignCreate a new campaign.
  • create_adsetCreate a new ad set, with optional validate_only mode.
  • create_creativeCreate a new ad creative.
  • get_campaign_insightsGet campaign-level performance metrics.
  • get_account_insightsGet account-level performance metrics.
  • create_custom_audienceCreate a custom audience, including rule-based audiences.
  • create_lookalike_audienceCreate a lookalike audience.
  • create_async_reportCreate an asynchronous insights report for large date ranges.
  • create_ruleCreate an automated rule for campaigns or ads.
  • create_experimentCreate an A/B test experiment.

What you need

  • Meta Marketing API access token
  • Meta ad account ID
  • Node.js 20 or later
  • Meta app ID and app secret for token exchange and extension
SettingNeededWhat it is
META_ADS_ACCESS_TOKENEnvironment variable, secretRequiredMeta Marketing API access token
META_AD_ACCOUNT_IDEnvironment variableOptionalMeta Ad Account ID (e.g. act_123456)
META_APP_IDEnvironment variableOptionalMeta App ID
META_APP_SECRETEnvironment variable, secretOptionalMeta App Secret
META_BUSINESS_IDEnvironment variableOptionalMeta Business Manager ID
META_PIXEL_IDEnvironment variableOptionalMeta Pixel ID

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Create a new Facebook ad campaign with an ad set and creative
  • Show me how my ads performed today
  • Set up an A/B test between two ad sets

Good to know

  • Some detailed Insights breakdowns require an Ads Manager opt-in.
  • An empty Insights response does not necessarily mean zero performance.
  • Audience creation is a real write, not a dry run.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to meta-ads

All alternatives →
OpenSEO every-app
100

Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.

AAA Remote 30k
SEO Skill iannuttall
93

Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.

AAA Local and remote 6.1k/wk
NotFairnowork-studio
93

NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.

AAA Remote 4.4k
Elmo elmohq
92

Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.

AAA Remote 772
Clipwright.io seocombat
91

Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.

AAC Local and remote 3.4k/wk
New-Term Radarzhuyansen
91

Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.

AAA Local 2.3k

Compare with OpenSEO, SEO Skill or NotFair

meta-ads: common questions

Which Meta API version does meta-ads use?

The server is built for the Meta Marketing API v26.0, according to its README.

How many tools does meta-ads provide?

The README lists 134 tools covering campaigns, creatives, media, audiences, insights, leads, catalogs, rules, experiments, conversions and budgets.

Can I check an ad set change without applying it?

create_adset and update_adset accept validate_only set to true, which asks Meta to validate the request without making a change. A successful validation does not create an ad set.

How do I install meta-ads?

In Claude Code run claude mcp add meta-ads -e META_ADS_ACCESS_TOKEN=YOUR_META_ADS_ACCESS_TOKEN -- npx -y @mikusnuz/meta-ads-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is meta-ads the official server?

meta-ads is a community project by mikusnuz, not verified by a company domain.

Is meta-ads free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is meta-ads safe to use?

It scores 73 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to meta-ads?

Similar MCP servers: OpenSEO, SEO Skill, NotFair, Elmo.

Does meta-ads work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

meta-ads Install

Add to stack

Loading.