Skip to main content
Glama
danielgtmn

OpenAI Ads MCP server

by danielgtmn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address.0.0.0.0
PORTNoListen port.8000
LOG_LEVELNoDEBUG, INFO, WARNING, ERROR, or CRITICAL. HTTP client header logs stay off.INFO
ADS_MAX_PAGESNoMaximum pages followed when fetch_all is true.25
MCP_READ_ONLYNoWrite tools are registered only when this is false. Any other or missing value is read-only.true
MCP_AUTH_TOKENYesBearer token required on /mcp. Never logged.
ADS_MAX_RETRIESNoExtra attempts after HTTP 429.5
OPENAI_ADS_API_KEYYesAds API bearer token. Never logged.
OPENAI_ADS_BASE_URLNoAdvertiser API origin. Override only for tests.https://api.ads.openai.com/v1
ADS_GLOBAL_RATE_LIMITNoRequests per minute across endpoints, per process.1200
ADS_RETRY_MAX_SECONDSNoCap for a single retry wait.30
ADS_RETRY_BASE_SECONDSNoExponential backoff base when Retry-After is absent.1
ADS_ENDPOINT_RATE_LIMITNoRequests per minute for one endpoint, per process.600
ADS_RATE_WINDOW_SECONDSNoWindow for those limits.60
ADS_REQUEST_TIMEOUT_SECONDSNoHTTP timeout.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