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
Authorizationheader).
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
Authorization header must use the Bearer scheme followed by a single space and your
Affinity API key. For example: