Odel
AdButler

AdButler

@adbutlerCommunicationTypeScriptUpdated 1mo ago

Manage AdButler campaigns, zones, ad items, VAST, and reports from Claude, ChatGPT, and Cursor.

Server endpointStreamable HTTP

This is the third-party server itself — Odel doesn't run it. Hitting this URL directly talks straight to the upstream server with no auth or proxying. Connect through Odel to front it with managed auth.

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.

ClientConfiguration
Claude Desktop / CodeAdd an MCP server with URL https://mcp.adbutler.com/mcp (or /sse for older clients) and header Authorization: Bearer YOUR_ADBUTLER_API_KEY
CursorSettings → Features → Model Context Protocol → Add server with the URL + auth header above
Any MCP clientStreamable 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.

PromptWhat it does
launch-campaignWalks an end-to-end campaign launch — advertiser → campaign → ad items → creatives → targeting → placements
retail-media-setupSets up sponsored products / retail media for an e-commerce site
reportingGenerates a custom report with the right dimensions and filters
vast-videoBuilds a VAST video ad with linear + companion creatives
programmaticConfigures programmatic deals, bidders, and demand sources
targetingBuilds geo / platform / data-key / list targets
contractsCreates IO contracts and assigns them to campaigns
channelsBundles zones into a channel and assigns campaigns
draftsStages 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:

ToolWhat it does
search_adbutler_apiKeyword-search the full AdButler OpenAPI spec for matching endpoints
describe_adbutler_apiGet the full schema (params, body, response) for one endpoint
call_adbutler_apiInvoke 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

DomainToolsExamples
Display ads100+list_advertisers, create_campaign, create_image_ad_item, create_native_ad_item, create_placement, create_schedule, create_campaign_assignment
VAST 2/3/4 video156vast_create_creative, vast_create_linear_media, vast_create_companion, vast_create_placement, vast_create_schedule, plus full VAST 4.2 sub-resource coverage
Zones & publishing50+create_zone, create_zone_catalog, create_zone_email, create_native_template, create_publisher, ORTB native assets
Targeting37create_geo_target, create_platform_target, create_data_key, create_data_list, create_postal_code_target
Reporting39get_display_report, get_vast_report, get_event_logs, custom report configs, scheduled reports
Programmatic / RTB25create_demand_source, create_demand_endpoint, create_bidder, create_pmp_deal
Product catalogs20create_product_db_catalog, bulk_upload_products, ad item ↔ catalog item linking
Drafts48Stage campaigns/ad items/placements/schedules as drafts; publish atomically
Contracts43Insertion orders, contract documents, signature requests, payments
Account & security27Users, roles, redirect domains, beacon signing keys, SFTP connections
Ad serving2serve_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

License

MIT