Google Ads MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Optional log level. | |
| EMAIL_FROM | No | Sender address, e.g. Google Ads MCP <no-reply@agency.com>. | |
| DATABASE_URL | No | PostgreSQL connection string. Not needed for stdio; required for HTTP multi-tenant mode. | |
| METRICS_TOKEN | No | Bearer token for GET /metrics; unset means the endpoint is disabled (404). | |
| RESEND_API_KEY | No | Resend key; without it, verification/reset/invite emails are logged not sent. | |
| SESSION_TTL_MS | No | MCP session inactivity expiry (default 30m). | |
| WEB_APP_ORIGIN | No | Web app origin for CORS. | |
| BETTER_AUTH_URL | No | Public base URL, https in production, e.g. https://mcp.agency.com. Required for HTTP mode. | |
| SESSION_SWEEP_MS | No | MCP session sweep interval (default 60s). | |
| TRUST_PROXY_HOPS | No | Reverse-proxy hop count (default 1 = a single Caddy). | 1 |
| BETTER_AUTH_SECRET | No | At least 32 characters, e.g. from `openssl rand -base64 32`. Required for HTTP mode. | |
| EMAIL_VERIFICATION | No | `on`/`off`; defaults to on when a provider is configured. | |
| GOOGLE_ADS_MCP_ENV | No | Path to the .env file to load, ahead of ~/.config/google-ads-mcp/.env. | |
| MERCHANT_CENTER_ID | No | Optional Merchant Center id. | |
| GOOGLE_ADS_TOOLSETS | No | Comma-separated tool groups, or `all`. | core,reporting |
| GOOGLE_ADS_CLIENT_ID | No | Google Ads API OAuth client ID (also used for Google social login). | |
| TOKEN_ENCRYPTION_KEY | No | Base64 that decodes to exactly 32 bytes, e.g. from `openssl rand -base64 32`. Required for HTTP mode. | |
| GOOGLE_ADS_CLIENT_SECRET | No | Google Ads API OAuth client secret (also used for Google social login). | |
| GOOGLE_ADS_REFRESH_TOKEN | No | Single-operator Google Ads refresh token. Either this or DATABASE_URL must be set. | |
| GOOGLE_ADS_VALIDATE_ONLY | No | Global dry-run: all mutations run validate-only. | |
| GOOGLE_ADS_API_TIMEOUT_MS | No | Per-attempt timeout for Google Ads API calls. | 60000 |
| GOOGLE_ADS_API_MAX_RETRIES | No | Retries on transient 429/5xx/UNAVAILABLE/network failures. | 3 |
| GOOGLE_ADS_DEVELOPER_TOKEN | No | Google Ads API developer token. | |
| GOOGLE_ADS_DYNAMIC_TOOLSETS | No | Beta: register all groups disabled and expose `enable_toolset` (off by default). | |
| GOOGLE_ADS_MAX_RESULT_CHARS | No | Ceiling on a single tool result. | 100000 |
| GOOGLE_ADS_LOGIN_CUSTOMER_ID | No | Manager (MCC) id, with dashes stripped. | |
| TOKEN_ENCRYPTION_KEY_PREVIOUS | No | Comma-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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues