meta-ads-mcp
Manage Facebook and Instagram ad campaigns directly from Claude Code, enabling performance viewing, budget adjustments, and campaign control without opening Ads Manager.
README
Meta Ads MCP Server
Manage Facebook and Instagram ad campaigns directly from Claude Code. View performance, adjust budgets, and control campaigns without opening Ads Manager.
Tools
| Tool | Description |
|---|---|
list_campaigns |
List all campaigns with status and daily budget |
get_campaign_insights |
Daily metrics: reach, impressions, clicks, spend, CPA, ROAS |
list_adsets |
List ad sets within a campaign |
list_ads |
List ads within an ad set |
pause_campaign |
Pause an active campaign |
enable_campaign |
Reactivate a paused campaign |
update_adset_budget |
Change an ad set's daily budget |
get_account_summary |
Overall account performance summary |
Setup
1. Install
pip install meta-ads-mcp
2. Get Meta API Credentials
- Create an app at Meta for Developers
- Add the Marketing API product
- Generate a long-lived access token with
ads_managementandads_readpermissions
3. Configure Environment
export META_APP_ID="your-app-id"
export META_APP_SECRET="your-app-secret"
export META_ACCESS_TOKEN="your-long-lived-token"
export META_AD_ACCOUNT_ID="1234567890"
4. Add to Claude Code
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"meta-ads": {
"command": "meta-ads-mcp",
"env": {
"META_APP_ID": "your-app-id",
"META_APP_SECRET": "your-app-secret",
"META_ACCESS_TOKEN": "your-token",
"META_AD_ACCOUNT_ID": "1234567890"
}
}
}
}
Usage Examples
> Show me all active campaigns and how they're performing
> Which ad set is spending the most with the worst results?
> Pause campaign 12345, it's burning budget
> Give me a summary of last 7 days across the whole account
Pricing
- Free: Read-only access (view campaigns, metrics, insights)
- Pro ($15/mo): Full read/write (pause, enable, adjust budgets)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.