
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
meta-ads-mcp
Advanced tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with Facebook/Instagram advertising data through the Meta Marketing API. This server provides full campaign lifecycle management, analytics, audience targeting, and creative optimization capabilities.
npm install -g meta-ads-mcp
git clone https://github.com/your-org/meta-ads-mcp.git
cd meta-ads-mcp
npm install
npm run build
ads_read
and ads_management
permissionsAdd to your claude_desktop_config.json
:
{
"mcpServers": {
"meta-ads": {
"command": "npx",
"args": ["-y", "meta-ads-mcp"],
"env": {
"META_ACCESS_TOKEN": "your_access_token_here"
}
}
}
}
The server will be available for use with Claude.
Create a new traffic campaign named "Holiday Sale 2024" with a $50 daily budget
List all active campaigns and show their performance for the last 7 days
Pause all campaigns with CPC above $2.00
Compare the performance of my top 3 campaigns over the last 30 days
Export campaign performance data for last quarter as CSV
Show me daily performance trends for campaign 123456 over the last 14 days
Create a lookalike audience based on my best customers targeting US users
Estimate the audience size for females aged 25-45 interested in fitness
Show me the health status of all my custom audiences
Create an ad creative with title "Summer Sale" and preview it for mobile feed
Set up an A/B test comparing different headlines for my campaign
The server provides rich contextual data through MCP resources:
meta://campaigns/{account_id}
- Campaign overviewmeta://insights/account/{account_id}
- Performance dashboardmeta://audiences/{account_id}
- Audience insightsmeta://audience-health/{account_id}
- Audience health report# Required
META_ACCESS_TOKEN=your_access_token_here
# Optional
META_APP_ID=your_app_id
META_APP_SECRET=your_app_secret
META_BUSINESS_ID=your_business_id
META_API_VERSION=v23.0
META_API_TIER=standard # or 'development'
See Configuration Guide for detailed setup options.
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Claude AI โโโโโบโ MCP Server โโโโโบโ Meta Marketing โ
โ โ โ โ โ API โ
โ - Natural โ โ - Authentication โ โ โ
โ Language โ โ - Rate Limiting โ โ - Campaigns โ
โ - Tool Calls โ โ - Error Handling โ โ - Analytics โ
โ - Resource โ โ - Data Transform โ โ - Audiences โ
โ Access โ โ - Pagination โ โ - Creatives โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
Run the test suite:
npm test
Test with example client:
npx tsx examples/client-example.ts
Health check:
# In Claude:
Check the health of the Meta Marketing API server
git checkout -b feature/new-feature
npm test
git clone https://github.com/your-org/meta-ads-mcp.git
cd meta-ads-mcp
npm install
npm run dev # Start in development mode
MIT License - see LICENSE for details.
Built with โค๏ธ for the AI-powered advertising future
FAQs
Model Context Protocol server for Meta Marketing API integration
The npm package meta-ads-mcp receives a total of 19 weekly downloads. As such, meta-ads-mcp popularity was classified as not popular.
We found that meta-ads-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.