MCP-Facebook
10
The Facebook Ads MCP Server facilitates interaction with the Facebook Marketing API through AI assistants, managing and analyzing ad campaigns, audiences, and ad sets. It provides AI-generated campaign prompts and offers comprehensive campaign insights.
Facebook Ads MCP Server
This project provides a Model Context Protocol (MCP) server designed to interact with the Facebook Marketing API, allowing AI assistants to manage and analyze Facebook ad campaigns, ad sets, audiences, etc.
Features
- Campaign Management: Create, read, update, delete campaigns.
- Audience Management: Create custom and lookalike audiences, list audiences.
- Ad Set Management: Basic implementation to create ad sets.
- Analytics: Campaign insights retrieval.
- AI Assistance: Generate campaign prompts based on templates.
Prerequisites
- Node.js (v18 or later) and npm
- A Facebook App with Marketing API access
- Facebook Ad Account ID and Access Token with permissions
Installation
- Clone the repository and navigate to the folder.
- Install dependencies using npm.
- Configure environment variables in a
.env
file.
Usage
- Build the server using npm commands.
- Run the server for MCP connections.
- Connect with an MCP Client for interaction.