Facebook Ads
MCP ServerFree** - MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.
Capabilities9 decomposed
mcp-native facebook ads api bridging with fastmcp framework
Medium confidenceImplements a FastMCP-based middleware layer that translates MCP tool requests into authenticated Facebook Graph API calls using the requests HTTP client. The server.py entry point handles JSON-RPC protocol communication over stdin/stdout, avoiding network port dependencies and enabling direct integration with MCP clients like Claude Desktop and Cursor IDE. Each of the 21 MCP tools maps to specific Graph API endpoints with automatic request/response serialization.
Uses FastMCP framework for native MCP protocol implementation with stdio-based communication, eliminating network port management and enabling seamless integration with Claude Desktop and Cursor IDE without custom protocol handling code
Simpler deployment than REST API wrappers because it avoids port configuration and network exposure, and more standardized than direct Graph API calls because it implements the MCP specification for cross-client compatibility
account-level facebook ads data aggregation and hierarchy traversal
Medium confidenceProvides 7 account-level MCP tools that aggregate data across the full Facebook Ads entity hierarchy (accounts → campaigns → ad sets → ads → insights). Tools query the Graph API with account ID as the root parameter and traverse child entities, returning paginated results with filtering and field selection. Implements the Facebook Ads object model where accounts contain campaigns, campaigns contain ad sets, and ad sets contain individual ads with associated creative and performance data.
Implements account-level aggregation across Facebook's full entity hierarchy (accounts → campaigns → ad sets → ads) with automatic pagination handling and field selection, exposing the complete advertising structure through a single account ID entry point
More comprehensive than single-entity tools because it provides account-wide visibility in one operation, and more efficient than making separate API calls for each entity type because pagination and hierarchy traversal are handled server-side
campaign and ad set creation with budget and targeting configuration
Medium confidenceExposes MCP tools for creating and updating Facebook Ads campaigns and ad sets with full parameter control over budget allocation, scheduling, targeting criteria, and optimization objectives. Tools construct Graph API POST requests with campaign/ad set objects, validating required fields (name, objective, budget_type) and optional targeting parameters (age, location, interests, custom audiences). Supports both daily and lifetime budgets, campaign scheduling with start/end dates, and objective selection (REACH, TRAFFIC, CONVERSIONS, etc.).
Provides full campaign and ad set creation with integrated budget allocation, scheduling, and targeting configuration in a single MCP tool call, abstracting away Graph API endpoint complexity and parameter validation
More complete than basic campaign creation because it includes targeting and budget configuration in one operation, and more flexible than Facebook Ads Manager templates because it accepts programmatic parameters for dynamic campaign generation
ad creative management with asset upload and variant creation
Medium confidenceExposes MCP tools for creating and managing ad creatives (images, videos, carousels) and ad variants within ad sets. Tools handle creative asset specification (image URLs, video URLs, or carousel card definitions), copy text, headlines, and call-to-action buttons. Supports creating multiple ad variants from a single ad set to enable A/B testing. Implements the Facebook Ads creative object model where creatives are associated with ads, and ads are associated with ad sets, enabling multi-variant campaign testing.
Integrates creative asset specification (images, videos, carousels) with ad variant creation in a single MCP tool, enabling programmatic A/B testing without separate asset management steps
More streamlined than manual Facebook Ads Manager because it creates multiple ad variants in one operation, and more flexible than template-based systems because it accepts dynamic creative parameters for each variant
performance insights and analytics retrieval with metric aggregation
Medium confidenceProvides MCP tools for querying Facebook Ads performance metrics (spend, impressions, clicks, conversions, ROAS, CPC, CTR) at account, campaign, ad set, and ad levels. Tools construct Graph API requests with date range parameters and metric field selectors, returning time-series or aggregated data. Implements Facebook's insights API with automatic metric calculation (e.g., CTR = clicks / impressions) and supports breakdowns by device, platform, and demographic. Data has 1-day latency from Facebook's reporting pipeline.
Aggregates Facebook Ads insights across entity hierarchy levels (account → campaign → ad set → ad) with automatic metric calculation and optional demographic/device breakdowns, abstracting away Graph API pagination and metric field complexity
More comprehensive than manual Facebook Ads Manager exports because it supports programmatic date ranges and metric selection, and more flexible than static reports because it enables dynamic queries for custom analysis windows
campaign status and budget management with real-time updates
Medium confidenceExposes MCP tools for updating campaign and ad set status (ACTIVE, PAUSED, DELETED) and budget parameters (daily_budget, lifetime_budget, budget_remaining) in real-time. Tools construct Graph API PATCH requests with status and budget fields, enabling immediate campaign pause/resume and budget adjustment without Facebook Ads Manager UI. Changes propagate to Facebook's system within seconds, affecting ad delivery immediately.
Enables real-time campaign status and budget updates through MCP tools with immediate Facebook Ads system propagation, allowing AI agents to implement reactive optimization rules without polling or manual intervention
Faster than Facebook Ads Manager UI because changes execute in seconds via API, and more flexible than scheduled rules because it enables dynamic decision-making based on real-time performance data
multi-deployment configuration with environment-based authentication
Medium confidenceSupports three distinct deployment paths (automated GoMarble setup, manual development configuration, Claude Desktop CLI installation) that converge to the same operational state with 21 MCP tools available. Authentication uses Meta access tokens passed via environment variables (FACEBOOK_ACCESS_TOKEN) or configuration files, with optional integration to GoMarble's token service for automated token refresh. The server.py entry point accepts command-line arguments for token and account ID, enabling flexible deployment across local development, Docker containers, and cloud environments.
Provides three distinct deployment paths (automated, manual, CLI-based) that all converge to identical MCP tool availability, enabling flexible deployment across development, containerized, and desktop environments without code changes
More flexible than single-deployment-method tools because it supports local development, Docker, and Claude Desktop without requiring different codebases, and simpler than manual API integration because authentication is environment-driven
audience targeting and custom audience integration
Medium confidenceProvides MCP tools for specifying and applying audience targeting parameters (age ranges, locations, interests, custom audiences, lookalike audiences) when creating ad sets. Tools accept targeting objects with demographic filters, geographic location codes, Facebook interest category IDs, and references to pre-existing custom audiences. Implements Facebook's targeting taxonomy with validation of location codes (country, region, city) and interest category IDs. Does not create audiences; only applies existing audience definitions to ad sets.
Integrates demographic, geographic, interest, and custom audience targeting into a single ad set creation tool with validation against Facebook's targeting taxonomy, enabling complex audience specification without separate targeting API calls
More comprehensive than basic demographic targeting because it combines interests, locations, and custom audiences in one operation, and more flexible than preset audience templates because it accepts programmatic targeting parameters
error handling and validation with graph api error translation
Medium confidenceImplements error handling that translates Facebook Graph API error responses into human-readable MCP error messages with actionable guidance. Validates required parameters before API calls (campaign name, budget amount, targeting parameters) and returns structured error objects with error codes, descriptions, and suggested remediation steps. Handles common failures: invalid account IDs, insufficient billing credits, invalid audience/interest IDs, permission scopes missing, and rate limiting.
Translates Facebook Graph API errors into structured, actionable MCP error responses with suggested remediation, enabling AI agents to interpret failures and retry with corrected parameters
More helpful than raw Graph API errors because it provides context and suggested fixes, and more reliable than generic error handling because it maps specific Facebook error codes to known issues
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Facebook Ads, ranked by overlap. Discovered automatically through the match graph.
Facebook Ads Library
** - Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
Meta Ads Remote MCP
** - Remote MCP server to interact with Meta Ads API - access, analyze, and manage Facebook, Instagram, and other Meta platforms advertising campaigns.
Fewsats
** - Enable AI Agents to purchase anything in a secure way using [Fewsats](https://fewsats.com)
Google Ads
** - MCP server acting as an interface to the Google Ads, enabling programmatic access to Google Ads data and management features.
Basecamp
** - Integration with Basecamp project management platform for managing projects, to-dos, card tables, documents, and team collaboration
linkedin-mcp-server
Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI assistant access to profiles, companies, jobs, and messages.
Best For
- ✓AI agent builders integrating Facebook Ads into Claude Desktop workflows
- ✓Teams building MCP-compatible advertising automation tools
- ✓Developers wanting standardized protocol access to Meta's advertising platform
- ✓Advertising managers auditing account structure and campaign organization
- ✓AI agents performing account-wide performance analysis and reporting
- ✓Automation tools that need to discover and iterate over all ads in an account
- ✓Advertising automation platforms building campaign creation workflows
- ✓AI agents that need to launch campaigns based on business rules or performance triggers
Known Limitations
- ⚠Requires valid Meta access token with appropriate Facebook Ads permissions scopes
- ⚠Communication limited to stdin/stdout — no concurrent request handling across multiple clients
- ⚠FastMCP framework version ≥1.6.0 required; older versions lack necessary MCP spec compliance
- ⚠Pagination required for accounts with >100 campaigns or ad sets; default limit is 25 results per request
- ⚠Account ID must be known in advance; no account discovery tool for users with multiple ad accounts
- ⚠Insights data has 1-day latency from Facebook; real-time performance data unavailable
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
** - MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.
Categories
Alternatives to Facebook Ads
Are you the builder of Facebook Ads?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →