Datablow Logo
Datablow
Services
⚡ Server Side Tracking Setup 🔌 Custom MCP Tool Development 🗃️ Database Service
Products
📝 Blog ⚡ Scripts 🕷️ Apify Scrapers 🔗 Connectors 🔌 MCP Connectors
Tools
💬 WABlast WhatsApp Marketing & CRM ACTIVE
Support ✉
🔌 Model Context Protocol

AI Marketing MCP Connectors

Empower your LLM assistants (Claude, Cursor, Antigravity IDE) to query metrics, manage campaign configurations, and perform marketing operations directly from your command line using local secure MCP servers.

Capabilities

A Python-based MCP server wrapping the Meta Graph API. Exposes ad accounts, campaign parameters, adset budgets, creatives, and performance insights directly to your developer agent.

  • Creative Breakdown Reports: Fetch performance breakdown for specific image, copy, and video creatives.
  • Interactive Mutates: Build and launch complete campaigns (leads, conversions, traffic, awareness), budgets, adsets, and creatives.
  • Deep Placements Analytics: Compare conversion rates, impressions, and ROI between Facebook Feed, Instagram Stories, Reels, and Audience Network.
  • A/B Test Suite: Request automated statistical comparison between active A/B testing campaigns.

Installation & Setup

Step 1Clone Server Repository:
Terminal
git clone https://github.com/pralayasimha23/meta-ads-mcp-connector.git cd meta-ads-mcp-connector
Step 2Install Dependencies:
Terminal Command
python -m venv venv # Activate env and install source venv/bin/activate # (venv\Scripts\activate on Windows) pip install -r requirements.txt
Step 3Set Environment Variables:

Register the following environment values to establish a Graph API authentication hook:

.env Configuration
META_ADS_ACCESS_TOKEN=your_system_user_access_token_here META_ADS_AD_ACCOUNT_ID=act_your_default_ad_account_id_here META_APP_ID=your_meta_developer_app_id META_APP_SECRET=your_meta_developer_app_secret

Claude Desktop Configuration

Add this block inside the mcpServers section in your claude_desktop_config.json file:

JSON Config
{ "mcpServers": { "meta-ads": { "command": "/absolute/path/to/meta-ads-mcp-connector/venv/bin/python", "args": [ "/absolute/path/to/meta-ads-mcp-connector/server.py" ], "env": { "META_ADS_ACCESS_TOKEN": "YOUR_SYSTEM_USER_ACCESS_TOKEN", "META_ADS_AD_ACCOUNT_ID": "act_YOUR_DEFAULT_AD_ACCOUNT_ID", "META_APP_ID": "YOUR_APP_ID", "META_APP_SECRET": "YOUR_APP_SECRET" } } } }

Cursor IDE Registration

To configure within Cursor IDE:

  • 1 Navigate to Settings > Features > MCP in Cursor.
  • 2 Select + Add New MCP Server.
  • 3 Set Type to command, Name to meta-ads.
  • 4 Enter the command line below, replacing paths:
  • Cursor Command
    python /path/to/meta-ads-mcp-connector/server.py

    Antigravity Integration

    Easily register the Meta Ads MCP Server locally in your Antigravity user config schema directory:

    CLI Command
    python configure_local_mcp.py --server meta-ads

    Registered Tools Explorer

    Browse the complete API schemas and methods exposed to the AI model.

    🔍

    No matching tools found in this MCP connector.