Skip to main content
Glama
Leanware-io

ClickUp MCP Integration

by Leanware-io

get_list_assignees

Retrieve all team members who can be assigned tasks from a specific ClickUp list to facilitate task delegation and management.

Instructions

Get all members (potential assignees) of a list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idYesClickUp list ID

Implementation Reference

  • The handler function that executes the tool logic: extracts list_id, calls assigneeService.getListMembers, and returns the JSON-stringified response wrapped in MCP content 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' parameter as a string.
    inputSchema: { list_id: z.string().describe("ClickUp list ID"), },
  • src/index.ts:52-54 (registration)
    Includes the getListAssigneesTool in the array of tools to be registered with the MCP server.
    // Assignee tools getListAssigneesTool,
  • src/index.ts:89-91 (registration)
    Registers all tools from the array (including get_list_assignees) to the MCP server by calling server.tool for each.
    tools.forEach((tool) => { server.tool(tool.name, tool.description, tool.inputSchema, tool.handler); });
  • Supporting utility method that makes the API request to ClickUp to retrieve members (assignees) for a given list ID.
    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