Home / Servers / Asana API / add_project_for_task
Add a project to a task
An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.
Add a project to a task Required scope: tasks:write Adds the task to the specified project, in the optional location specified. If no location arguments are given, the task will be added to the end of the project.… [POST /tasks/{task_gid}/addProject]
Name on the gateway: asana_api__add_project_for_task · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
task_gid required | string | The task to operate on. |
opt_pretty | boolean | Provides “pretty” output. Provides the response in a “pretty” format. In the… |
data | object |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "asana_api__add_project_for_task",
"arguments": {
"task_gid": "…"
}
}Or connect the Asana API server directly, which lists 270 tools including this one:
claude mcp add --transport http hj-asana-api https://mcp.hjlabs.in/mcp/asana-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the add a project to a task tool with task_gid set to ….