Chatgpt Ads MCP Server logo

Chatgpt Ads MCP Server

by @getmcpads

Connects an MCP client to ChatGPT Ads for campaign, performance, conversion, feed, and optional write workflows.

Install Chatgpt Ads MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "getmcpads-chatgpt-ads-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/chatgpt-ads-mcp-server"
      ],
      "env": {
        "OPENAI_ADS_API_KEY": "YOUR_VALUE_HERE",
        "OPENAI_ADS_ACCOUNT_ID": "YOUR_VALUE_HERE",
        "OPENAI_ADS_ENABLE_WRITES": "YOUR_VALUE_HERE",
        "OPENAI_ADS_ENABLE_ACTIVATION": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @getmcpads/chatgpt-ads-mcp-server

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@getmcpads/chatgpt-ads-mcp-server connects an MCP client directly to the ChatGPT Ads API using an Advertiser API key. Its 30 read tools cover account structure, campaign performance, conversions, feeds, audiences, audit logs, and bulk jobs. Optional write tools are disabled by default and use preview-and-confirm flows before changes are applied. Reach for it when an agent needs to inspect or carefully prepare changes in a ChatGPT Ads account from a local stdio setup.

Use cases

  • Review campaign and ad performance
  • Inspect conversion tracking and attribution
  • Check product feed health and listings
  • Prepare campaign changes with confirmation
  • Audit account and advertising activity

Key features

  • 30 read tools for ChatGPT Ads accounts
  • Campaign, ad group, ad, and creative inspection
  • Performance and conversion reporting
  • Product feed and audience visibility
  • Preview-first optional write workflows
  • Bulk job and audit log status

Tools58

What Chatgpt Ads MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 13d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @getmcpads/chatgpt-ads-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.2kPackage downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed58Callable tools this server registers over MCP.

How Chatgpt Ads MCP Server works

What @getmcpads/chatgpt-ads-mcp-server does

@getmcpads/chatgpt-ads-mcp-server exposes a reviewed subset of the ChatGPT Ads API through MCP. The read-only surface contains 30 tools for inspecting an advertiser account, its campaigns, ad groups, ads, creatives, targeting locations, performance data, conversion configuration, product feeds, custom audiences, audit records, spend limits, and bulk-operation status.

The package also includes 28 write tools, but they are not registered unless explicitly enabled. This makes the default installation suitable for account inspection and reporting before allowing an agent to prepare or apply mutations.

How it works

The server runs locally as a Node.js process and communicates with an MCP client over stdio. Requests are sent directly to api.ads.openai.com; the server does not perform browser sign-in or write credentials to disk. Each request checks that the configured account ID matches the account associated with the Advertiser API key.

Read tools use pagination where the corresponding API resource supports it. Insights can be requested at account, campaign, ad group, or ad level, with an optional country, device, or platform breakdown. Additional tools expose conversion events and attribution data, product feed contents, creative metadata, landing-page crawl evidence, and audit history.

When writes are enabled, a call without confirmation returns a preview, the checked native state, and a confirmation token. The exact request must then be repeated with confirmation. The server rechecks state before applying the change, uses request IDs for creation idempotency, and records uncertain outcomes for later inspection with openai_ads_get_mutation.

Setup and configuration

A local source installation can be built with npm ci followed by npm run build; the client then runs the absolute path to dist/cli.js. The package can also be launched with npx -y @getmcpads/chatgpt-ads-mcp-server.

Configure these variables in the MCP client's environment:

  • OPENAI_ADS_API_KEY: an Advertiser API key created in Ads Manager, not an OpenAI Platform API key.
  • OPENAI_ADS_ACCOUNT_ID: the matching adacct_ account identifier.
  • OPENAI_ADS_ENABLE_WRITES: set to true to register write tools; it defaults to disabled.
  • OPENAI_ADS_ENABLE_ACTIVATION: set to true to permit activation and status changes to active; it requires writes to be enabled.

Node.js 22.23.4 or later on the 22 line, 24.22.1 or later on the 24 line, or 26.12.1 or later is required. npm run doctor checks configuration without contacting ChatGPT Ads. Calling openai_ads_get_account first verifies the account and key pairing.

Tools and capabilities

The read tools support workflows such as:

  • Reviewing campaign, ad group, and ad configuration, including budgets, schedules, bidding, targeting, creative metadata, and review status.
  • Measuring spend and performance with configurable attribution and one optional geographic, device, or platform breakdown.
  • Checking conversion settings, pixels, sampled events, and attributed conversion totals.
  • Inspecting product feeds, upload results, feed settings, filtered products, and custom audience state.
  • Searching location IDs, reading audit logs, checking spend windows, and tracking bulk API jobs.
  • Reading the pinned request schemas and account context before proposing a write.

Limitations and notes

Some ChatGPT Ads capabilities are account-dependent, including the limited-preview Bulk API and certain pixel or conversion-bidding features. The server exposes neither API key provisioning, billing changes, spend-limit changes, account administration, partner account creation, custom audience creation or membership uploads, lead-sync webhooks, nor SFTP credentials.

Campaign, ad group, and ad creations start paused. Activation can spend budget and is blocked unless explicitly allowed through configuration. Previews and mutation receipts are held in memory and are lost when the process restarts. Requests have a 30-second timeout, an 8 MiB response limit, and API rate limits can produce a RATE_LIMITED result without a retry.

Budget and bid values use integer micros, while feed prices use minor currency units. Use tools/list, openai_ads_get_write_schema, and the official ChatGPT Ads API reference for exact request fields and schemas.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chatgpt Ads MCP Server

@getmcpads/chatgpt-ads-mcp-server is an MCP server that connects an MCP client directly to the ChatGPT Ads API. Its main tools read account structure, campaigns, ads, performance, conversions, feeds, audiences, audit logs, and bulk jobs, while optional write tools prepare changes through confirmation-based previews.

Install it with `npx -y @getmcpads/chatgpt-ads-mcp-server`, or clone the source, run `npm ci`, and build it with `npm run build`. Configure the MCP client to launch the package or the absolute `dist/cli.js` path with the required environment variables.

Set `OPENAI_ADS_API_KEY` and `OPENAI_ADS_ACCOUNT_ID` to run the server against an account. `OPENAI_ADS_ENABLE_WRITES` enables optional write tools, and `OPENAI_ADS_ENABLE_ACTIVATION` additionally permits activation changes that may start delivery and spend budget.

Yes, it works with Cursor through a local stdio MCP configuration. The package also supports clients such as Claude Desktop and Claude Code; provide the command and account environment variables in the client's MCP server configuration.

No, writes are disabled by default. Set `OPENAI_ADS_ENABLE_WRITES=true` to register them, and each write uses a preview and confirmation token before application. Activation additionally requires `OPENAI_ADS_ENABLE_ACTIVATION=true`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChatgpt Ads MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/getmcpads-chatgpt-ads-mcp-server?style=directory)](https://allmcps.com/mcp/getmcpads-chatgpt-ads-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/getmcpads-chatgpt-ads-mcp-server"><img src="https://allmcps.com/api/badge/getmcpads-chatgpt-ads-mcp-server?style=directory" alt="Chatgpt Ads MCP Server on AllMCPs" /></a>