mcp-registry/facebook-ads-mcp-server

    ==================
      
       /// MCP ///
      /// FAC ///
        
    ==================
        
    [server:online]
    [protocol:ready]

facebook-ads-mcp-server

by gomarble-ai

MCP (Model Context Protocol) server that exposes Meta/Facebook Ads data & management APIs through a local Python service.

106
20
Specialized

Installation

1. Clone the repository
git clone https://github.com/gomarble-ai/facebook-ads-mcp-server.git && cd facebook-ads-mcp-server
2. Create and activate a virtual environment (recommended)
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate
3. Install server dependencies
pip install -r requirements.txt
4. Configure required Facebook credentials
export FB_APP_ID="<your-app-id>" export FB_APP_SECRET="<your-app-secret>" export FB_ACCESS_TOKEN="<long-lived-access-token>" # Optional: other env vars such as PAGE_ID, AD_ACCOUNT_ID, etc.
5. Apply any database migrations (if the repo ships with a migrate script)
python manage.py migrate # or alembic upgrade head depending on the framework
6. Start the MCP server
python -m facebook_ads_mcp_server # or uvicorn main:app --host 0.0.0.0 --port 8000
7. Verify
curl http://localhost:8000/healthz # should return 200 OK

Documentation

License: MIT License
Updated 7/30/2025