Prerequisites
- An Affinity account with API access (Scale, Advanced, or Enterprise)
- UV Python package manager
- An MCP-compatible AI assistant (e.g., Claude Desktop, GitHub Copilot, Gemini CLI)
- An Affinity API key — see the Authentication page for help obtaining one
Client Setup
- Claude CLI
- Claude Desktop
- GitHub Copilot (VS Code)
- Gemini CLI
- ChatGPT
Run the following command with your values filled in. The Omit You should see:
--scope user flag registers the server for your user account so it’s available in all your projects.--scope user to register the server for the current project only.Verify the server is connected: