Complete Reference
CU-CLI Documentation
All CLI commands, REST API endpoints, and MCP tools for the ClickUp CLI. Real examples, ready to copy.
⚡ CLI Commands
Creates a new task in a specified ClickUp list.
Usage
cu create "Task name" --list-id <id> [options]
Options
| Flag | Description |
| --list-id * | List ID (required) |
| --priority | 1=Urgent, 2=High, 3=Normal, 4=Low |
| --due-date | Unix timestamp |
| --assignee | User email or ID |
| --description | Task description |
Example
cu create "Ship the prototype" --list-id 901415499626 --priority 2
Lists all tasks in a specific ClickUp list.
Usage
cu list --list-id <id> [options]
Options
| Flag | Description |
| --list-id * | List ID (required) |
| --status | Filter by status name |
| --assignee | Filter by assignee |
Example
cu list --list-id 901415499626 --status open
Searches for tasks matching a query string. Requires --team-id.
Usage
cu find --query <text> --team-id <id> [options]
Options
| Flag | Description |
| --query * | Search query (required) |
| --team-id * | Workspace ID (required) |
| --list-id | Limit to specific list |
Example
cu find --query "budget" --team-id 9014416713
Retrieves full details for a specific task.
Usage
cu task get <task-id>
Example
cu task get 86b9e64ww
Modifies properties of an existing task.
Usage
cu task update <task-id> [options]
Options
| Flag | Description |
| --name | New task name |
| --status | New status |
| --priority | New priority (1-4) |
| --description | New description |
Example
cu task update 86b9e64ww --status "in progress" --priority 1
Permanently deletes a task from ClickUp.
Usage
cu task delete <task-id> [--force]
Example
cu task delete 86b9e64wx --force
Lists all ClickUp workspaces accessible with the API token.
Example
cu workspace list
Lists all members in a workspace.
Usage
cu workspace members --team-id <id>
Example
cu workspace members --team-id 9014416713
Lists all spaces in a workspace.
Usage
cu space list --team-id <id>
Example
cu space list --team-id 9014416713
Lists all folders within a space.
Usage
cu space folders <space-id>
Example
cu space folders 90141890182
Lists all lists within a folder.
Usage
cu space lists <folder-id>
Example
cu space lists 90142373755
Creates a new space within a workspace.
Usage
cu space create --team-id <id> --name "<name>"
Example
cu space create --team-id 9014416713 --name "Q4 Projects"
Updates a space name.
Usage
cu space update --space-id <id> --name "<name>"
Example
cu space update --space-id 90141890182 --name "Renamed Space"
Permanently deletes a space and all its folders and lists.
Usage
cu space delete --space-id <id>
Example
cu space delete --space-id 90141890182
📁 Folder Commands
Creates a new folder within a space.
Usage
cu folder create --space-id <id> --name "<name>"
Example
cu folder create --space-id 90141539665 --name "Active Projects"
Retrieves details for a specific folder.
Usage
cu folder get --folder-id <id>
Example
cu folder get --folder-id 90142373755
Updates a folder name.
Usage
cu folder update --folder-id <id> --name "<name>"
Example
cu folder update --folder-id 90142373755 --name "Renamed Folder"
Permanently deletes a folder and all its lists.
Usage
cu folder delete --folder-id <id>
Example
cu folder delete --folder-id 90142373755
Creates a new list within a space.
Usage
cu list-create --name "<name>" --space-id <id>
Example
cu list-create --name "Sprint 1" --space-id 90141890182
Permanently deletes a list from ClickUp.
Usage
cu list-delete --list-id <id> [--force]
Example
cu list-delete --list-id 901415499626 --force
Applies an existing tag to a task.
Usage
cu tag add <task-id> --tag <name>
Example
cu tag add 86b9e64ww --tag urgent
Removes a tag from a task.
Usage
cu tag remove <task-id> --tag <name>
Example
cu tag remove 86b9e64ww --tag urgent
Moves a task to a new list.
Usage
cu move <task-id> --list-id <id>
Example
cu move 86b9e64ww --list-id 901403974772
Returns time tracking data showing how long the task has been in each status.
Usage
cu info time <task-id>
Example
cu info time 86b9e64ww
Lists all views available in a space or folder.
Usage
cu view list <space-id-or-folder-id>
Example
cu view list 90141890182
Lists all views available in a workspace.
Usage
cu view team --team-id <id>
Example
cu view team --team-id 9014416713
🔗 MCP Tools ClickUp MCP Server
MCP (Model Context Protocol) commands call the ClickUp MCP Server for extended capabilities including workspace-wide search, bulk operations, task linking, and dependencies.
Lists all available MCP tools from the ClickUp MCP Server.
Example
cu mcp list-tools
Search across entire workspace — tasks, lists, folders, docs.
Usage
cu mcp search-workspace --query "<text>"
Example
cu mcp search-workspace --query "Q4 Marketing Launch"
Filter tasks by task type.
Usage
cu mcp search-tasks-by-type --type <type>
Example
cu mcp search-tasks-by-type --type "bug"
Filter tasks by tag name.
Usage
cu mcp search-tasks-by-tag --tag <name>
Example
cu mcp search-tasks-by-tag --tag "ux-quality"
Create a task via MCP — supports more fields than the base create command.
Usage
cu mcp create-task --list-id <id> --name "<text>" [options]
Options
| Flag | Description |
| --list-id * | Target list ID |
| --name * | Task name |
| --description | Task description |
| --assignee | Assignee email |
| --due-date | Due date (Unix timestamp) |
| --priority | 1=Urgent, 2=High, 3=Normal, 4=Low |
Example
cu mcp create-task --list-id 901415499626 --name "Draft blog post" --assignee "brian@logikwise.com" --priority 2
Get full task details including custom fields.
Usage
cu mcp get-task <task-id>
Example
cu mcp get-task 86b9e64ww
Update task properties — status, name, priority, description, assignees.
Usage
cu mcp update-task --task-id <id> [options]
Options
| Flag | Description |
| --task-id * | Task ID |
| --status | New status |
| --name | New name |
| --priority | New priority |
| --description | New description |
Example
cu mcp update-task --task-id 86b9e64ww --status "In Progress" --priority 1
Delete a task or subtask permanently.
Usage
cu mcp delete-task --task-id <id>
Example
cu mcp delete-task --task-id 86b9e64wx
Set custom field values on a task.
Usage
cu mcp set-custom-fields --task-id <id> --fields '[{"id":"<field-id>","value":"<val>"}]'
Example
cu mcp set-custom-fields --task-id 86b9e64ww --fields '[{"id":"abc123","value":"4.07"}]'
Create multiple tasks in a single API call.
Usage
cu mcp create-bulk-tasks --list-id <id> --tasks '[{"name":"Task 1"},{"name":"Task 2"}]'
Example
cu mcp create-bulk-tasks --list-id 901415499626 --tasks '[{"name":"Send welcome email"},{"name":"Schedule orientation"},{"name":"Set up hardware"}]'
Update multiple tasks at once — status, assignee, due date.
Usage
cu mcp update-bulk-tasks --task-ids '["id1","id2"]' --updates '{"status":"In Review"}'
Example
cu mcp update-bulk-tasks --task-ids '["86b9e64ww","86b9e64wx"]' --updates '{"status":"Done"}'
Get all comments on a task.
Usage
cu mcp get-comments --task-id <id>
Example
cu mcp get-comments --task-id 86b9e64ww
Get threaded replies under a parent comment.
Usage
cu mcp get-threaded-replies --task-id <id> --comment-id <id>
Example
cu mcp get-threaded-replies --task-id 86b9e64ww --comment-id 90140195821176
Add a comment to a task. Can @mention team members.
Usage
cu mcp add-comment --task-id <id> --message "<text>" [--mention <user-id>]
Example
cu mcp add-comment --task-id 86b9e64ww --message "@Mark, can you please provide the latest mockups?"
Apply an existing tag to a task.
Usage
cu mcp add-tag --task-id <id> --tag <name>
Example
cu mcp add-tag --task-id 86b9e64ww --tag "urgent"
Remove a tag from a task.
Usage
cu mcp remove-tag --task-id <id> --tag <name>
Example
cu mcp remove-tag --task-id 86b9e64ww --tag "backend"
Move a task to a new list.
Usage
cu mcp move-task --task-id <id> --list-id <id>
Example
cu mcp move-task --task-id 86b9e64ww --list-id 901403974772
Link two tasks together.
Usage
cu mcp add-task-link --task-id <id> --linked-task-id <id> --link-type <type>
Example
cu mcp add-task-link --task-id 86b9e64ww --linked-task-id 86b9e64wx --link-type "blocks"
Remove a link between two tasks.
Usage
cu mcp remove-task-link --task-id <id> --linked-task-id <id>
Create a dependency relationship between tasks (blocking/blocked-by).
Usage
cu mcp add-dependency --task-id <id> --dependency-task-id <id>
Example
cu mcp add-dependency --task-id 86b9e64ww --dependency-task-id 86b9e64wx
Remove a dependency between two tasks.
Usage
cu mcp remove-dependency --task-id <id> --dependency-task-id <id>