Skip to content
MCP server

Meta Ads

MCP server for Meta Marketing API — Facebook & Instagram ad campaign management

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.6.1
Listing updated
5 days ago

About Meta Ads

Meta Ads is an open-source MCP server for marketing and seo. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add meta-ads --env META_ADS_ACCESS_TOKEN='<META_ADS_ACCESS_TOKEN>' --env META_APP_SECRET='<META_APP_SECRET>' -- npx -y @mikusnuz/meta-ads-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "<META_ADS_ACCESS_TOKEN>",
        "META_APP_SECRET": "<META_APP_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "<META_ADS_ACCESS_TOKEN>",
        "META_APP_SECRET": "<META_APP_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "meta-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "<META_ADS_ACCESS_TOKEN>",
        "META_APP_SECRET": "<META_APP_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "<META_ADS_ACCESS_TOKEN>",
        "META_APP_SECRET": "<META_APP_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "<META_ADS_ACCESS_TOKEN>",
        "META_APP_SECRET": "<META_APP_SECRET>"
      }
    }
  }
}

Configuration

  • META_ADS_ACCESS_TOKENMeta Marketing API access tokenRequired
  • META_AD_ACCOUNT_IDMeta Ad Account ID (e.g. act_123456)
  • META_APP_IDMeta App ID
  • META_APP_SECRETMeta App Secret
  • META_BUSINESS_IDMeta Business Manager ID
  • META_PIXEL_IDMeta Pixel ID

Pricing

Open source

Meta Ads FAQ

Is Meta Ads free?

Yes. Meta Ads is open source, so you can use and self-host it for free.

How do I add Meta Ads to Claude Code?

Run this command in your terminal: claude mcp add meta-ads --env META_ADS_ACCESS_TOKEN='<META_ADS_ACCESS_TOKEN>' --env META_APP_SECRET='<META_APP_SECRET>' -- npx -y @mikusnuz/meta-ads-mcp

What are the best alternatives to Meta Ads?

The closest alternatives to Meta Ads are Google Ads + Meta Ads + SEO/GEO MCP, Calven, MCP, Red Center Studio free tools and ASOScan.

Alternatives to Meta Ads

  1. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  2. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  3. MCP

    MCP server

    MCP server for planning, scheduling and measuring social and ad campaigns with approvals

    • Remote
    • Freemium
    • Marketing and SEO
  4. Free website checks for AI readiness, DNS dependencies, domain health and Bubble errors

    • 5 tools
    • Remote
    • Free
    • Marketing and SEO
  5. ASOScan

    MCP server

    ASO data for your own iOS and Android apps: rankings, keywords, reviews, scores

    • Remote
    • Free trial
    • Marketing and SEO
  6. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO