Affise MCP server › Claude Code

Connect Affise to Claude Code

Claude Code talks to the hosted endpoint over HTTP. One command registers it; the OAuth flow runs in your browser the first time you use a tool.

https://mcp.affise.com/mcp
Auth: OAuth 2.0 browser sign-in Tools you get: 31, all read-only — 26 with a manager key, 14 with an affiliate key Time: about 2 minutes

Before you start

What you need

Claude Code installed (npm install -g @anthropic-ai/claude-code). An Affise account, plus two things the sign-in form asks for: your Affise API base URL (the https://api-yourcompany.affise.com form, not the dashboard address) and an API key from Settings ▸ API. The key sets which tools work — the admin tools need an admin or manager key, the payment tools a key with affiliate-billing access.

Setup

1

Add the server

In your project directory, run:
claude mcp add --transport http affise https://mcp.affise.com/mcp
Add --scope user to make it available in every project instead of just this one.
2

Authenticate

Start Claude Code and run /mcp. Select affise and choose Authenticate. Your browser opens the Affise sign-in; approve and return to the terminal.
3

Confirm the tools loaded

Run /mcp again — affise should read connected with 26 tools for a manager key, 14 for an affiliate key.
4

Ask something

Type “Using Affise, compare this month to last month by country.”

Check it worked

Run /mcp and confirm affise ✔ connected. If it reads failed, run claude mcp remove affise and add it again.

If something goes wrong

claude mcp add reports an unknown transport+
You are on an older Claude Code. Upgrade with npm install -g @anthropic-ai/claude-code@latest, then re-add.
Authentication opens but the terminal never updates+
Some terminal multiplexers swallow the callback. Run Claude Code in a plain terminal window for the first authentication; the token persists afterwards.
You want a token instead of OAuth+
For CI, use a static bearer token — see the other clients page.

Try these first

Once you are connected, these are good first questions. See more examples or the full tool reference.

  • Which offers grew fastest in DE last week compared to the week before?
  • Analyze partner 193 for August — where are they losing money?
  • Find finance offers accepting UK mobile traffic with a payout over $40.

Using a different assistant?