Skip to main content
Glama
promobase

facebook-business-mcp

by promobase

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.

Related MCP server: mcp-meta-marketing

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

  1. 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
  2. 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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/promobase/facebook-business-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server