Repository navigation
Bug Fixes
FieldResolver.get,get_manyandget_by_idaccept a plainListEntry(as returned by
companies.get_list_entries()andpersons.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-sdkSDK + CLI:
pipx install "affinity-sdk[cli]"MCP Server for Claude Desktop (easiest - MCPB bundle):
- Install CLI:
pipx install "affinity-sdk[cli]" - (Optional) Pre-configure API key:
xaffinity config setup-key- If skipped, Claude Desktop will prompt for your API key during install
- Install xaffinity MCP in Claude Desktop (download and double-click)
Other MCP clients (Cursor, Windsurf, VS Code, etc.) require manual configuration - see MCP docs.