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

# Comment on a task

Adds a comment to a task as the signed-in user, in plain text or HTML, with optional @-mentions.

On the API a comment is a story on the task; the endpoint only creates
comment stories.

## 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": { "asana": { "url": "https://mcp.asana.com/v2/mcp" } } }
```

Call the MCP tool `add_comment`.

Server URL: https://mcp.asana.com/v2/mcp

### API (official)

- Base URL: https://app.asana.com/api/1.0
- Endpoint: `POST /tasks/{task_gid}/stories`
- Auth: send the header `Authorization: Bearer $ASANA_ACCESS_TOKEN`
- Get a key: https://app.asana.com/0/my-apps
- Docs: https://developers.asana.com/reference/rest-api-reference

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.
