Skip to main content
Glama
Komarov5109

Meta Ads MCP Server

by Komarov5109

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_DBNoCloudflare D1 database binding named META_DB.
JWT_ISSUERNoOptional expected JWT issuer.
JWT_SECRETNoShared secret used to verify app-issued JWTs sent as bearer tokens to the MCP endpoint. 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 sent as bearer tokens to the MCP endpoint. Provide either JWT_SECRET or JWT_JWKS_URL.
APP_UI_USER_IDNoUser 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_STATENoCloudflare KV namespace binding named META_OAUTH_STATE.
META_OAUTH_SCOPESNoComma-separated Meta OAuth scopes.ads_management,business_management
META_REDIRECT_URINoPublic OAuth callback URI, e.g. https://<your-worker-host>/oauth/meta/callback.
APP_SESSION_SECRETNoOptional secret used for the built-in admin UI session.
META_GRAPH_VERSIONNoMeta Graph API version to use.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