Setup steps checked Nov 2026.

Your ad accounts, inside Claude Code

What you'll have at the end: Claude Code in your terminal answering from your Google Ads, Meta ads, TikTok ads, Reddit ads and X ads.

Install

Run this once:

claude mcp add --transport http openadmanager https://mcp.openadmanager.com/mcp --scope user

Then start Claude Code, type /mcp, choose oam, and choose Authenticate. Sign in to OpenAdManager and click Allow.

Use --scope user to make it available in every project, or --scope project to share it through .mcp.json.

Already added it on claude.ai?

A connector added on claude.ai already appears in Claude Code. Do not add it a second time.

Servers and scripts

claude -p cannot run the sign-in window. Sign in interactively once first. For headless machines, use a personal token in .mcp.json with ${OAM_TOKEN}, which Claude Code expands when it runs. Do not use the shell --header form: it stores the token in plain text in ~/.claude.json.

Check it worked

Use OpenAdManager: which of my campaigns spent the most in the last 7 days?

If something goes wrong

  • "Needs authentication". Run /mcp and authenticate again.
  • A fixed sign-in port is needed. Pass --callback-port when you add the server.
  • "Not done. ... is turned off in AI permissions". That is your switches working. Open the link in the message, or Add to your AI in the menu, and turn it on if you want it.

Using Claude on the web or phone? See Claude.

New sign-ups are closed right now.

Get notified