Skip to main content
Glama
Leanware-io

ClickUp MCP Integration

by Leanware-io

get_list_assignees

Retrieve all available members who can be assigned tasks from a specific ClickUp list. Use this tool to identify potential assignees when managing task distribution in your workspace.

Instructions

Get all members (potential assignees) of a list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idYesClickUp list ID

Implementation Reference

  • The handler function for the 'get_list_assignees' tool. It takes the input list_id, fetches members using AssigneeService, and returns the response as JSON string in MCP format.
    handler: async (input) => { const { list_id } = input; const response = await assigneeService.getListMembers(list_id); return { content: [{ type: "text", text: JSON.stringify(response) }], }; },
  • Input schema defining the required 'list_id' string parameter for the tool.
    inputSchema: { list_id: z.string().describe("ClickUp list ID"), },
  • src/index.ts:27-27 (registration)
    Imports the getListAssigneesTool for registration.
    import { getListAssigneesTool } from "./controllers/assignee.controller";
  • src/index.ts:53-53 (registration)
    Adds the tool to the array of tools that are registered to the MCP server.
    getListAssigneesTool,
  • Helper method in AssigneeService that makes the API request to ClickUp to retrieve list members, used by the tool handler.
    async getListMembers(listId: string) { // Using the endpoint from https://developer.clickup.com/reference/getlistmembers return this.request<{ members: ClickUpUser[] }>(`/list/${listId}/member`); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Leanware-io/clickup-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server