Skip to main content
Glama
Google Ads MCP

Google Ads MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoOptional log level.
EMAIL_FROMNoSender address, e.g. Google Ads MCP <no-reply@agency.com>.
DATABASE_URLNoPostgreSQL connection string. Not needed for stdio; required for HTTP multi-tenant mode.
METRICS_TOKENNoBearer token for GET /metrics; unset means the endpoint is disabled (404).
RESEND_API_KEYNoResend key; without it, verification/reset/invite emails are logged not sent.
SESSION_TTL_MSNoMCP session inactivity expiry (default 30m).
WEB_APP_ORIGINNoWeb app origin for CORS.
BETTER_AUTH_URLNoPublic base URL, https in production, e.g. https://mcp.agency.com. Required for HTTP mode.
SESSION_SWEEP_MSNoMCP session sweep interval (default 60s).
TRUST_PROXY_HOPSNoReverse-proxy hop count (default 1 = a single Caddy).1
BETTER_AUTH_SECRETNoAt least 32 characters, e.g. from `openssl rand -base64 32`. Required for HTTP mode.
EMAIL_VERIFICATIONNo`on`/`off`; defaults to on when a provider is configured.
GOOGLE_ADS_MCP_ENVNoPath to the .env file to load, ahead of ~/.config/google-ads-mcp/.env.
MERCHANT_CENTER_IDNoOptional Merchant Center id.
GOOGLE_ADS_TOOLSETSNoComma-separated tool groups, or `all`.core,reporting
GOOGLE_ADS_CLIENT_IDNoGoogle Ads API OAuth client ID (also used for Google social login).
TOKEN_ENCRYPTION_KEYNoBase64 that decodes to exactly 32 bytes, e.g. from `openssl rand -base64 32`. Required for HTTP mode.
GOOGLE_ADS_CLIENT_SECRETNoGoogle Ads API OAuth client secret (also used for Google social login).
GOOGLE_ADS_REFRESH_TOKENNoSingle-operator Google Ads refresh token. Either this or DATABASE_URL must be set.
GOOGLE_ADS_VALIDATE_ONLYNoGlobal dry-run: all mutations run validate-only.
GOOGLE_ADS_API_TIMEOUT_MSNoPer-attempt timeout for Google Ads API calls.60000
GOOGLE_ADS_API_MAX_RETRIESNoRetries on transient 429/5xx/UNAVAILABLE/network failures.3
GOOGLE_ADS_DEVELOPER_TOKENNoGoogle Ads API developer token.
GOOGLE_ADS_DYNAMIC_TOOLSETSNoBeta: register all groups disabled and expose `enable_toolset` (off by default).
GOOGLE_ADS_MAX_RESULT_CHARSNoCeiling on a single tool result.100000
GOOGLE_ADS_LOGIN_CUSTOMER_IDNoManager (MCC) id, with dashes stripped.
TOKEN_ENCRYPTION_KEY_PREVIOUSNoComma-separated old keys, decrypt-only, for key rotation.

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