Meta Ads logo

Meta Ads

Query Meta ad accounts, campaigns, creatives, audiences, and performance insights through MCP with optional preview-first writes.

Install Meta Ads

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/meta-ads-mcp-server"
      ],
      "env": {
        "META_ACCESS_TOKEN": "YOUR_VALUE_HERE",
        "META_ENABLE_WRITES": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 42 tools correctly ().

Overview

Meta Ads MCP server connects an MCP client to the Meta Graph and Marketing APIs for reading ad accounts, campaign structures, performance data, creatives, audiences, and business assets. Its insights query planner validates metric and breakdown combinations, splits incompatible requests, and merges the results. Read operations are the default; optional write operations require explicit enablement and preview changes before applying them. Use it when an agent needs direct access to Meta Ads data from Claude Desktop, Claude Code, or Cursor.

Use cases

  • Compare campaign performance across selected metrics and breakdowns
  • Inspect delivery issues across campaigns, ad sets, and ads
  • Find creatives, audiences, pixels, catalogs, and linked business assets
  • Validate and preview planned campaign changes before applying them

Key features

  • Meta Ads Insights queries with automatic compatibility planning
  • Campaign, ad set, ad, creative, and audience inspection
  • Business asset, Page, Instagram, pixel, and catalog discovery
  • Delivery, activity, brand-safety, and experiment diagnostics
  • Token and permission health checks
  • Preview-first optional write operations

Tools42

What Meta Ads lets your agent do. Expand a tool for its parameters.

Verified live~11.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/12 checks healthy over the last 64d

What it can do

From the 42 tools this server returned when we ran it; 42 declare their own safety hints.

Handles credentials · 4Makes network requests · 42Read-only tools · 42
Tool definitions changed on 2026-11-14. Review them if you approved this server earlier.
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age76 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @getmcpads/meta-ads-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.3kPackage downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed42Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Meta Ads works

What Meta Ads does

Meta Ads exposes Meta advertising data and account operations as MCP tools. It can discover accessible ad accounts and business assets, inspect account details, campaigns, ad sets, ads, creatives, audiences, pixels, catalogs, Pages, Instagram accounts, and activity logs. Read tools also cover delivery diagnostics, brand-safety signals, organic Page and Instagram content enrichment, A/B tests, and conversion lift studies.

Performance analysis is handled through meta_get_insights, which supports a broad set of metrics and breakdowns. The server publishes metric and breakdown catalogues through MCP resources, and provides query validation before an Insights request is sent. A node-field reader supplies a GET-only way to retrieve flat fields from accessible Meta Graph nodes that are not represented by a fixed tool schema.

The repository also includes optional write operations for tasks such as changing statuses, budgets, schedules, renaming entities, and creating campaigns. Writes are disabled by default and use a preview-before-apply flow.

How it works

Run the server locally as a standard stdio MCP process. The MCP client starts Node with the compiled dist/cli.js, while requests go directly to Meta using credentials you supply. The server checks token metadata, available ad accounts, and relevant permissions through health and token-debugging tools without exposing the access token.

For Insights queries, the planner uses Meta's metric and breakdown compatibility rules. If a requested combination cannot be sent as one API call, it divides the work into valid requests and combines the returned rows. meta_validate_query can check the combination first, which is useful for agents that need to avoid avoidable API failures.

Permissions affect which assets and fields are available. The ads_read permission is required for read-only advertising access. Business asset discovery, Page posts, Instagram data, and catalog information use additional permissions when applicable.

Setup and configuration

Create a Meta access token and grant it access to the ad accounts the client should use. A System User token is recommended for persistent use; short-lived Graph API Explorer tokens are suitable for testing, while long-lived user tokens require periodic renewal.

Build the standalone server from the source repository:

  • Clone the repository.
  • Run npm ci.
  • Run npm run build.
  • Configure the MCP client to launch node with the absolute path to dist/cli.js.

Use Node.js 22.23.4 or newer on the Node 22 line, 24.22.1 or newer on Node 24, or 26.12.1 or newer on Node 26. Grant ads_management only when write operations are enabled. Optional permissions include business_management, pages_show_list, pages_read_engagement, instagram_basic, and catalog_management.

Run meta_health_check as the first request to review token metadata, accessible accounts, and missing read scopes. meta_debug_token helps inspect token validity, expiry, and granted scopes.

Tools and capabilities

  • Discover businesses, Pages, linked Instagram accounts, pixels, datasets, and ad accounts.
  • Read campaign, ad set, ad, creative, audience, catalog, and product information.
  • Query performance Insights with metrics, breakdowns, validation, and automatic request planning.
  • Inspect delivery, activity, brand-safety, experiment, and conversion-lift data.
  • Read Page posts and organic media with URLs and optional insights.
  • Retrieve arbitrary flat fields from accessible Meta Graph nodes.
  • Preview optional changes before applying write operations.

Limitations and notes

Results depend on the token's permissions and the assets assigned to it. Organic content data is separate from Ads Insights and should not be treated as an organic-only advertising breakdown. Catalog reads enrich product-related results but do not create or modify catalog assets.

The standalone repository provides native API tools. Hosted product features such as interactive creative galleries, MCP Apps interfaces, alerts, Google Sheets exports, and bulk launches are separate from this local release. Requests require a client that supports stdio MCP, and the server communicates directly with Meta rather than through a managed connection.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Meta Ads

Meta Ads is an MCP server that connects AI clients to Meta’s advertising APIs. Its main tools read ad accounts, campaigns, ad sets, ads, creatives, audiences, business assets, and performance Insights, while validating metric and breakdown combinations. Optional write tools preview changes before applying them and remain disabled by default.

Install it by cloning the repository, running `npm ci`, running `npm run build`, and configuring your MCP client to launch Node with the absolute path to `dist/cli.js`. Use a supported Node.js 22, 24, or 26 runtime and provide Meta platform credentials.

Read-only advertising access requires `ads_read`. Enable `ads_management` only for write operations. Business asset discovery may use `business_management`; Page data may use `pages_show_list` and `pages_read_engagement`; Instagram and catalog features may use `instagram_basic` and `catalog_management`.

Yes. Meta Ads runs with Cursor through stdio MCP configuration. It also supports the locally configured Claude Desktop and Claude Code clients named by the project, with requests sent directly to Meta using your credentials.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMeta Ads AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/meta-ads?style=directory)](https://allmcps.com/mcp/meta-ads)
HTML Embed
<a href="https://allmcps.com/mcp/meta-ads"><img src="https://allmcps.com/api/badge/meta-ads?style=directory" alt="Meta Ads on AllMCPs" /></a>