Skip to main content
Glama
johanveenstra65

Meta Ads MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JWT_ISSUERNoOptional expected JWT issuer.
JWT_SECRETNoSecret used to verify app-issued JWTs for MCP requests. Provide either JWT_SECRET or JWT_JWKS_URL.
META_APP_IDYesYour Meta developer app ID.
JWT_AUDIENCENoOptional expected JWT audience.
JWT_JWKS_URLNoJWKS URL used to verify app-issued JWTs for MCP requests. Provide either JWT_SECRET or JWT_JWKS_URL.
APP_UI_USER_IDNoOptional user ID used by the built-in admin UI.app_admin
APP_UI_PASSWORDYesPassword for the built-in admin page at /app.
META_APP_SECRETYesYour Meta developer app secret.
META_OAUTH_SCOPESNoOptional comma-separated Meta OAuth scopes.ads_management,business_management
META_REDIRECT_URINoOptional Meta OAuth redirect URI, e.g. https://<your-worker-host>/oauth/meta/callback.
APP_SESSION_SECRETNoOptional session secret for the built-in admin UI.
META_GRAPH_VERSIONNoOptional Meta Graph API version.v25.0
APP_UI_WORKSPACE_IDNoOptional workspace ID used by the built-in admin UI.workspace_admin
META_TOKEN_ENCRYPTION_KEYYesKey used to encrypt stored Meta access tokens.
META_OAUTH_ALLOWED_RETURN_ORIGINSNoOptional comma-separated list of origins allowed 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