Skip to main content
Glama
brijr

Meta Marketing API MCP Server

by brijr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
META_APP_IDNoYour Meta App ID (Required for OAuth/Token refresh).
META_API_TIERNoAPI tier: 'development' or 'standard'.
META_MCP_DEBUGNoEnable verbose MetaApiClient debug logs (set to 1).
META_APP_SECRETNoYour Meta App Secret (Required if your app uses appsecret_proof or for OAuth).
META_API_VERSIONNoThe Meta Graph API version to use.v23.0
META_BUSINESS_IDNoYour Meta Business ID for business-specific operations.
META_ACCESS_TOKENYesYour Meta Marketing API access token with ads_read and ads_management permissions.
META_AUTO_REFRESHNoEnable automatic token refresh (true/false).
META_REFRESH_TOKENNoRefresh token used for automatic token refresh.
META_MCP_REQUEST_TIMEOUT_MSNoRequest timeout in milliseconds (0 to disable).30000

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

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