Meta-Ads-MCP_PixelPay
Verified Safeby Varnan-Tech
Overview
Enables AI assistants to interact with the Meta Ads (Facebook/Instagram) Marketing API programmatically through natural language conversations for ad account, campaign, ad set, and ad management, analytics, and targeting.
Installation
python src/server.pyEnvironment Variables
- FB_APP_ID
- FB_APP_SECRET
- FB_REDIRECT_URI
- FB_OAUTH_ENABLED
- TOKEN_ENCRYPTION_KEY
- DATABASE_URL
Security Notes
The server operates locally, significantly reducing external attack surface. It employs encryption (Fernet) for storing access tokens in a local SQLite database, and the README clearly advises setting a strong `TOKEN_ENCRYPTION_KEY`. Input validation is present for API parameters (e.g., object IDs, campaign data). OAuth token revocation on Meta's servers is explicitly implemented. The CORS configuration uses `allow_origins='*'` in development, which is a minor risk but is properly conditioned on `is_production` for production deployments. No obvious 'eval', 'exec', or 'os.system' calls are used with untrusted input.
Similar Servers
xiaohongshu-mcp
Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.
ha-mcp
Provides AI agents with complete control over Home Assistant via REST and WebSocket APIs, offering a comprehensive suite of tools for smart home management, automation, and debugging.
mcp-discord
Enables AI assistants to interact with the Discord platform by providing a set of Discord-related functionalities via the Model Context Protocol (MCP).
metabase-mcp-server
Enables AI assistants to interact with and manage Metabase's analytics platform by providing comprehensive API access through a Model Context Protocol server.