You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

facebook-business-mcp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-business-mcp

unofficial MCP server implementation for Facebook Business API

0.0.9.dev2
pipPyPI
Maintainers
1
OpenPromo Logo
****

Python MCP Facebook API License: MIT Code style: pyright

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

FAQs

Did you know?

Socket

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.

Install

Related posts