Skip to main content
Glama
byadsco

Meta Ads MCP Server

by byadsco

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port for the server3000
LOG_LEVELNoLogging level (debug, info, warn, error)info
SERVER_URLNoRequired for OAuth: the public URL of the server (e.g., https://your-host.com)
MCP_API_KEYNoAPI key for service-to-service access (bypasses OAuth)
META_APP_IDNoYour Meta App ID
OAUTH_SECRETNoSecret for OAuth flow (hex string)
META_APP_SECRETNoYour Meta App Secret
META_API_VERSIONNoMeta Graph API versionv22.0
META_ACCESS_TOKENNoMeta access token for stdio/single-tenant mode
AUTH_ALLOWED_EMAILSNoComma-separated list of allowed email addresses for OAuth
AUTH_ALLOWED_DOMAINSNoComma-separated list of allowed email domains for OAuth
FIRESTORE_PROJECT_IDNoGCP project ID for Firestore (required for OAuth persistence)
TOKEN_ENCRYPTION_KEYNo64-character hex string for AES-256-GCM encryption of Meta tokens
SESSION_COOKIE_SECRETNoSecret for signing session cookies (base64 or hex)
AUTH_ALLOWED_FB_USER_IDSNoComma-separated list of allowed Facebook user IDs for OAuth

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/byadsco/meta-ads-mcp'

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