Skip to main content
Glama
Khalidw48

Meta Ads MCP Server

by Khalidw48

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JWT_ISSUERNoOptional expected JWT issuer.
JWT_SECRETNoShared secret used to verify bearer JWTs issued by your app (required, unless JWT_JWKS_URL is used instead).
META_APP_IDNoYour Meta developer app ID.
JWT_AUDIENCENoOptional expected JWT audience.
JWT_JWKS_URLNoJWKS URL used to verify bearer JWTs issued by your app (required, unless JWT_SECRET is used instead).
APP_UI_USER_IDNoOptional user ID used by the built-in admin UI. Defaults to app_admin.app_admin
APP_UI_PASSWORDNoPassword for the built-in admin page at /app.
META_APP_SECRETNoYour Meta developer app secret.
META_OAUTH_SCOPESNoOptional comma-separated OAuth scopes. Defaults to ads_management,business_management.ads_management,business_management
META_REDIRECT_URINoOptional OAuth redirect URI, e.g. https://<your-worker-host>/oauth/meta/callback.
APP_SESSION_SECRETNoOptional secret used for admin app sessions.
META_GRAPH_VERSIONNoOptional Meta Graph API version. Defaults to v25.0.v25.0
APP_UI_WORKSPACE_IDNoOptional workspace ID used by the built-in admin UI. Defaults to workspace_admin.workspace_admin
META_TOKEN_ENCRYPTION_KEYNoKey used to encrypt stored Meta access tokens.
META_OAUTH_ALLOWED_RETURN_ORIGINSNoOptional comma-separated list of origins allowed for post-OAuth browser redirects.

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