---
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.

On the MCP server, pass `entity_type: "task"` and the task id as `entity_id`;
the older `clickup_create_task_comment` is deprecated. On the API,
`comment_text` and `notify_all` are required. The task's assignees and
watchers are always notified; `notify_all: true` notifies the comment's author
as well.

## 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 doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
