Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.affinity.co/llms.txt

Use this file to discover all available pages before exploring further.

This page is for MCP clients beyond the ones with dedicated guides. If you’re using Claude, ChatGPT, Copilot, Notion, or Gemini, follow the page for that client instead.

Prerequisites

  • Affinity plan: Scale, Advanced, or Enterprise.
  • API key: Generate one first. See Authentication.
  • Client requirements: The client must support connecting to a remote MCP server using an API key (passed as a custom Authorization header).

Setup

Any MCP client that supports custom headers can connect to the Affinity hosted MCP server using an API key. Configure your client with:
  • Server URL: https://mcp.affinity.co/mcp
  • Headers: Authorization: Bearer your_api_key_here
The Authorization header must use the Bearer scheme followed by a single space and your Affinity API key. For example:
Authorization: Bearer a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
Affinity validates the API key on every request and authorizes MCP tool calls using the permissions of the user who issued it. See Authentication for help generating an API key. See MCP Clients for the full list of MCP-compatible tools.