Self-hosted MCP server providing secure, multi-tenant access to Meta Marketing API for managing Facebook and Instagram Ads via AI agents, with OAuth, encrypted tokens, and compliance features.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
process.env. You'll be asked to provide them before it can run.AUTH_ALLOWED_DOMAINS— 4. Configure the allowlist: at least one of AUTH_ALLOWED_EMAILS, , AUTH_ALLOWED_FB_USER_IDS must be set when Meta OAuth is enabled — otherwise startup fails.AUTH_ALLOWED_EMAILS— you@x.com # at least one allowlist source requiredAUTH_ALLOWED_FB_USER_IDS— 4. Configure the allowlist: at least one of AUTH_ALLOWED_EMAILS, AUTH_ALLOWED_DOMAINS, must be set when Meta OAuth is enabled — otherwise startup fails.CORS_ALLOWED_ORIGINSDRY_RUNFIRESTORE_EMULATOR_HOST— export =localhost:8085FIRESTORE_PROJECT_ID— my-gcp-projectGOOGLE_CLOUD_PROJECTLOG_LEVEL— ${LOG_LEVEL:-info}MCP_API_KEY— API key (service-to-service) =... Server-to-server clients pass X-API-Key and X-Meta-Token headers; bypasses the human OAuth flow.META_ACCESS_TOKEN— EAA... # the only required value in stdio modeMETA_API_VERSION— ${META_API_VERSION:-v22.0}META_APP_ID— ... # your Meta appMETA_APP_SECRET— ${META_APP_SECRET:-}META_OAUTH_REDIRECT_URI— ${META_OAUTH_REDIRECT_URI:-}META_TOKENS— ${META_TOKENS:-}NEW_KEYOAUTH_SECRET— $(openssl rand -hex 32)OLD_KEYPORTPROJECT_IDSERVER_URL— In Facebook Login → Settings, set the Valid OAuth Redirect URI to <>/auth/meta/callback.SESSION_COOKIE_SECRET— $(openssl rand -base64 32)TOKEN_ENCRYPTION_KEY— $(openssl rand -hex 32)[](https://m8ven.ai/mcp/byadsco-meta-ads-mcp-gt9hr9)