Skip to Content

Set up with an AI agent, connect your program in one sign-in

What an AI tool can do with Affitor today: read your account over the hosted MCP server with one sign-in, or create a program and add tracking with the CLI.

View as Markdown

An AI app can read your Affitor account through the hosted MCP server, after one sign-in. A coding agent can create a program and add Affitor tracking to your site's code with the Affitor CLI.

MCP serverAffitor CLI
Best forAsking an AI app about your program, partners, commissions and billing, or about your earnings as a partnerA coding agent that adds tracking to your site's code
Sign-inYour Affitor account, in the browser. No API keynpx affitor login opens your browser; npx affitor init saves the program API key in .affitor/.env
What it can doRead-only: it cannot change data or move money. With a brand connection, get_program returns the tracker install snippet, where it goes and how to verify itCreate a program and write .affitor/AGENTS.md for your coding agent. npx affitor onboard fires a test click, lead and sale, and exits with an error until the integration is verified
ProgramsAll current and future programs, or up to 50 you select when you sign inOne program per API key: the new one npx affitor init creates, or one you already have when you pass its key with --api-key or AFFITOR_API_KEY
Start hereConnect your AI toolCLI quickstart

In the dashboard, Program settings › Tracking › With AI gives you a prompt that has your AI tool add tracking with your program API key; Connect your AI tool shows it.

Set up a coding agent gives Claude Code, Cursor or Codex Affitor's local tracking MCP server, which uses a program API key. It is separate from the hosted server: it does tracking, not reporting.

Share feedback

Tell us what is missing or unclear on “Set up with an AI agent, connect your program in one sign-in”.

Last updated Nov 7, 2026