Skip to main content

Connect Claude to Hero Marketer

You connect Claude to Hero Marketer with the server URL https://app.heromarketer.io/mcp. Claude then reads your ad accounts and runs AI jobs. If you allow it, Claude also changes your campaigns. The connection is free. The business must have credits.

Hero Marketer supports Claude only. Hero Marketer has not tested other AI apps, ChatGPT included.

Before you start​

  • Have credits in the business. A balance of zero blocks every Claude action. This is true for new users and for users who used up their credits. The 14-day trial of daily monitoring does not count. See Out of credits.
  • Have an ad account connected. Claude works on the ad accounts of your business. See Connect Google Ads.
  • Know the default. Every ad account starts on Read. Claude can read an account as soon as you connect. To stop this, set the account to Off first. See Control what Claude can do.

Connect Claude Desktop or claude.ai​

  1. In Hero Marketer, open Settings > Integrations > Claude. This page shows the server URL and the client ID. Each has a copy button.
  2. In Claude, open Settings, then Connectors.
  3. Click Add custom connector.
  4. Paste the server URL and the client ID.
  5. Leave the client secret blank.
  6. Sign in to Hero Marketer and allow access.

The client ID is 2aae4c66-6426-4f01-a495-983560286dd4.

Connect Claude Code​

Run this command in your terminal:

claude mcp add --transport http --client-id 2aae4c66-6426-4f01-a495-983560286dd4 --callback-port 8080 hero-marketer https://app.heromarketer.io/mcp

Then start Claude Code and run /mcp. Choose hero-marketer. Sign in to Hero Marketer in the browser window that opens.

Port 8080 must be free on your computer. The sign-in returns to that port.

Check that it works​

Ask Claude: "List my ad accounts in Hero Marketer." Claude lists each business and ad account. It shows the platform, currency and time zone. An account that shows access Off cannot be read.

Fix a connection problem​

  • "Claude access is off for this ad account." An owner or editor sets the account to Read or Read and change. See Control what Claude can do.
  • "This business has no Hero Marketer credits." Add credits in Hero Marketer under Settings > Billing. Then ask again. See Buy more credits.
  • A daily limit message. Each user can make 1,000 calls a day, 60 calls a minute and 4 at once. The daily limit resets the next day.
  • The sign-in does not finish in Claude Code. Check that port 8080 is free. Run the command again with the same port.

Stop Claude's access​

Set each ad account to Off in Settings > Integrations > Claude. Claude then cannot read or change that account. You can also remove the connector in Claude.

Next​