Skip to main content
Glama
Leanware-io

ClickUp MCP Integration

by Leanware-io

create_list

Create a new task list within a ClickUp folder to organize and manage project workflows.

Instructions

Create a new list in a folder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_idYesClickUp folder ID
nameYesList name

Implementation Reference

  • The handler function for the create_list tool. It extracts folder_id and name from input, calls the listService.createList method, and returns the response as JSON-formatted text content.
    handler: async (input) => { const { folder_id, name } = input; const response = await listService.createList(folder_id, { name, }); return { content: [{ type: "text", text: JSON.stringify(response) }], }; },
  • Zod input schema for the create_list tool, defining required string parameters folder_id and name with descriptions.
    inputSchema: { folder_id: z.string().describe("ClickUp folder ID"), name: z.string().describe("List name"), },
  • src/index.ts:89-91 (registration)
    Registration of all tools including create_list via the MCP server's tool() method, using properties from each tool object (name, description, inputSchema, handler). The createListTool is included in the tools array.
    tools.forEach((tool) => { server.tool(tool.name, tool.description, tool.inputSchema, tool.handler); });
  • Supporting service method in ListService that sends a POST request to the ClickUp API endpoint to create a new list in the specified folder.
    async createList( folderId: string, params: { name: string; } ) { return this.request(`/folder/${folderId}/list`, { method: "POST", body: JSON.stringify(params), }); }

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