Description

Facebook Ads MCP Server provides programmatic access to Facebook's advertising platform through a Python-based interface. This implementation enables AI assistants to retrieve and analyze ad account data, campaign metrics, ad sets, creatives, and performance insights using the Facebook Graph API. The server requires a Facebook access token with appropriate permissions and exposes over 20 specialized tools for operations ranging from basic account listing to detailed performance analysis with customizable time ranges, breakdowns, and attribution settings. It's particularly valuable for marketers and analysts who need to monitor campaign performance, extract advertising insights, or manage Facebook ad objects through AI assistants.

Installation

git clone https://github.com/gomarble-ai/facebook-ads-mcp-server

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "facebook-ads": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}