meta-ads-mcp
by mikusnuz·★ 46·Score 47
MCP server for Meta Marketing API v25.0 with 135 tools for Facebook & Instagram ad campaign management.
Overview
This MCP server provides comprehensive access to Meta's advertising platform through 135 tools that cover the full advertising workflow from campaign creation to performance analysis. It supports all major advertising operations including campaign, ad set, and ad management, creative development, audience targeting, catalog management, and detailed reporting. The server exposes tools via MCP protocol with resources for ad account overview, campaigns summary, and spending data, plus helpful prompts for common advertising workflows.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you need comprehensive programmatic access to Meta's advertising platform for managing Facebook and Instagram ad campaigns through MCP tool calling.
When NOT to choose this
Avoid this if you need access to other advertising platforms besides Meta, or if you require offline ad management without an active connection to Meta's API.
Tools this server exposes
12 tools extracted from the READMEcreate_campaignCreate a new Facebook or Instagram ad campaign
get_campaign_insightsGet performance metrics for a specific ad campaign
create_creativeCreate a new ad creative with images, videos, or carousel format
create_custom_audienceCreate a custom audience from existing customers or website visitors
create_lookalike_audienceCreate a lookalike audience similar to an existing custom audience
search_ad_librarySearch Meta Ad Library for competitor ads
create_async_reportCreate an asynchronous report for large date ranges
create_ruleCreate automated rules to manage ad campaigns
upload_imageUpload an image to be used in Facebook or Instagram ads
create_catalogCreate a product catalog for dynamic product ads
send_conversion_eventSend server-side conversion events via the Conversions API
create_experimentCreate an A/B test experiment to compare ad performance
Comparable tools
Installation
Installation
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"meta-ads": {
"command": "npx",
"args": ["-y", "@mikusnuz/meta-ads-mcp"],
"env": {
"META_ADS_ACCESS_TOKEN": "your-access-token",
"META_AD_ACCOUNT_ID": "123456789",
"META_APP_ID": "your-app-id",
"META_APP_SECRET": "your-app-secret",
"META_BUSINESS_ID": "your-business-id",
"META_PIXEL_ID": "your-pixel-id"
}
}
}
}Environment Variables
| Variable | Required | Description | |---|---|---| | META_ADS_ACCESS_TOKEN | **Yes** | Meta Marketing API access token | | META_AD_ACCOUNT_ID | **Yes** | Ad account ID (numeric, without act_ prefix) | | META_APP_ID | Optional | App ID — required for token exchange/debug | | META_APP_SECRET | Optional | App secret — required for token exchange/debug | | META_BUSINESS_ID | Optional | Business Manager ID — required for business tools | | META_PIXEL_ID | Optional | Pixel ID — required for conversion tools |
FAQ
- What permissions are required for this MCP server?
- Your Meta access token needs permissions such as 'ads_management' for campaign operations, 'ads_read' for insights, 'business_management' for business tools, 'leads_retrieval' for lead data, 'catalog_management' for product catalogs, and 'pages_read_engagement' for lead forms.
- Can I create and manage Instagram ads with this server?
- Yes, this MCP server supports both Facebook and Instagram advertising through the Meta Marketing API, with tools for creating and managing Instagram ads, ad sets, campaigns, and creatives.
Compare meta-ads-mcp with
Last updated · Auto-generated from public README + GitHub signals.