Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🎯 Marketing
  3. Openai Ads Mcp
Openai Ads Mcp logo
Health: ActiveRecent health check succeeded.Last checked 8/11/2026, 12:01:48 AM

Openai Ads Mcp

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository4 GitHub StarsTotal stargazers on GitHub for the source repository (4 stars).Visit Website

Read-only MCP server for the OpenAI Ads API: campaigns, ad groups, ads, and insights.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "openai-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hypd-ai/openai-ads-mcp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Tool Schemas (11) Directory Badge Claim listing Alternatives🎯 More in Marketing

Capabilities & Tool Schemas (11) ~168 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Openai Ads Mcp.

get_ad_account

Fetch the ad account for the configured key. Great as a connectivity check.

list_campaigns

List campaigns (objective, budget, country targeting).

get_campaign

Fetch a single campaign by ID.

list_ad_groups

List ad groups, optionally filtered by campaign.

get_ad_group

Fetch a single ad group by ID (bidding config, context hints).

list_ads

List ads, optionally filtered by ad group.

Documentation Overview

openai-ads-mcp

A Model Context Protocol (MCP) server for the OpenAI Ads (Advertiser) API. It lets MCP-compatible clients β€” Claude Desktop, Cursor, VS Code, and others β€” read your OpenAI Ads campaigns, ad groups, ads, and performance insights through natural language.

npm CI License: MIT Node MCP

Read-only. This first release only reads data β€” it never creates, edits, or pauses anything and never spends budget. Write actions are on the roadmap.

Unofficial. This is a community project and is not affiliated with or endorsed by OpenAI. See the disclaimer.


Overview

The OpenAI Ads API exposes an advertiser's account, campaigns, ad groups, ads, and reporting. This server wraps the read endpoints of that API as MCP tools so an AI assistant can answer questions like:

  • "Is my OpenAI Ads API key working? What account is it tied to?"
  • "List my active campaigns and their budgets."
  • "Show spend, clicks, and CTR for campaign cmp_123 over the last 30 days, by day."
  • "Which ads in ad group adg_456 are still pending review?"

Features

  • 11 read-only tools covering the account, campaigns, ad groups, ads, and insights at every level.
  • Faithful responses β€” the API's JSON is returned as-is, so nothing is lost in translation.
  • Clear errors β€” HTTP status and the API error body are surfaced to the model instead of being swallowed.
  • Micros-aware β€” every tool description explains the micros convention so the assistant can present human-readable currency.
  • Cursor pagination passthrough (limit, order, after, before).
  • Zero-install via npx β€” npx -y @hypd-ai/openai-ads-mcp, no clone or build.

Tools

ToolWhat it does
get_ad_accountFetch the ad account for the configured key. Great as a connectivity check.
list_campaignsList campaigns (objective, budget, country targeting).
get_campaignFetch a single campaign by ID.
list_ad_groupsList ad groups, optionally filtered by campaign.
get_ad_groupFetch a single ad group by ID (bidding config, context hints).
list_adsList ads, optionally filtered by ad group.
get_adFetch a single ad by ID (creative + review status).
get_account_insightsPerformance insights for the whole account.
get_campaign_insightsPerformance insights for one campaign.
get_ad_group_insightsPerformance insights for one ad group.
get_ad_insightsPerformance insights for one ad.

Insights tools accept since/until (YYYY-MM-DD) for the reporting window, plus time_granularity (daily/none), aggregation_level, fields, sort, filters, limit (1–10000), and after/before cursors.

Prerequisites

  • Node.js 20 or newer.
  • An OpenAI Ads API key. Create an Ads account at ads.openai.com (currently US-only), then issue a key from Settings β†’ ads.openai.com/settings. See the quickstart and authentication docs. Each key is scoped to a single ad account.

Installation & configuration

MCP clients launch the server as a subprocess and pass your API key via an environment variable.

Published on npm as @hypd-ai/openai-ads-mcp β€” npx fetches it for you, so there's nothing to clone or build. To run the latest unreleased main instead, replace @hypd-ai/openai-ads-mcp with github:HYPD-AI/openai-ads-mcp (its first launch builds from source β€” see Running from source).

Add the snippet for your client below.

Claude Desktop

Edit your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
config.json
{
  "mcpServers": {
    "openai-ads": {
      "command": "npx",
      "args": ["-y", "@hypd-ai/openai-ads-mcp"],
      "env": {
        "OPENAI_ADS_API_KEY": "your-openai-ads-api-key"
      }
    }
  }
}

Restart Claude Desktop, then ask: "Use the openai-ads tools to look up my ad account."

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

config.json
{
  "mcpServers": {
    "openai-ads": {
      "command": "npx",
      "args": ["-y", "@hypd-ai/openai-ads-mcp"],
      "env": {
        "OPENAI_ADS_API_KEY": "your-openai-ads-api-key"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json. VS Code can prompt for the key and store it as a secret via inputs:

config.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai_ads_api_key",
      "description": "OpenAI Ads API key",
      "password": true
    }
  ],
  "servers": {
    "openai-ads": {
      "command": "npx",
      "args": ["-y", "@hypd-ai/openai-ads-mcp"],
      "env": {
        "OPENAI_ADS_API_KEY": "${input:openai_ads_api_key}"
      }
    }
  }
}

Other MCP clients

Any client that speaks MCP over stdio works. Run npx -y @hypd-ai/openai-ads-mcp (or node /path/to/dist/index.js) with OPENAI_ADS_API_KEY set in the environment.

Configuration

VariableRequiredDefaultDescription
OPENAI_ADS_API_KEYYesβ€”Your OpenAI Ads API key, sent as a Bearer token.
OPENAI_ADS_BASE_URLNohttps://api.ads.openai.com/v1Override the API base URL (useful for testing or a proxy).

See .env.example.

A note on "micros"

Fields whose names end in _micros β€” for example a campaign's lifetime_spend_limit_micros or an ad group's max_bid_micros β€” are expressed in micros:

Code
1,000,000 micros = 1 unit of the account's currency   (e.g. $1.00 = 1,000,000 micros)

So a lifetime_spend_limit_micros of 25000000 is $25.00. Divide a _micros value by 1,000,000 to display a human amount, or multiply by 1,000,000 to convert the other way.

Insights metrics are not micros. Reporting values like spend, cpc, and cpm are already in the account's currency as decimals (e.g. spend: 42.75 means $42.75).

Read-only by design

This release registers only read (GET) tools β€” and each one is annotated with the MCP readOnlyHint, so well-behaved clients know it cannot mutate state. There is no tool here that can create, edit, pause, or delete anything, and nothing that can spend budget. Write actions will arrive as a deliberate, separately reviewed step (see Roadmap).

Running from source

bash
git clone https://github.com/hypd-ai/openai-ads-mcp.git
cd openai-ads-mcp
npm install
npm run build

Then point your MCP client at the built entry file:

config.json
{
  "mcpServers": {
    "openai-ads": {
      "command": "node",
      "args": ["/absolute/path/to/openai-ads-mcp/dist/index.js"],
      "env": {
        "OPENAI_ADS_API_KEY": "your-openai-ads-api-key"
      }
    }
  }
}

Try it with the MCP Inspector

bash
OPENAI_ADS_API_KEY=your-key npx @modelcontextprotocol/inspector node dist/index.js

Development

Terminal
npm install          # install dependencies
npm run dev          # rebuild on change (tsup --watch)
npm run typecheck    # tsc --noEmit
npm run lint         # eslint
npm run format       # prettier --write
npm test             # vitest
npm run build        # bundle to dist/

Project layout:

Code
src/
  index.ts        # bin entry: load config, build server, connect stdio
  server.ts       # buildServer(): McpServer + register all tools
  client.ts       # OpenAIAdsClient: auth, URL building, errors
  config.ts       # environment parsing & validation
  schemas.ts      # shared zod shapes (pagination, insights) + micros note
  tools/          # one file per resource (account, campaigns, ad-groups, ads, insights)
test/             # vitest specs (config, client, in-memory server)

How tools map to the API

All endpoints are under the base URL (default https://api.ads.openai.com/v1).

ToolMethodEndpoint
get_ad_accountGET/ad_account
list_campaignsGET/campaigns
get_campaignGET/campaigns/{campaign_id}
list_ad_groupsGET/ad_groups
get_ad_groupGET/ad_groups/{ad_group_id}
list_adsGET/ads
get_adGET/ads/{ad_id}
get_account_insightsGET/ad_account/insights
get_campaign_insightsGET/campaigns/{campaign_id}/insights
get_ad_group_insightsGET/ad_groups/{ad_group_id}/insights
get_ad_insightsGET/ads/{ad_id}/insights

Roadmap

  • ✍️ Write actions β€” create & update (via POST) campaigns, ad groups, and ads, plus the dedicated state transitions (POST .../activate, .../pause, .../archive). The HTTP client already supports POST; these will be gated behind an explicit opt-in, since they change delivery and spend.
  • πŸ–ΌοΈ Creative uploads β€” POST /upload (JSON image_url or multipart/form-data) to attach images to ad creatives.
  • 🌍 Campaign targeting β€” country include/exclude (targeting.locations.countries).
  • πŸ“ˆ Conversions API support.
  • 🌐 Remote/HTTP transport for hosted deployments.
  • πŸ“¦ Published npm release so npx -y openai-ads-mcp works out of the box.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md. In short: open an issue to discuss substantial changes, keep npm run lint && npm run typecheck && npm test green, and add tests for new behavior.

Disclaimer

This is an unofficial, community-built project. It is not affiliated with, endorsed by, or sponsored by OpenAI. "OpenAI" and related names and logos are trademarks of OpenAI. Your use of the OpenAI Ads API through this tool is subject to OpenAI's terms and policies. The tool is provided "as is", without warranty of any kind β€” see the license.

License

MIT Β© HYPD AI

Related MCP Servers

View all in Marketing View all alternatives
  • Meta Ads Mcp logoMeta Ads Mcp

    MCP server for Meta Marketing API v25.0 β€” 123 tools for Facebook & Instagram ad campaigns, audiences, creatives, insights, catalogs, and automated rules.

    🎯 Marketing1 views
    Compare vs Meta Ads Mcp β†’
  • Facebook Ads Mcp Server logoFacebook Ads Mcp Server

    MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.

    🎯 Marketing0 views
    Compare vs Facebook Ads Mcp Server β†’
  • Mcp Vk Ads logoMcp Vk Ads

    VK Ads (VK Π Π΅ΠΊΠ»Π°ΠΌΠ°) API β€” manage ad plans, ad groups, banners, and pull statistics. Read + write.

    🎯 Marketing3 views
    Compare vs Mcp Vk Ads β†’
  • Mcp logoMcp

    Deep linking, attribution, analytics, and campaign management for mobile apps with Grovs β€” an open-source, privacy-first alternative to Branch and AppsFlyer. 16 tools for creating links, tracking installs and revenue, and configuring app settings.

    🎯 Marketing2 views
    Compare vs Mcp β†’

Frequently Asked Questions about Openai Ads Mcp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "openai-ads-mcp": { "command": "npx", "args": ["-y", "openai-ads-mcp"] } }

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 PreviewOpenai Ads Mcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/openai-ads-mcp?style=directory)](https://allmcps.com/mcp/openai-ads-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/openai-ads-mcp"><img src="https://allmcps.com/api/badge/openai-ads-mcp?style=directory" alt="Openai Ads Mcp on AllMCPs" /></a>

Technical Specs & Signals

Category🎯Marketing
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
4/4 checks healthy over the last 11h
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars4
GitHub Star CountTotal stargazers on GitHub representing community popularity (4 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 3, 2026
52Quality signal: Good Β· 52/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🎯 Marketing β†’Best MCP servers for Marketing & SEO β†’Alternatives to Openai Ads Mcp β†’Install in Claude DesktopInstall in CursorInstall in VS Code