← Back to directory
M

Meta Ads MCP Server

Community
Manage Facebook and Instagram ads through MCP.
Category
Other #568 of 678
Stars
★ 96 Popular
Transport
stdio (local process)
Runtime
Node.js 20+
Credentials
API key / credential required
License
MIT
Last commit
Tools
100
42FMRS · D

The source describes a Meta advertising MCP server published from a third-party repository, not maintained by Meta. The manifest provides the npm package and stdio transport. The README configuration and tool list describe its features, but conflict with the manifest on API version, tool count, and whether the ad account ID is required.

Strongest · Documentation 11/20 Weakest · Reliability 5/20

Reliability
5/20
Security and permissions
8/20
Maintenance
8/20
Documentation
11/20
Setup experience
10/20
Why each score
Reliability 5/20
The README lists many tools and some parameter behavior, but provides no CI, committed tests, initialization-handshake evidence, or error-handling detail. The README and object description also disagree on API version and tool count (v26.0/134 versus v25.0/135). The manifest declares only an npm stdio package, so tool-to-behavior correspondence cannot be verified; this warrants only limited credit.
Security and permissions 8/20
The manifest marks the access token and app secret as secret, the README lists permissions by tool category, and the installation example uses placeholders. However, the server manages resources with side effects, including ads, audiences, business users, and catalogs. The docs mention validate_only for some ad-set operations but do not show confirmation for dangerous actions, data boundaries, or a complete data-flow account. The supplied material shows no evidence of a security red line.
Maintenance 8/20
The materials provide an MIT license, a version, and several release-note sections, but no commit history, release history, dependency-update policy, security-response channel, or maintainer governance details. The object reports 96 stars, no open issues, and an unarchived repository, but these do not establish sustained maintenance, so credit is limited.
Documentation 11/20
The README covers main use cases, a tool inventory, permissions, environment variables, and several feature limits and examples, making it a useful starting reference. It lacks complete parameter and troubleshooting details, cost information, and broader limitation coverage. The API version and tool-count conflicts with the object description reduce confidence in the documentation.
Setup experience 10/20
The README gives a Node.js 20+ and npx path, a mainstream MCP client configuration example, and environment-variable descriptions. The manifest does not provide runtime details beyond the package declaration, and whether the ad account ID is required differs between the README and manifest. There is no cross-platform validation or verifiable successful-connection evidence, so the score remains moderate.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkChanges third-party account data

Best for

  • Ad operators and developers who need to read or manage a Meta advertising account through MCP.
  • Teams building workflows for audiences, ad performance, catalogs, or advertising automation.

Not for

  • Users who do not use the Meta Marketing API or lack access to a Meta advertising account.
  • Users who only want passive viewing and do not want tools to write to account or advertising data.

Required permissions

  • Required: a Meta Marketing API access token.
  • Campaign, ad set, ad, and creative read/write operations require ads_management; read and insights operations require ads_read.
  • Business features require business_management; lead data requires leads_retrieval; catalog features require catalog_management; page-linked lead forms require pages_read_engagement.
  • App ID and app secret are used for token exchange, extension, or debugging; business ID and Pixel ID support the corresponding business and conversion features.

Risks and side effects

  • Tools for creating, updating, or deleting ads and audiences can change live account data; the README explicitly says some creation operations are real writes rather than dry runs.
  • Access tokens and app secrets are sensitive credentials and should be protected.
  • The source disagrees about API version, tool count, and whether the ad account ID is required; check the installed package and Meta API responses.
  • Meta permissions, account defaults, targeting settings, and API limits can affect results; some detailed insights breakdowns require an Ads Manager opt-in.

Setup

Before you start

Runtime:Node.js 20+

META_ADS_ACCESS_TOKEN requiredsecret Meta Marketing API access token; obtain it from Meta.
META_AD_ACCOUNT_ID required Meta ad account ID; obtain it from the Meta ad account. The docs' example is numeric without the `act_` prefix.
META_APP_SECRET optionalsecret Meta App Secret; get it from Meta developer app settings. Needed for token exchange, extension, and debugging.
Other optional settings (3)
META_APP_ID optional Meta App ID; get it from Meta developer app settings. Needed for token exchange, extension, and debugging.
META_BUSINESS_ID optional Meta Business Manager ID; obtain it from Meta Business Manager. Needed for business tools.
META_PIXEL_ID optional Meta Pixel ID; obtain it from Meta. Needed for conversion tools.

Add the supplied JSON configuration to an MCP client that supports stdio. Use Node.js 20 or later and provide a Meta Marketing API access token. Configure account, app, business, or Pixel details as needed. The README example marks the ad account ID as required, while the manifest marks it optional.

MCP config · JSON
{"mcpServers":{"meta-ads":{"command":"npx","args":["-y","@mikusnuz/meta-ads-mcp"],"env":{"META_ADS_ACCESS_TOKEN":"your-access-token","META_AD_ACCOUNT_ID":"123456789","META_APP_ID":"your-app-id","META_APP_SECRET":"your-app-secret","META_BUSINESS_ID":"your-business-id","META_PIXEL_ID":"your-pixel-id"}}}}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "your-access-token",
        "META_AD_ACCOUNT_ID": "123456789",
        "META_APP_ID": "your-app-id",
        "META_APP_SECRET": "your-app-secret",
        "META_BUSINESS_ID": "your-business-id",
        "META_PIXEL_ID": "your-pixel-id"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.meta-ads]
command = "npx"
args = ["-y", "@mikusnuz/meta-ads-mcp"]

[mcp_servers.meta-ads.env]
META_ADS_ACCESS_TOKEN = "your-access-token"
META_AD_ACCOUNT_ID = "123456789"
META_APP_ID = "your-app-id"
META_APP_SECRET = "your-app-secret"
META_BUSINESS_ID = "your-business-id"
META_PIXEL_ID = "your-pixel-id"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add meta-ads -e META_ADS_ACCESS_TOKEN=your-access-token -e META_AD_ACCOUNT_ID=123456789 -e META_APP_ID=your-app-id -e META_APP_SECRET=your-app-secret -e META_BUSINESS_ID=your-business-id -e META_PIXEL_ID=your-pixel-id -- npx -y @mikusnuz/meta-ads-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm `list_campaigns` appears in the client's tool list, then ask it to list campaigns to check the connection and credentials.

Troubleshooting

  1. Check that the MCP client uses stdio and that Node.js 20 or later is available in the client's npx environment.
  2. Verify that META_ADS_ACCESS_TOKEN is valid and has the permissions required by the selected tools.
  3. Check the ad account ID, app ID, app secret, business ID, and Pixel ID required for the specific operation; the README and manifest differ on whether the account ID is required.
  4. Review Meta errors about permissions, object IDs, budgets, objectives, and date ranges; wait for asynchronous reports to complete before retrieving results.
  5. If insights are empty, check the date range, permissions, and selected breakdowns; the README says some detailed breakdowns require an Ads Manager opt-in.

Things to try

Once connected, you can ask your AI assistant things like:

  • List my ad campaigns.
  • Show ad account performance for the last 7 days.
  • Create a custom audience.

Tools 100

list_campaigns read-only
get_campaign read-only
create_campaign writes
update_campaign writes
delete_campaign destructive
copy_campaign writes
get_campaign_adsets read-only
get_campaign_ads read-only
Show 92 more tools
get_campaign_leads read-only
list_adsets read-only
get_adset read-only
create_adset writes
update_adset writes
delete_adset destructive
copy_adset writes
get_adset_targeting_sentence read-only
get_adset_ads read-only
get_adset_leads read-only
list_ads read-only
get_ad read-only
create_ad writes
update_ad writes
delete_ad destructive
copy_ad writes
get_ad_preview read-only
get_delivery_estimate read-only
list_creatives read-only
get_creative read-only
create_creative writes
update_creative writes
create_dynamic_creative writes
generate_preview read-only
list_images read-only
upload_image writes
get_image read-only
delete_image destructive
list_videos read-only
upload_video writes
get_video read-only
delete_video destructive
list_canvases read-only
get_canvas read-only
create_canvas writes
delete_canvas destructive
list_custom_audiences read-only
get_audience read-only
create_custom_audience writes
update_audience writes
delete_audience destructive
add_users_to_audience writes
remove_users_from_audience writes
create_lookalike_audience writes
get_audience_health read-only
list_saved_audiences read-only
get_saved_audience read-only
search_targeting read-only
search_locations read-only
search_targeting_map read-only
get_reach_estimate read-only
get_targeting_suggestions read-only
get_account_insights read-only
get_campaign_insights read-only
get_adset_insights read-only
get_ad_insights read-only
create_async_report writes
get_async_report read-only
get_form_leads read-only
get_lead read-only
create_lead_form writes
list_lead_forms read-only
get_lead_form read-only
list_catalogs read-only
get_catalog read-only
create_catalog writes
update_catalog writes
list_product_sets read-only
create_product_set writes
get_product_set read-only
update_product_set writes
list_products read-only
get_product read-only
update_product writes
list_feeds read-only
create_feed writes
upload_feed writes
get_feed_uploads read-only
batch_products writes
get_batch_status read-only
list_rules read-only
get_rule read-only
create_rule writes
update_rule writes
delete_rule destructive
list_experiments read-only
create_experiment writes
get_experiment read-only
update_experiment writes
get_experiment_results read-only
send_conversion_event destructive
send_offline_event destructive

Use cases

Create, inspect, and manage Facebook or Instagram campaigns, ad sets, ads, and creatives.
Review ad performance, create asynchronous insights reports, and retrieve report results.
Manage custom and lookalike audiences, product catalogs, and automated rules.
Search public ad data in the Meta Ad Library.

Overview

Meta Ads MCP Server provides Facebook and Instagram ad management through the Meta Marketing API. The README describes API v26.0 and 134 tools covering campaigns, audiences, creatives, insights, catalogs, and automation; the manifest lists v25.0 and version 1.6.1, so the source differs on API version and tool count.

Similar servers

Source revision ccb44893acbe Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mikusnuz-meta-ads-mcp.svg)](https://followmcp.com/en/servers/mikusnuz-meta-ads-mcp)