Skip to main content
Glama
pramirez08

Meta Ads MCP Server

by pramirez08

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JWT_ISSUERNoOptional JWT issuer.
JWT_SECRETNoJWT secret used to sign and verify tokens. Either JWT_SECRET or JWT_JWKS_URL is required.
META_APP_IDYesYour Meta app ID.
JWT_AUDIENCENoOptional JWT audience.
JWT_JWKS_URLNoJWKS URL for JWT verification. Either JWT_SECRET or JWT_JWKS_URL is required.
APP_UI_USER_IDNoUser ID for the admin UI. Default: app_admin.app_admin
APP_UI_PASSWORDYesPassword for the built-in admin page at /app.
META_APP_SECRETYesYour Meta app secret.
META_OAUTH_SCOPESNoOAuth scopes for Meta. Default: ads_management,business_management.ads_management,business_management
META_REDIRECT_URINoOAuth redirect URI for Meta. Must match your public host, e.g., https://meta-mcp.gestalt.xyz/oauth/meta/callback.
APP_SESSION_SECRETNoOptional session secret for the admin UI.
META_GRAPH_VERSIONNoMeta Graph API version. Default: v25.0.v25.0
APP_UI_WORKSPACE_IDNoWorkspace ID for the admin UI. Default: workspace_admin.workspace_admin
META_TOKEN_ENCRYPTION_KEYYesKey used to encrypt stored Meta access tokens.
META_OAUTH_ALLOWED_RETURN_ORIGINSNoComma-separated list of allowed origins for post-OAuth browser redirects, e.g., https://your-ui.example.com,http://localhost:3000.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources