Meta Marketing API MCP Server

61 tools. 19 can modify or destroy data without limits.

3 destructive tools with no built-in limits. Policy required.

Last updated:

19 can modify or destroy data
42 read-only
61 tools total

Community server · catalogue entry verified 03/07/2026

How to control Meta Marketing API MCP Server ↓

What Meta Marketing API MCP Server exposes to your agents

Read (42) Write / Execute (15) Destructive / Financial (3)
Critical Risk

The most dangerous Meta Marketing API MCP Server tools

19 of Meta Marketing API MCP Server's 61 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Meta Marketing API MCP Server

PolicyLayer is an MCP gateway — it sits between your AI agents and Meta Marketing API MCP Server, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "delete_audience": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "create_ad": {
    "limits": [
      {
        "counter": "create_ad_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "analyze_account_creatives": {
    "limits": [
      {
        "counter": "analyze_account_creatives_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Meta Marketing API MCP Server — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON META MARKETING API →

Instant setup, no code required.

All 61 Meta Marketing API MCP Server tools

READ 42 tools
Read analyze_account_creatives Analyze all creatives in an account to identify patterns, performance insights, and optimization opportunities Read check_account_setup Check if ad account has all required setup for ad set creation Read check_api_v23_compliance Check if your creative parameters are compliant with Meta Marketing API v23.0 requirements. Identifies depreca Read check_campaign_readiness Check if a campaign is ready for ad set creation. Returns a readiness report with issues, requirements, and re Read compare_performance Compare performance between multiple campaigns, ad sets, or ads Read diagnose_campaign_readiness Check if a campaign is ready for ad set creation and identify potential issues Read estimate_audience_size estimate_audience_size Read exchange_code_for_token exchange_code_for_token Read export_insights Export performance insights in various formats Read get_ad_accounts Get list of accessible Meta ad accounts Read get_ai_guidance Get comprehensive guidance for AI assistants on how to effectively use this Meta Marketing API server. Include Read get_attribution_data get_attribution_data Read get_audience_info Get information about a custom audience Read get_audience_insights get_audience_insights Read get_campaign Retrieve full details for a specific campaign by ID. Returns all campaign fields including status, objective, Read get_campaign_performance get_campaign_performance Read get_campaigns Get campaigns for an ad account Read get_capabilities get_capabilities Read get_creative_best_practices Get comprehensive best practices for creating high-performing ad creatives. Includes platform-specific guideli Read get_creative_performance Get guidance on analyzing creative performance metrics. Provides recommended approaches for tracking creative Read get_insights Get performance insights for campaigns, ad sets, or ads Read get_meta_api_reference Get a reference guide for valid Meta Marketing API parameters, including allowed optimization goals, billing e Read get_meta_error_codes Get detailed reference for Meta Marketing API error codes, subcodes, and specific solutions. Essential for tro Read get_quick_fixes Get targeted troubleshooting tips for common Meta Ads API errors. Provide an error message to receive likely c Read get_token_info Get information about the current access token Read health_check Check server health and authentication status Read list_ad_creatives List ad creatives for an account Read list_ad_sets List ad sets for a campaign Read list_ads List ads for an ad set or campaign Read list_audiences List custom audiences for an ad account Read list_campaign_ad_sets List all ad sets within a specific campaign. Returns ad set details and a summary of active/paused counts and Read list_campaigns Retrieve a paginated list of all campaigns for a Meta ad account. Filter by status (e.g., ACTIVE, PAUSED) and Read list_creatives List all ad creatives in an ad account. Use this to see existing creatives, their formats, and content before Read preview_ad Generate HTML preview of how an ad creative will appear in different placements and formats. Useful for testin Read refresh_to_long_lived_token refresh_to_long_lived_token Read setup_ab_test Get comprehensive guidance on setting up A/B tests for ad creatives. Provides best practices, testing strategi Read troubleshoot_creative_issues Diagnose and fix common creative creation and performance issues. Provide an error message or describe your is Read update_creative Get information about creative update limitations in Meta Read validate_creative_enhanced Enhanced creative validation with comprehensive checks including page permissions, image accessibility, and Me Read validate_creative_setup Validate ad creative parameters before creation to catch errors early. Checks required fields, URL validity, a Read validate_token validate_token Read verify_account_setup Verify that a Meta ad account is ready for ad creation. Checks for account access, payment method, Facebook pa

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Meta Marketing API MCP Server

Can an AI agent delete data through the Meta Marketing API MCP Server MCP server? +

Yes. The Meta Marketing API MCP Server server exposes 3 destructive tools including delete_audience, delete_campaign, delete_creative. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Meta Marketing API MCP Server? +

The Meta Marketing API MCP Server server has 15 write tools including create_ad, create_ad_creative, create_ad_set. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Meta Marketing API MCP Server.

How many tools does the Meta Marketing API MCP Server MCP server expose? +

61 tools across 4 categories: Destructive, Execute, Read, Write. 42 are read-only. 19 can modify, create, or delete data.

How do I enforce a policy on Meta Marketing API MCP Server? +

Register the Meta Marketing API MCP Server MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Meta Marketing API MCP Server tool call.

Deterministic rules across all 61 Meta Marketing API MCP Server tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

61 Meta Marketing API MCP Server tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.