Skip to main content
Glama
OpenAI Ads MCP Server

OpenAI Ads MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_ADS_HOMENoPer-user data folder. Also read for `.env`.~/.openai-ads-mcp
OPENAI_ADS_HOSTNoBind address for HTTP transports.127.0.0.1
OPENAI_ADS_PORTNoPort for HTTP transports.8000
OPENAI_ADS_API_KEYNoAds API key. Required if no key file is available. Prefer `openai-ads-mcp auth`, which writes the key file. This is an Ads API key, not an OpenAI platform key.
OPENAI_ADS_DRY_RUNNoSet to `true` to log writes without sending them.false
OPENAI_ADS_MAX_BIDNoOptional bid cap in the account currency; higher values need `confirm='APPLY'`.
OPENAI_ADS_TIMEOUTNoRequest timeout.
OPENAI_ADS_KEY_FILENoPath to the key file written by `auth`. Alternative to OPENAI_ADS_API_KEY.~/.openai-ads-mcp/secrets/openai-ads-key.json
OPENAI_ADS_AUDIT_LOGNoAudit log path.~/.openai-ads-mcp/logs/audit.jsonl
OPENAI_ADS_LOG_LEVELNoLog level.
OPENAI_ADS_PAGE_SIZENoList page size (1-500).
OPENAI_ADS_READ_ONLYNoSet to `true` to register only read-only tools.false
OPENAI_ADS_TRANSPORTNoTransport mode: `stdio`, `streamable-http`, or `sse` (deprecated).stdio
OPENAI_ADS_UPLOAD_DIRNoFolder that local images and customer lists may be uploaded from.
OPENAI_ADS_TOOL_GROUPSNoComma-separated groups to register (default all): account, spend_limits, campaigns, ad_groups, ads, status, files, audiences, conversions, reporting, feeds, bulk, leads, request. The meta tools are always on.
OPENAI_ADS_ALLOW_REMOTENoSet to `true` to let HTTP transports bind to a non-loopback host. There is no built-in auth: only use behind your own.false
OPENAI_ADS_AD_ACCOUNT_IDNoAccount to act on, for partner keys that reach several accounts.
OPENAI_ADS_BULK_THRESHOLDNoItems per call before `confirm='APPLY'` is needed.10
OPENAI_ADS_MAX_DAILY_BUDGETNoOptional cap in the account currency; higher values need `confirm='APPLY'`.
OPENAI_ADS_MAX_INCREASE_PCTNoBudget, bid and limit rise allowed without `confirm='APPLY'`.20
OPENAI_ADS_MAX_LIFETIME_BUDGETNoOptional lifetime budget cap in the account currency; higher values need `confirm='APPLY'`.
OPENAI_ADS_AUDIT_RETENTION_DAYSNoDays to keep audit log entries. `0` keeps them.30

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