Files
python-sdk/pkg/hanzo-tools-iam
zooqueenandHanzo Dev a9e1b6bb16 fix(tools-iam): the MCP IAM tool listed users over a verb being deleted
_users() called /v1/iam/get-users and then did

    users = data if isinstance(data, list) else []

The verb answered a bare JSON list. The native /v1/iam/users answers
{"users": [...]}. So swapping only the path would have left that isinstance check
False and reported ZERO users for a healthy org — an empty result, not an error,
surfaced through an MCP tool an agent then reasons over. Both halves change here.

The dict branch also accepts "data" so a server still on the legacy envelope
keeps working during rollout; it goes when the compat surface does.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 15:41:54 -07:00
..
2026-05-15 12:13:02 -07:00

hanzo-tools-iam

MCP tool package for hanzo-mcp. Provides native iam management via the Hanzo platform.

Installation

pip install hanzo-tools-iam

Part of the hanzo-mcp ecosystem.