---
title: "Mcp Add Task Comment"
method: POST
path: "/v1/mcp/projects/{project_id}/tasks/{task_id}/comments"
tags: ["mcp"]
---

# Mcp Add Task Comment

`POST /v1/mcp/projects/{project_id}/tasks/{task_id}/comments`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/tasks/{task_id}/comments`
- Auth: none declared

Post a comment on a task (mcp:*). With `options`, it becomes a DECISION
request awaiting a human answer. Unknown `task_id` is a 404.

## Path parameters

- `project_id` string, required
- `task_id` string, required

## Request body

- McpTaskCommentIn
  - `body` string: Markdown comment body.
  - `options` McpCommentOptionIn[], nullable: Provide choices to make this a DECISION request. The human answers it in the dashboard, or in the terminal with `sonenta tasks answer`; poll `GET .../comments` (or `sonenta tasks watch`) until `answer` is set.
    - `id` string, nullable
    - `label` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
