Affise MCP server › 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.
Before you start
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.
claude mcp add --transport http affise https://mcp.affise.com/mcpAdd
--scope user to make it available in every project instead of just this one./mcp. Select affise and choose Authenticate. Your browser opens the Affise sign-in; approve and return to the terminal./mcp again — affise should read connected with 26 tools for a manager key, 14 for an affiliate key.Run /mcp and confirm affise ✔ connected. If it reads failed, run claude mcp remove affise and add it again.
claude mcp add reports an unknown transport+npm install -g @anthropic-ai/claude-code@latest, then re-add.Once you are connected, these are good first questions. See more examples or the full tool reference.