Skip to content
Sign inGet your key

MCP server

Meta ads from your agent.

One server, one key. Your agent draws ads from your store, checks them without spending, and sends the one you pick to Meta’s review when the daily budget is typed back.

Get your key
NBA concept ad. A dying 3 pm boardroom with a real shot clock bolted over the screen, reading 00:24.UNIQLO concept ad. A melting snowman wearing a thermal top.Utah Jazz concept ad. A brass trumpet half-buried in Wasatch powder at dawn.Xbox concept ad. An explosion frozen mid-air in a living room while a teenager walks to dinner.PacSun concept ad. A fitting room standing on the beach at sunset.Denver Nuggets concept ad. A visitors’ locker room with an oxygen tank on every stool.Brooklyn Nets concept ad. An old fisherman hauling a net of basketballs off Sheepshead Bay.NBA concept ad. A dying 3 pm boardroom with a real shot clock bolted over the screen, reading 00:24.UNIQLO concept ad. A melting snowman wearing a thermal top.Utah Jazz concept ad. A brass trumpet half-buried in Wasatch powder at dawn.Xbox concept ad. An explosion frozen mid-air in a living room while a teenager walks to dinner.PacSun concept ad. A fitting room standing on the beach at sunset.Denver Nuggets concept ad. A visitors’ locker room with an oxygen tank on every stool.Brooklyn Nets concept ad. An old fisherman hauling a net of basketballs off Sheepshead Bay.

Concepts by our creative team. Not commissioned by the brands shown.

Add it

One line, for the clients that take one. The key stays in an environment variable, GREENSET_KEY, or in your editor’s prompt.

Claude Code

terminal
claude mcp add --transport http greenset --scope user https://app.greenset.ai/mcp --header "Authorization: Bearer $GREENSET_KEY"

Codex

terminal
codex mcp add greenset --url https://app.greenset.ai/mcp --bearer-token-env-var GREENSET_KEY

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "greenset": {
      "url": "https://app.greenset.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${env:GREENSET_KEY}"
      }
    }
  }
}

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "greenset-key",
      "description": "Greenset API key",
      "password": true
    }
  ],
  "servers": {
    "greenset": {
      "type": "http",
      "url": "https://app.greenset.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${input:greenset-key}"
      }
    }
  }
}

What your agent gets

21 tools, one for each route of the REST API. A tool call is the same request: the same key check, scopes, rate limits, validation, audit row and spend cap. Nothing here can do what the API won’t.

ToolWhat it doesScopeMoves money
getOpenApiThis API's OpenAPI 3.1 documentnoneNo
getAccountSetup lamps, balance, caps and this keyreadNo
listStoresConnected storesreadNo
addStoreAdd a store by URLstoresNo
drawConceptsDraw up to six ads from a storestudioNo
getConceptOne conceptreadNo
getConceptImageA concept's rendered imagereadNo
listDraftsDrafts, newest firstreadNo
createDraftDraft an ad from a conceptdraftsNo
getDraftOne draft, with its planned the ad platform requestsreadNo
activateDraftStart a live draft spendingactivateYes
stopAllPause every live campaignstopNo
listCampaignsCampaigns with the ad platform's numbersreadNo
listEventsWhat the ad platform told Greenset, newest firstreadNo
getGuardrailsSpend cap, ROAS floor, CPA target and autonomyautopilotNo
tightenGuardrailsTighten guardrailsautopilotNo
listWebhooksWebhook endpointswebhooksNo
createWebhookAdd a webhook endpointwebhooksNo
deleteWebhookDelete a webhook endpointwebhooksNo
testWebhookSend a test event nowwebhooksNo
listWebhookDeliveriesAn endpoint's delivery logwebhooksNo

What it won’t do

A draft never spends. Activation needs the activate scope and the daily budget repeated back as confirm_budget_usd, and passes the same checks as the console: a hard daily cap (Meta can deliver up to 2.1× a daily budget in one day), the ad balance, live writes on.

The API can lower limits. Raising one needs a person in the console.

Greenset’s server or Meta’s

Meta’s server manages the ad account you already run: reporting, catalogs, ads you build from your own images. Greenset’s starts from a store link and draws the ads. Use whichever fits. The full comparison.

Questions

Is this Meta’s official MCP server?

No. Meta runs its own at mcp.facebook.com/ads (Meta’s docs). Greenset’s server is at app.greenset.ai/mcp. How the two differ.

What does it need?

A Greenset API key, made under Developers in the console. Once, in the console: your ad account, Facebook page, pixel and ad balance. greenset whoami shows what’s left.

Can an agent spend my money on its own?

A draft never spends. Starting one needs the activate scope on the key and the daily budget repeated back, and the same hard daily cap, balance and live-writes checks as the console. Leave activate off the key and it can’t start anything.

What does it cost?

The same as Greenset: $0 to start, $99 or $299 a month, + 2% of the money that pays for your ads.

Greenset is not affiliated with Meta. Ads go to Meta’s review, and Meta decides.

One key. Go green.

Get your key