list-members
Retrieve all team members from Shortcut project management to view collaborators and assign tasks.
Instructions
Get all members
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list-members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user.ts:28-32 (handler)The main handler function for the "list-members" MCP tool. It calls the client's listMembers method and formats the result using toResult.
async listMembers() { const members = await this.client.listMembers(); return this.toResult(`Found ${members.length} members:`, members); } - src/tools/user.ts:15-15 (registration)Registers the "list-members" tool with the MCP server, pointing to the listMembers handler.
server.tool("list-members", "Get all members", async () => await tools.listMembers());