adops-mcp
Provides unified campaign management for Facebook Ads (as part of Meta Ads), including listing campaigns, creating/updating campaigns, generating performance reports, and accessing Facebook Ads API data through platform connections.
Provides unified campaign management for Google Ads, including listing campaigns, creating/updating campaigns, generating performance reports, budget analysis, and accessing Google Ads API data through platform connections.
Provides unified campaign management for Meta Ads (Facebook Ads), including listing campaigns, creating/updating campaigns, generating performance reports, budget analysis, and accessing Meta Ads API data through platform connections.
AdOps MCP
AI-powered cross-platform ad management for the Model Context Protocol
Manage Google Ads and Meta Ads campaigns, analyze cross-platform performance, optimize budgets, and detect anomalies — all through AI assistants like Claude, Cursor, and VS Code.
Features
Unified campaign management for Google Ads and Meta Ads
14 MCP tools covering the full advertising lifecycle
4 MCP resources for quick dashboard access
Cross-platform performance reporting with normalized metrics
AI-powered budget optimization with actionable recommendations
Statistical anomaly detection (CPC spikes, CTR drops, spend surges)
A/B test analysis with confidence scoring
Industry benchmark comparison (9 verticals)
Spend and conversion forecasting (7/14/30 days)
Platform-specific creative specs reference
42 automated tests (unit + E2E user workflows), TypeScript strict mode, Zod validation
Quick Start
Install from npm
npm i adops-mcp-serverAdd to your MCP client
{
"mcpServers": {
"adops": {
"command": "node",
"args": ["path/to/node_modules/adops-mcp-server/dist/index.js"]
}
}
}Build from source
git clone https://github.com/enzoemir1/adops-mcp.git
cd adops-mcp
npm ci && npm run buildTools
Tool | Description |
| Register a Google Ads or Meta Ads account connection |
| List and filter campaigns across all connected platforms |
| Create a new campaign with unified parameters |
| Update campaign settings (budget, status, bidding, schedule) |
| Batch pause or resume up to 50 campaigns at once |
| Generate unified cross-platform performance report |
| Analyze budget allocation with optimization recommendations |
| Transfer budget between campaigns across platforms |
| Get demographic, geographic, and device breakdowns |
| Get platform-specific image, video, and text requirements |
| Detect performance anomalies with configurable sensitivity |
| Compare two campaigns with statistical significance testing |
| Compare your metrics against industry averages |
| Forecast spend, conversions, and ROAS for the next period |
Resources
Resource | Description |
| Cross-platform dashboard summary |
| All active campaigns with key metrics |
| Budget allocation across platforms |
| Recent performance anomalies and warnings |
Configuration
All integrations are optional. The server works without API keys using local storage for campaign management and analytics.
Variable | Platform | Required | Description |
| For live sync | API developer token | |
| For live sync | OAuth2 client ID | |
| For live sync | OAuth2 client secret | |
| For live sync | OAuth2 refresh token | |
| For live sync | Ad account ID (10 digits) | |
| Meta | For live sync | Facebook App ID |
| Meta | For live sync | Facebook App Secret |
| Meta | For live sync | System user access token |
| Meta | For live sync | Ad account ID (act_XXX) |
See .env.example for a complete template.
Unified Metrics
AdOps normalizes metrics across platforms into a single schema:
Metric | Formula | Description |
CTR | clicks / impressions x 100 | Click-through rate (%) |
CPC | spend / clicks | Cost per click |
CPM | spend / impressions x 1000 | Cost per 1000 impressions |
ROAS | revenue / spend | Return on ad spend |
CPA | spend / conversions | Cost per acquisition |
Conversion Rate | conversions / clicks x 100 | Conversion rate (%) |
Platform field mapping:
AdOps Field | Google Ads | Meta Ads |
|
|
|
|
|
|
|
|
|
|
|
|
Campaign > Ad Group | Ad Group | Ad Set |
Pricing
Tier | Price | Features |
Free | $0 | 1 platform, read-only reports, creative specs, 50 calls/day |
Pro | $29/mo | 2 platforms, full CRUD, anomaly detection, budget optimization |
Agency | $59/mo | Unlimited, forecasting, benchmarking, priority support |
Available on MCPize.
Development
npm run dev # Hot reload development
npm run build # Production build
npm test # Run 42 tests (unit + E2E)
npm run inspect # Open MCP InspectorTesting
42 tests across 5 test suites:
Storage: Connection CRUD, campaign search, metrics aggregation, batch inserts
Analytics: Metric calculations, performance reports, forecasting, benchmarks
Optimizer: Budget analysis, reallocation, scaling/pausing recommendations
Anomaly: CPC spike detection, conversion drops, sensitivity levels, severity sorting
E2E Workflow: 14 real user scenarios — connect platforms, create campaigns, generate reports, optimize budgets, run A/B tests, detect anomalies, forecast spend, benchmark vs industry
npm testLicense
MIT License. See LICENSE for details.
Built by Automatia BCN.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/enzoemir1/adops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server