Immediate Value
After this tutorial, your AI tool of choice — Claude (Desktop, Web, or Claude Code), ChatGPT, Microsoft Copilot, Notion, Gemini CLI, or another MCP-compatible client — will be able to query your Affinity data directly. You’ll be able to ask questions like “What deals are in stage X?”, “Summarize my last interactions with this person”, or “Who at our firm has the warmest relationship with Company Y?” without leaving the AI tool.Prerequisites
- You’ve completed at least the basics of Tier 1 (Lists, Profiles, Search).
- Your workspace is on a Scale, Advanced, or Enterprise plan. Check Settings → Billing if you’re unsure.
- You have an AI tool that supports the Model Context Protocol (MCP): Claude (Desktop, Web, or Claude Code), ChatGPT, Microsoft Copilot, Notion (Custom Agents), Gemini CLI, or any other MCP-compatible client.
Quick-Start Roadmap
- Understand what Affinity MCP is (in plain language)
- Check your plan and whether your client is switched on
- (Admin) Control which clients can connect to MCP
- Generate an Affinity API key (for clients that need one)
- Connect your AI client — Claude, ChatGPT, Copilot, Notion, Gemini, or others
- Run your first query
- Try the capability areas
- Run a prepackaged skill
- Audit and revoke unused access
- Go deeper with the dev docs
Why MCP Matters
Most of your work happens in your AI tool now — chat windows, research, drafting. The friction is that the AI doesn’t know your CRM data, so you spend time copy-pasting context back and forth. MCP closes that loop: your AI tool can read directly from Affinity, answer questions against live CRM data, and surface relationship intelligence in the conversation you’re already having. This isn’t “AI inside Affinity” — it’s the other direction. You use whichever AI tool you prefer, and Affinity becomes one of the data sources it can reach.See Affinity AI chat overview for context on how MCP fits alongside Affinity’s other AI features.
Task 1: Understand What Affinity MCP Is
Context
MCP stands for Model Context Protocol — a standard way for AI assistants to securely connect to data sources like CRMs, calendars, and document stores. Affinity exposes an MCP server, which means any MCP-compatible AI client can query your Affinity data using your permissions. What this isn’t: it’s not a chatbot bolted onto Affinity. It’s a connection your existing AI tool can make. What it enables:- Ask pipeline questions in Claude Desktop and get current numbers
- Summarize a profile’s interaction history in your AI flow
- Find warm intro paths to a company without leaving your AI tool
- Create companies, people, and opportunities; update fields; add, edit, and delete notes; set reminders; log a call; delete or merge records you no longer need — all conversationally
- Read a pitch deck already on a record, or save a file your AI generated back onto the company
Expected Outcome
You understand the model: Affinity is the data source, your AI tool is the interface.📚 Help Center
Task 2: Check Your Plan and Whether Your Client Is On
Context
Two things decide whether you can connect: your Affinity plan, and whether your admin has left your AI client switched on. There’s nothing to enable for yourself — you connect from inside your AI tool.Action
- Check your plan: go to Settings → Billing. MCP is available on Scale, Advanced, and Enterprise plans. If you’re on a different plan, contact your account manager.
- Check your client is allowed: MCP is on by default for Claude, ChatGPT, and Notion. An admin can switch any OAuth client off for the whole organization. If your connection is refused, ask your admin (see Task 3).
- Check your AI tool’s own requirements: some clients need their own workspace admin to allow custom connectors first — for example, Claude Team or Enterprise, and Notion Business or Enterprise.
Where setup happens. You connect inside your AI client (Task 5). Settings → Affinity MCP in Affinity is the admin page for controlling which clients the organization allows — it isn’t where you connect.
Expected Outcome
You know whether you can connect straight away, or need your admin first.Task 3: (Admin) Control Which Clients and Roles Can Use MCP
Admin only. Skip this task if you’re not configuring access for others. End-users go to Task 4.
Context
MCP is on by default for Claude, ChatGPT, and Notion. Admins decide which clients stay available to the organization.Action
- Go to Settings → Affinity MCP and turn each OAuth client on or off for your organization. Turning a client off disconnects everyone in your organization who connected it through OAuth. The setting only affects OAuth connections; users can still connect a client manually with an API key.
- Enterprise only: to choose which roles can change these settings, go to Settings → Users & Permissions → Roles and set the Manage MCP Agents permission (Enterprise Admins and Admins have it by default). This permission doesn’t limit who can use MCP.
- If you want a connection to be read-only, tell users to uncheck the write scope when they authorize an OAuth client. That blocks every create, update, and delete call for that connection. Some clients, such as Claude, also let you switch off individual write, delete, and merge tools — for example, switch off only the delete tools to allow edits but not deletion.
Expected Outcome
Only the clients — and, on Enterprise, the roles — you intend can connect to Affinity.📚 Help Center
Task 4: Generate Your Affinity API Key
Context
Some AI clients (Copilot, Gemini, Notion Bearer mode, and most “other” MCP clients) authenticate to Affinity using an API key. OAuth-only clients (Claude, ChatGPT, Notion OAuth) handle auth automatically inside their own app — if you’re using one of those, skip ahead to Task 5.Action
- Go to Settings → Manage Apps.
- Click + New App (if a menu opens, choose API Key).
- Give it a name and description you’ll recognize when auditing later — for example,
MCP: Gemini CLI and Copilot. - Copy the key immediately — Affinity shows it once and cannot retrieve it again.
- Store it in your password manager or your team’s secrets vault.
Expected Outcome
You have an Affinity API key ready to paste into your AI client’s MCP configuration.📚 Help Center
Task 5: Connect Your AI Client
Context
Different AI clients have slightly different setup flows. Pick yours below.Claude (Desktop, Web, Claude Code)
Claude (Desktop, Web, Claude Code)
Auth: OAuth (no API key needed).Claude Desktop or Web: Affinity is now in Claude’s connector directory — no manual URL needed.
- In Claude, open Settings → Connectors.
- Search for “Affinity” and click “Add” (on Team or Enterprise, a workspace Owner clicks “Add to your team” first).
- Click “Connect” and complete the OAuth flow in your browser.
claude mcp add --transport http affinity-mcp https://mcp.affinity.co/mcp, then open Claude Code and run /mcp, press Enter on the affinity-mcp entry, and authorize via browser.Full guide: developer.affinity.co/pages/mcp/claudeChatGPT
ChatGPT
Auth: OAuth (no API key needed). Works on the Free plan and up — no developer mode or special setup.
- Open ChatGPT and click “Plugins” in the left sidebar (ChatGPT renamed Apps to Plugins in July 2026).
- Search for “Affinity” and select it.
- Click “Connect”, then “Sign in with Affinity” to start the OAuth flow.
- Click “Start chat” to begin using Affinity in ChatGPT.
Copilot (Studio, CLI, VS Code)
Copilot (Studio, CLI, VS Code)
Auth: API key (generate in Task 4). Requires an active GitHub Copilot subscription for CLI and VS Code variants.Open Copilot’s MCP configuration:Full guide: developer.affinity.co/pages/mcp/copilot
- Studio: Tools page → “Add a tool” → “New tool” → “Model Context Protocol”
- CLI: Run
/mcp add - VS Code: Command Palette → “MCP: Add Server”
- Server name:
affinity-mcp - Server URL:
https://mcp.affinity.co/mcp - Authentication type: API key (Header)
- Header name:
Authorization - API key value:
Bearer your_api_key_here
Copilot chat on github.com, copilot.com, and the Copilot mobile apps don’t yet support remote MCP servers.
Notion (Custom Agents)
Notion (Custom Agents)
Auth: OAuth (automatic) or Bearer token (API key from Task 4). Requires Notion Business or Enterprise plan, plus your workspace Owner has to enable custom MCP servers in Settings → Notion AI → AI Connectors.Once that’s enabled, end-user setup:
- In Notion’s left sidebar, find the “Agents” section and click “New Agent”.
- Click “Create blank” in the top right.
- In the Tools and access section, click “Add connection”, then “Add custom MCP”.
- Configure:
- MCP server URL:
https://mcp.affinity.co/mcp - Name:
Affinity - Authentication: OAuth (automatic) or Bearer token (paste your API key)
- MCP server URL:
- Click “Connect”, then “Save” in the top right.
Gemini CLI
Gemini CLI
Auth: API key (generate in Task 4). Gemini web and mobile do not currently support MCP — CLI only.Open your terminal and run, substituting your API key:Test by asking Gemini CLI a query against Affinity.Full guide: developer.affinity.co/pages/mcp/gemini
Other MCP clients
Other MCP clients
Any MCP-compatible client supporting custom headers can connect to Affinity. You’ll need:
- Server URL:
https://mcp.affinity.co/mcp - Authentication:
Authorization: Bearer your_api_key_here(use the API key from Task 4)
Expected Outcome
Your AI client is connected to Affinity and can see Affinity-specific tools in its tool list.Task 6: Run Your First Query
Context
The best way to confirm the connection works is to ask a simple question that requires CRM data.Action
Try one of these starter prompts in your AI client:- “What are the open deals in my pipeline?”
- “Find the person profile for [name] and summarize our last 5 interactions.”
- “Which companies on my deals list have we not contacted in the last 90 days?”
Expected Outcome
A successful round-trip query confirms your setup is working end-to-end.📚 Help Center
- Prompts for Affinity MCP — ready-made prompts to copy
- Troubleshooting Affinity MCP — if nothing comes back
Task 7: Try the Capability Areas
Context
Affinity’s MCP server exposes more than 50 tools, and it can both read and write. Try a query from each area to get a feel for what’s possible.Action
A few tools depend on features being on for your organization: note and file search need Deal Assist, and meeting tools need unified events. Files are capped at 100 MB. If a tool returns an access error, check with your admin.
Expected Outcome
You have a working sense of what your AI tool can do with Affinity data.📚 Help Center
Task 8: Run a Prepackaged Skill
Context
Five skills come with Affinity MCP. Each packages a whole Affinity workflow so you can run it from one plain-language ask.Action
Ask for the outcome — you don’t need to name the skill. Your AI client picks the right one.Expected Outcome
You’ve run a full workflow from a single request, and you know skills run with your permissions and confirm before writing to your CRM.📚 Help Center
Task 9: Audit and Revoke Unused Access
Context
API keys and OAuth connections are like passwords. Audit them periodically; revoke anything you don’t actively use. Where you revoke depends on how the client authenticates.Action
For API-key-based clients (Copilot, Gemini, Notion Bearer mode, other clients):- Go to Settings → Manage Apps.
- Review the keys listed there.
- Revoke any unused keys via the row action. Revoked keys stop working immediately.
- Disconnect from inside the AI client’s own settings (e.g., Claude → Settings → Connectors → Affinity → Disconnect).
- An admin can also switch an OAuth client off for the whole organization at Settings → Affinity MCP. This disconnects everyone who connected that client through OAuth.
Expected Outcome
Only active, in-use credentials retain access to your Affinity data.📚 Help Center
Task 10: Go Deeper
Context
The dev docs cover everything beyond the user-friendly setup: full tool schemas, rate limits, OAuth flow details, and how to build custom MCP clients against Affinity.Action
Explore these resources when you’re ready for more:- MCP Introduction: developer.affinity.co/pages/mcp/introduction
- Supported Clients: developer.affinity.co/pages/mcp/supported-clients
- Available Tools: developer.affinity.co/pages/mcp/available-tools