AdButler MCP Server

AdButler MCP Server

Enables managing your entire AdButler advertising account from any AI assistant, exposing over 600 tools covering the full AdButler v2 API for display ads, video, targeting, reporting, programmatic, and more, plus pre-built workflow prompts.

Category
访问服务器

README

AdButler MCP Server

npm License: MIT

Manage your entire AdButler account from any AI assistant — Claude, ChatGPT, Cursor, Windsurf, Cline, and any other Model Context Protocol client.

This MCP server exposes the full AdButler v2 API — 600+ tools covering advertisers, campaigns, zones, creatives, placements, VAST video ads, programmatic / RTB, reporting, targeting, drafts, contracts, product catalogs, and more — plus 9 pre-built workflow prompts that walk an AI through common tasks like launching a campaign or setting up retail media.

What you can ask

"Create a new campaign for Pepsi targeting users in Canada with a $5,000 lifetime budget, and assign it to my Homepage Banner zone."

"Show me the top 10 underperforming ad items in the last 7 days by CTR."

"Set up a VAST 4.2 pre-roll campaign with a 30-second skippable creative and three companion banners."

"Walk me through creating a new programmatic deal."

"Audit my ad units — which zones have no active placements?"

The AI translates these into the right sequence of AdButler API calls, runs them, and shows you the result.

Install

You have two options. Most users want the hosted version — zero setup, just paste a URL.

Option A — Hosted (recommended)

Use AdButler's hosted MCP server. No install, no Node, no npm.

The hosted server speaks both modern Streamable HTTP (/mcp) and legacy SSE (/sse) transports. New clients should prefer Streamable HTTP; SSE remains for backward compatibility.

Client Configuration
Claude Desktop / Code Add an MCP server with URL https://mcp.adbutler.com/mcp (or /sse for older clients) and header Authorization: Bearer YOUR_ADBUTLER_API_KEY
Cursor Settings → Features → Model Context Protocol → Add server with the URL + auth header above
Any MCP client Streamable HTTP: https://mcp.adbutler.com/mcp  ·  SSE: https://mcp.adbutler.com/sse — pass your API key via Authorization: Bearer … or ?api_key=…

Option B — Local stdio (npm)

Run the server locally as a Node process. Useful if you want to keep your API key out of any external service or run against a self-hosted AdButler.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "adbutler": {
      "command": "npx",
      "args": ["-y", "@adbutler/mcp-server"],
      "env": {
        "ADBUTLER_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Code

claude mcp add adbutler --env ADBUTLER_API_KEY=your_api_key_here -- npx -y @adbutler/mcp-server

Cursor / Windsurf / Cline

Add to the client's MCP config:

{
  "mcpServers": {
    "adbutler": {
      "command": "npx",
      "args": ["-y", "@adbutler/mcp-server"],
      "env": { "ADBUTLER_API_KEY": "your_api_key_here" }
    }
  }
}

Get your AdButler API key

AdButler Dashboard → Settings → API Keys → create a new key. It's the same key the AdButler v2 REST API uses.

Authentication

The AdButler MCP works for both new and existing customers. What you see depends on whether you've already configured an API key.

Already an AdButler customer? (existing API key)

Use one of these:

Option 1 — set the API key in your client config (recommended for hosted)

Add an Authorization: Bearer YOUR_ADBUTLER_API_KEY header on the SSE connection. Examples:

  • Claude Desktop — edit claude_desktop_config.json → add headers: { "Authorization": "Bearer YOUR_API_KEY" } next to the SSE URL
  • Cursor — MCP server settings → Headers → add Authorization: Bearer YOUR_API_KEY
  • Any client — pass the header on the SSE GET to https://mcp.adbutler.com/sse

Reconnect — all 600+ tools become available immediately.

Option 2 — configure inside the chat (works in any MCP client)

If your client doesn't support custom headers, just connect to the hosted MCP without auth and you'll see four onboarding tools. Then in the chat say:

"Configure my AdButler API key: your_api_key_here"

Your AI will call the setup_api_key tool, validate the key against your account, and unlock all the AdButler tools. You may need to disconnect and reconnect to refresh your client's tool list after.

New to AdButler? (no account yet)

Connect to the hosted MCP without auth. The chat will guide you through a free trial signup using create_trial_account → check your email → verify_trial_email with the code. The API key is configured automatically.

Local stdio install

If you're running locally via npx, set ADBUTLER_API_KEY in the env block of your client's MCP config (see Option B above). The setup tools also work — and on local the key is remembered between sessions.

What's included

9 workflow prompts

Pre-built skill prompts that guide the AI through complete workflows end-to-end. Invoke them as MCP prompts (/launch-campaign etc.) from your client.

Prompt What it does
launch-campaign Walks an end-to-end campaign launch — advertiser → campaign → ad items → creatives → targeting → placements
retail-media-setup Sets up sponsored products / retail media for an e-commerce site
reporting Generates a custom report with the right dimensions and filters
vast-video Builds a VAST video ad with linear + companion creatives
programmatic Configures programmatic deals, bidders, and demand sources
targeting Builds geo / platform / data-key / list targets
contracts Creates IO contracts and assigns them to campaigns
channels Bundles zones into a channel and assigns campaigns
drafts Stages a complete campaign as drafts before going live

3 fallback meta-tools (search, describe, call)

When you need an endpoint that no specific tool wraps — or when the user asks about a field (e.g. "priority", "frequency cap") rather than a resource — three escape-hatch tools cover the gap:

Tool What it does
search_adbutler_api Keyword-search the full AdButler OpenAPI spec for matching endpoints
describe_adbutler_api Get the full schema (params, body, response) for one endpoint
call_adbutler_api Invoke any endpoint by method+path, with the session's auth applied automatically

These complement (don't replace) the specific tools below — the LLM continues to prefer specific tools when they obviously match.

600+ tools across the full AdButler API

Domain Tools Examples
Display ads 100+ list_advertisers, create_campaign, create_image_ad_item, create_native_ad_item, create_placement, create_schedule, create_campaign_assignment
VAST 2/3/4 video 156 vast_create_creative, vast_create_linear_media, vast_create_companion, vast_create_placement, vast_create_schedule, plus full VAST 4.2 sub-resource coverage
Zones & publishing 50+ create_zone, create_zone_catalog, create_zone_email, create_native_template, create_publisher, ORTB native assets
Targeting 37 create_geo_target, create_platform_target, create_data_key, create_data_list, create_postal_code_target
Reporting 39 get_display_report, get_vast_report, get_event_logs, custom report configs, scheduled reports
Programmatic / RTB 25 create_demand_source, create_demand_endpoint, create_bidder, create_pmp_deal
Product catalogs 20 create_product_db_catalog, bulk_upload_products, ad item ↔ catalog item linking
Drafts 48 Stage campaigns/ad items/placements/schedules as drafts; publish atomically
Contracts 43 Insertion orders, contract documents, signature requests, payments
Account & security 27 Users, roles, redirect domains, beacon signing keys, SFTP connections
Ad serving 2 serve_ad, live_website_preview

100% coverage of the AdButler v2 OpenAPI spec (604/604 endpoints).

Telemetry

The hosted server at mcp.adbutler.com collects usage analytics so we can understand which tools are popular, prioritize improvements, and diagnose failures. We capture, per tool call:

  • Tool name (e.g. list_zones, create_campaign) — never tool arguments
  • Account ID (derived once per session from /self)
  • API-key fingerprint (SHA-256, truncated to 16 hex chars) — identifies which key was used without storing the key itself
  • Transport (HTTP or SSE), MCP client name and version (e.g. Claude Desktop), call duration, success/error status
  • On errors: upstream HTTP status code, a categorical error class (e.g. forbidden, network), and the error message text (truncated to 1000 characters)

We never collect: tool arguments, response bodies, your raw API key, IP addresses, request bodies. The instrumentation only sees the tool name, timing, and (on failure) the error message produced by the MCP server or AdButler API.

Self-installed copies — npm package, stdio, your own deployment — collect zero data. The instrumentation only fires when the ANALYTICS_INGEST_URL environment variable is set, which is only true for the hosted endpoint at mcp.adbutler.com.

If you'd prefer to opt out of analytics on the hosted server, run your own copy via stdio or self-host the SSE/HTTP server.

Development

Local source for contributors:

git clone https://github.com/adbutler/mcp-server
cd mcp-server
npm install
npm run build
ADBUTLER_API_KEY=your_key node dist/index.js

Inspect with the official MCP inspector:

npx @modelcontextprotocol/inspector node dist/index.js

Resources

  • AdButler API documentation — https://api.adbutler.com/openapi.json
  • MCP Protocol — https://modelcontextprotocol.io
  • Hosted server status — https://mcp.adbutler.com/health
  • Issues / feature requests — https://github.com/adbutler/mcp-server/issues

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选