Supported Copilot surfaces
- Copilot Studio: Microsoft’s agent-building tool. The Affinity tool is added to an agent by its author and is available to every user of the agent.
- Copilot CLI: the GitHub Copilot command-line tool, configured per developer.
- Copilot in VS Code: configured per developer (or committed at the workspace level).
- Copilot chat on github.com and copilot.com
- The GitHub mobile apps
Why are those surfaces unsupported? Remote MCP currently requires HTTP custom-header support, which Copilot chat on github.com / copilot.com and the GitHub mobile apps don’t yet expose. Microsoft / GitHub may add this later; check their changelog.
Microsoft 365 Copilot support is coming soon. Connecting the Affinity MCP server to Microsoft 365 Copilot (the Copilot in Microsoft 365 apps such as Teams, Outlook, and Word) isn’t available yet. In the meantime, use one of the supported surfaces above.
Prerequisites
Affinity- Plan: Scale, Advanced, or Enterprise (required for API and MCP access).
- API key: Generate one before starting. See Authentication. We do not currently support OAuth with Copilot.
- Admin setup: None required by default. If an Affinity admin has disabled Copilot under Settings → Affinity MCP, ask them to re-enable it.
- Plan:
- Copilot Studio: A Microsoft Copilot Studio license is required. MCP tools authored in Studio inherit the publisher’s licensing for end users.
- Copilot CLI / VS Code: An active GitHub Copilot subscription (Individual, Business, or Enterprise).
- Admin setup:
- Copilot Studio: Only the agent author configures the tool. Once added, every user of the agent uses Affinity through that single tool definition.
- Copilot CLI / VS Code: Each developer configures their own client. No org admin step is required, though a Business / Enterprise admin can centrally manage Copilot policies for the org.
https://mcp.affinity.co/mcp) using
API key authentication. We do not currently support OAuth across Copilot surfaces.
Setup
- Copilot Studio
- Copilot CLI
- Copilot in VS Code
Set up in Copilot Studio is performed by the agent author. Once added, the tool is available
to every user of the agent.
Agent author: add the MCP tool
- In Copilot Studio, open your agent and go to the Tools page.
- Select Add a tool → New tool → Model Context Protocol. The MCP onboarding wizard appears.
-
Fill in the server details. Copilot Studio’s agent orchestrator uses the description to
decide when to route requests to Affinity, so be specific about what the server provides:
- Server name: Affinity
- Server description: Use this server to search, read, create, and update records in the user’s Affinity CRM, including companies, people, opportunities, lists, fields, notes, meetings, meeting transcripts, and reminders.
- Server URL:
https://mcp.affinity.co/mcp
-
For Authentication, select API key and configure:
- Type: Header
- Header name:
Authorization
- Select Create, then on the Add tool dialog select Create a new connection.
-
When prompted for the API key value, enter the full bearer token, including the
Bearerprefix: - Select Add to agent to finish.
Test your connection
Once configured, try one of these in your Copilot chat:- Find 3 companies I emailed in the last 30 days.
- Show me my upcoming meetings.
- Summarize recent activity on Acme Corp.