Skip to content

SDK v2.0.6

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Oct 18:44

Bug Fixes

  • FieldResolver.get, get_many and get_by_id accept a plain ListEntry (as returned by
    companies.get_list_entries() and persons.get_list_entries()) in their type hints. They
    already worked on it at runtime; strict type checkers no longer need a cast.

Quick Install

SDK only:

pip install affinity-sdk

SDK + CLI:

pipx install "affinity-sdk[cli]"

MCP Server for Claude Desktop (easiest - MCPB bundle):

  1. Install CLI: pipx install "affinity-sdk[cli]"
  2. (Optional) Pre-configure API key: xaffinity config setup-key
    • If skipped, Claude Desktop will prompt for your API key during install
  3. Install xaffinity MCP in Claude Desktop (download and double-click)

Other MCP clients (Cursor, Windsurf, VS Code, etc.) require manual configuration - see MCP docs.

Full documentation | MCP Server docs