users-list
Retrieve all user accounts from Shortcut project management to access team member information for task assignment and collaboration.
Instructions
Get all users
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user.ts:63-67 (handler)The handler function for the "users-list" tool. It fetches all members via the ShortcutClientWrapper's listMembers method and formats the result using the inherited toResult method.async listMembers() { const members = await this.client.listMembers(); return this.toResult(`Found ${members.length} members:`, members); }
- src/tools/user.ts:21-25 (registration)Registration of the "users-list" MCP tool within the static create method of UserTools class, which adds it to the CustomMcpServer.server.addToolWithReadAccess( "users-list", "Get all users", async () => await tools.listMembers(), );