Back to Home
Varnan-Tech icon

Meta-Ads-MCP_PixelPay

Verified Safe

by 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

Run Command
python src/server.py

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks1
Last Update2025-11-24

Tags

Meta AdsFacebook APIAI AssistantMarketing AutomationMCP Server