Skip to main content
Glama
majar52

Meta Ads MCP Server

by majar52

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JWT_ISSUERNoExpected JWT issuer.
JWT_SECRETNoSecret used to sign and verify JWTs issued by your app.
META_APP_IDYesYour Meta app ID.
JWT_AUDIENCENoExpected JWT audience.
JWT_JWKS_URLNoJWKS URL used to verify JWTs issued by your app.
APP_UI_USER_IDNoUser ID used by the built-in admin UI.app_admin
APP_UI_PASSWORDYesAdmin password for the built-in admin UI at /app.
META_APP_SECRETYesYour Meta app secret.
META_OAUTH_SCOPESNoComma-separated OAuth scopes for Meta.ads_management,business_management
META_REDIRECT_URINoOAuth redirect URI for Meta. Must match your public host, e.g. https://<your-worker-host>/oauth/meta/callback.
APP_SESSION_SECRETNoSecret for signing admin UI session cookies.
META_GRAPH_VERSIONNoMeta Graph API version.v25.0
APP_UI_WORKSPACE_IDNoWorkspace 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_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