promobase/facebook-business-mcp
3.2
If you are the rightful owner of facebook-business-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Facebook Business MCP Server is an unofficial implementation designed to integrate with the Facebook Business API, allowing users to manage ad campaigns and ads through MCP-compatible clients or LLMs.
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.
Installation
Quick Start
You can run the server directly without installation using uvx
:
uvx facebook-business-mcp
Local Installation
pip install facebook-business-mcp
Setup
-
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" # optional
-
Run the server:
Using uvx (no installation needed):
uvx facebook-business-mcp
Or if installed via pip:
facebook-business-mcp
Or from source:
uv run main.py
License
MIT