facebook-business-mcp
Provides tools for managing Facebook ad campaigns, ads, and related objects through the Facebook Business API, enabling programmatic advertising operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Facebook Business MCP Server
Unofficial MCP server implementation for Facebook Business API. You can use this with any clients/LLMs to manage your ad campaigns, ads, etc.
Features
Complete: implementation is wrapped on top of api specs & python sdk, for full typesafty.
MCP Compliant: Built with FastMCP for seamless integration with any MCP-compatible client or LLM.
Easy Setup: Simple configuration with environment variables and immediate connectivity to Facebook Business API.
Related MCP server: mcp-meta-marketing
Installation
Quick Start
You can run the server directly without installation using uvx:
uvx facebook-business-mcpLocal Installation
pip install facebook-business-mcpSetup
Set environment variables:
export FACEBOOK_APP_ID="your-app-id" export FACEBOOK_APP_SECRET="your-app-secret" export FACEBOOK_ACCESS_TOKEN="your-access-token" export FACEBOOK_AD_ACCOUNT_ID="your-ad-account-id" # optionalRun the server:
Using uvx (no installation needed):
uvx facebook-business-mcpOr if installed via pip:
facebook-business-mcpOr from source:
uv run main.py
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Meta Ads MCP server: run Facebook and Instagram campaigns, ad sets, ads and reports from AI.
Hosted Meta Ads MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Google Ads MCP server: run Search, Display, Demand Gen and PMax campaigns from AI.
LinkedIn Ads MCP server: run LinkedIn campaigns, ad groups, ads and reports from AI.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for AI agents to manage ad campaigns across Google, Meta, LinkedIn, Microsoft, Reddit, TikTok, and more21618 npm21MIT
- AlicenseAqualityDmaintenanceMCP server that wraps the Meta Marketing API (Graph API v25.0) as semantic tools for LLM agents.181MIT
- AlicenseAqualityDmaintenanceMCP server to manage Meta Ads (Facebook/Instagram) campaigns, ad sets, insights, and audiences from Claude Code using natural language.98 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Meta/Facebook Marketing API allowing you to view and manage ad accounts, campaigns, ad sets, ads, and creatives, as well as fetch insights and upload ad images.MIT