Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions content/changelog/hosted-mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: Connect Claude, ChatGPT and Cursor to Affitor
date: 2026-10-16
type: feature
audience: [brands, partners, developers]
surfaces: [mcp]
description: The hosted Affitor MCP server at mcp.affitor.com lets AI apps read your program or partner data after you sign in. No API key, read-only.
version: "Affitor MCP 0.1.2"
---

You can now connect Claude, ChatGPT, Cursor, Claude Code, Codex and other AI apps to Affitor with one URL, `https://mcp.affitor.com/mcp`, and ask about your program in plain words. You sign in with your Affitor account; there is no API key to copy.

## Add it to your AI app

```bash tab="Claude Code"
claude mcp add --transport http affitor https://mcp.affitor.com/mcp
```

```bash tab="Codex"
codex mcp add affitor --url https://mcp.affitor.com/mcp
```

```json tab="MCP config"
{ "mcpServers": { "affitor": { "url": "https://mcp.affitor.com/mcp" } } }
```

In Claude, add it as a custom connector; in ChatGPT, as a custom MCP server, with the same URL. Your browser opens affitor.com, where a brand picks one program and a partner connects their partner account. Then click **Allow**.

## What the app can read

- **Brands:** the program and its tracker snippet, partners, applications, commissions, a commission summary and billing.
- **Partners:** your programs, links, earnings, commissions and payouts. Bank and PayPal details are never included.

The connection is read-only: it cannot change data or move money. Remove it any time, in **All settings** › **Developers** › **AI agents** for brands or **Settings** › **Integrations** for partners, and it stops working at once.

```text tab="Agent prompt"
Use the Affitor tools. Who are my top partners by earned commission in the last 30 days?
```

The older `@affitor/mcp` stdio server, which tracks events with a program API key, is unchanged. See [Affitor MCP server](https://affitor.com/docs/api-reference/mcp) for every client, the tool list and the limits.
2 changes: 1 addition & 1 deletion content/changelog/mcp-write-tools-off.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ If your agent records sales or refunds, turn the tools on in the server's config
}
```

Agents that only read or track leads and clicks need no change. While you try it out, pass `testMode` on a sale: it records a test sale with no commission. See [MCP server](https://affitor.com/docs/api-reference/mcp) for the full setup.
Agents that only read or track leads and clicks need no change. While you try it out, pass `testMode` on a sale: it records a test sale with no commission. See [Legacy local server](https://affitor.com/docs/api-reference/mcp#legacy-local-server) for the setup.
4 changes: 2 additions & 2 deletions content/docs/api-reference/agent-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Agent Integration
description: How AI coding agents (Claude Code, Cursor, Copilot, and others) auto-install Affitor tracking using generated instruction files.
kind: guide
last_updated: 2026-10-12
last_updated: 2026-10-16
---

> **Beta** — The Affitor SDKs and CLI are in active development. The documented happy-path works; edge cases may change. Report issues on GitHub.
Expand Down Expand Up @@ -187,7 +187,7 @@ AGENTS.md instructs agents to follow these rules. They apply equally when you in

## Related

- [MCP Server](/docs/api-reference/mcp/) — let agents track events, fetch an integration plan, and self-verify via the `@affitor/mcp` Model Context Protocol server
- [MCP Server](/docs/api-reference/mcp/): connect Claude, ChatGPT, Cursor and other AI apps to your program at `https://mcp.affitor.com/mcp`, read-only
- [SDK Reference](/docs/api-reference/sdks/) — `@affitor/sdk` package for React and Next.js
- [Track Lead](/docs/api-reference/track-lead/) — full API contract for signup tracking
- [Track Sale](/docs/api-reference/track-sale/) — full API contract for sale/revenue tracking
Expand Down
Loading
Loading