meta-mcp
by brijr·★ 175·Score 50
A comprehensive MCP server that enables AI assistants to interact with Facebook/Instagram advertising data through the Meta Marketing API.
Overview
The meta-mcp server provides full campaign lifecycle management, analytics, audience targeting, and creative optimization capabilities for Meta advertising platforms. It implements the MCP protocol to expose 25 comprehensive tools for managing campaigns, ad sets, audiences, and creatives. The server includes robust features like OAuth 2.0 authentication, automatic rate limiting, pagination support, and comprehensive error handling. It supports both token-based and advanced OAuth authentication methods, with special considerations for appsecret_proof requirements.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you need to integrate Meta advertising management into AI workflows and want comprehensive campaign control through natural language.
When NOT to choose this
Avoid if you need to manage non-Meta advertising platforms or require functionality beyond campaign creation, analytics, and audience management.
Tools this server exposes
12 tools extracted from the READMEget_insightsGet detailed performance metrics for campaigns or ads
create_campaignCreate new advertising campaigns with full configuration
update_campaignModify existing campaigns (name, budget, status, etc.)
list_ad_setsList and filter ad sets within campaigns
create_ad_setCreate ad sets with detailed targeting, budgets, and optimization goals
create_custom_audienceCreate custom audiences from various sources
create_lookalike_audienceGenerate lookalike audiences from source audiences
get_token_infoToken validation and information retrieval
diagnose_campaign_readinessCheck campaign status and identify ad set creation issues
list_ad_creativesList all ad creatives for an account
health_checkComprehensive authentication and server status check
get_ad_accountsList accessible Meta ad accounts
Comparable tools
Installation
Installation
Option 1: Direct Installation (Recommended)
npm install -g meta-ads-mcpOption 2: From Source
git clone https://github.com/wipsoft/meta-mcp.git
cd meta-ads-mcp
npm install
npm run buildConfigure Claude Desktop
Create or edit your MCP config:
- **macOS**:
~/Library/Application Support/Claude/claude_desktop_config.json - **Windows**:
%APPDATA%\Claude\claude_desktop_config.json - **Linux**:
~/.config/Claude/claude_desktop_config.json
Minimal config:
{
"mcpServers": {
"meta-ads": {
"command": "npx",
"args": ["-y", "meta-ads-mcp"],
"env": {
"META_ACCESS_TOKEN": "your_access_token_here"
}
}
}
}FAQ
- What authentication methods are supported?
- The server supports both token-based authentication and OAuth 2.0. For token-based, you only need META_ACCESS_TOKEN. For OAuth, you also need META_APP_ID, META_APP_SECRET, and optional META_BUSINESS_ID.
- How do I test if the MCP server is working correctly?
- Run `npm run health-check` to verify your connection, or use the `health_check` tool directly through your MCP client. This will check authentication and server status.
Compare meta-mcp with
Last updated · Auto-generated from public README + GitHub signals.