Meta Ads
MCP server by get-mcp-ads Verified · getmcpads.com
Lets an AI assistant read and compare Meta ad campaign performance, inspect delivery and prepare changes to Meta ad accounts. Built for marketers and developers who manage Meta Ads from an MCP client.
Install Meta Ads
Built from the published package, never by AI.
claude mcp add meta-ads -e META_ACCESS_TOKEN=YOUR_META_ACCESS_TOKEN -- npx -y @getmcpads/meta-ads-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"meta-ads": {
"env": {
"META_ACCESS_TOKEN": "YOUR_META_ACCESS_TOKEN"
},
"args": [
"-y",
"@getmcpads/meta-ads-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"meta-ads": {
"env": {
"META_ACCESS_TOKEN": "YOUR_META_ACCESS_TOKEN"
},
"args": [
"-y",
"@getmcpads/meta-ads-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"meta-ads": {
"env": {
"META_ACCESS_TOKEN": "YOUR_META_ACCESS_TOKEN"
},
"args": [
"-y",
"@getmcpads/meta-ads-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add meta-ads --env META_ACCESS_TOKEN=YOUR_META_ACCESS_TOKEN -- npx -y @getmcpads/meta-ads-mcp-server{
"mcpServers": {
"meta-ads": {
"env": {
"META_ACCESS_TOKEN": "YOUR_META_ACCESS_TOKEN"
},
"args": [
"-y",
"@getmcpads/meta-ads-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add meta-ads npx -y @getmcpads/meta-ads-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 that lets an AI assistant read and compare Meta campaign performance, inspect delivery and prepare changes to ad accounts. It provides 42 read tools covering campaigns, ad sets, ads, creatives, audiences, pixels, catalogs, Pages, Instagram, activity logs, A/B tests and lift studies. It supports 190 metrics and 56 breakdowns. A query planner splits invalid metric and breakdown combinations into several valid API calls and merges the results.
The 24 write tools are disabled by default and need META_ENABLE_WRITES=1. Each write first returns a preview and only changes the live account when repeated with confirm: true. The server runs locally over stdio with your own Meta access token, and requests go directly to the platform. It suits marketers and developers who manage Meta campaigns through a client such as Claude Desktop, Claude Code or Cursor.
Written from the project's README and checked against it.
Tools it gives your assistant
meta_health_checkRead-only connection diagnostic that reports token permissions and lists accessible ad accounts without exposing the token.meta_get_business_assetsDiscovers accessible Business assets read-only, including businesses, pages, Instagram accounts, pixels and datasets.meta_get_pagesLists accessible Facebook Pages with id, name, category, tasks and linked Instagram account references when available.meta_get_instagram_accountsLists Instagram accounts linked to accessible Pages or Business Manager assets.meta_validate_queryChecks a metric and breakdown combination before the assistant spends an API call on it.meta_get_insights_rawForward-compatible read that reaches Graph insights fields the server does not model yet.meta_update_campaign_statusWrite tool that pauses or reactivates a campaign. Previews first and applies only with confirm: true.meta_update_campaign_budgetWrite tool that changes a campaign daily or lifetime budget. Previews first and applies only with confirm: true.meta_update_adset_scheduleWrite tool that changes an ad set start and end time. Previews first and applies only with confirm: true.meta_create_campaignWrite tool that creates a campaign. The campaign is always created PAUSED.
What you need
- A Meta access token with the ads_read permission
- ads_management permission only if writes are enabled
- Access to Meta ad accounts through your Business
- Node.js 22.23.4 or newer, 24.22.1 or newer, or 26.12.1 or newer
- An MCP client that supports stdio, such as Claude Desktop, Claude Code or Cursor
| Setting | Needed | What it is |
|---|---|---|
META_Environment variable, secret | Required | Meta access token with at least the ads_read permission. |
META_Environment variable | Optional | Set to 1 to expose 24 write tools. Default calls preview; confirm:true applies changes. |
META_Environment variable | Optional | Graph API version. Defaults to v26.0. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List my Meta ad accounts and check which permissions my token has
- Compare last month's campaign ROAS and CPA by age and gender
- Check whether a metric and breakdown combination is valid before querying it
Good to know
- Write tools are off by default and only apply after a second call with confirm: true.
- Hosted features such as MCP Apps, creative galleries and Google Sheets exports are not part of this repository.
- Meta rejects some metric and breakdown combinations, so the server must split or validate those requests.
Security check
ANo 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 →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.
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.
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.
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.
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.
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.
Meta Ads: common questions
Can Meta Ads change my ads automatically?
No. Write tools are disabled by default, and each write returns a preview that changes nothing until it is repeated with confirm: true.
What token does Meta Ads need?
It needs a Meta access token with ads_read. The README recommends a System User token and says ads_management is only needed for writes.
Can the assistant create an active campaign?
No. The meta_create_campaign tool always creates the campaign PAUSED, and the source states there is no option to create it active.
How do I install Meta Ads?
In Claude Code run claude mcp add meta-ads -e META_ACCESS_TOKEN=YOUR_META_ACCESS_TOKEN -- npx -y @getmcpads/meta-ads-mcp-server. 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 published by getmcpads.com from its verified domain in the official MCP Registry.
Is Meta Ads free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Meta Ads safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
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.
