---
ref: tool:clickup/comment-on-task
name: Comment on a task
company: company:clickup
workflows: []
access: [mcp, api]
tags: [capability:manage-tasks, category:project-management, has:api, has:mcp]
docs: https://developer.clickup.com/reference/createtaskcomment
updated: 2026-09-27
---

# Comment on a task

Adds a comment to a task, optionally assigned to someone, and returns the new comment's id.

Note: The task's assignees and watchers are always notified. On the MCP server pass `entity_type: "task"` with the task id as `entity_id`; on the API `notify_all` is required.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "clickup": { "url": "https://mcp.clickup.com/mcp" } } }
```

Call the MCP tool `clickup_create_comment`.

Server URL: https://mcp.clickup.com/mcp

### API (official)

- Base URL: https://api.clickup.com/api
- Endpoint: `POST /v2/task/{task_id}/comment`
- Auth: send the header `Authorization: $CLICKUP_API_KEY`
- Get a key: https://app.clickup.com/settings/apps
- Docs: https://developer.clickup.com/docs/authentication

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
