Skip to main content
Glama
cedricarlos07

meta-ads-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the HTTP server.3000
LOG_LEVELNoLogging level.info
SERVER_URLNoThe public HTTPS URL of the server, used for OAuth redirect URIs. Required when using Sign in with Meta.
APIFY_TOKENNoApify API token for the ads_library tools. Honored only in single-tenant mode.
MCP_API_KEYNoAPI key for service-to-service authentication. Set to enable API-key mode.
META_APP_IDNoThe numeric ID of your Meta app (Facebook Login product). Required for Sign in with Meta.
OAUTH_SECRETNoSecret used for the MCP OAuth provider. Required for Meta OAuth.
META_APP_SECRETNoThe secret of your Meta app. Required for Sign in with Meta.
META_API_VERSIONNoMeta Graph API version to use.v22.0
META_ACCESS_TOKENNoA Meta access token for single-tenant stdio mode. The only required value in stdio mode.
AUTH_ALLOWED_EMAILSNoComma-separated list of email addresses allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled.
AUTH_ALLOWED_DOMAINSNoComma-separated list of email domains allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled.
FIRESTORE_PROJECT_IDNoGoogle Cloud project ID for Firestore, used to persist tokens. Required for Meta OAuth deployments.
TOKEN_ENCRYPTION_KEYNo32-byte hex key used to encrypt Meta tokens at rest with AES-256-GCM. Required for Meta OAuth.
SESSION_COOKIE_SECRETNoSecret used to sign session cookies. Required for Meta OAuth.
AUTH_ALLOWED_FB_USER_IDSNoComma-separated list of Facebook user IDs allowed to sign in. At least one allowlist source is required when Meta OAuth is enabled.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cedricarlos07/meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server