Manage Asana projects, tasks, subtasks, comments, tags, and users via the Asana REST API.
Asana ships in the w6w first-party pack. It declares 22 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.asanaAsana gives a workflow full control over projects and tasks — creating, updating, moving and deleting tasks and subtasks, searching across them, and keeping tags, comments and project membership in sync as work moves through a process.
Tasks can carry comments and tags that are added or removed independently, and a task can belong to more than one project at once — added to or removed from either without touching the task itself. Subtasks are managed as their own resource (created, listed) rather than as fields on the parent, which matches how Asana actually models a checklist of smaller pieces of work.
Project and user data — creating and updating projects, listing and looking up users — round it out, so a workflow can turn an external event, such as a support ticket or a form submission, into tracked work in Asana, or pull task state back out to drive another step.
Three routes to the same 22 actions. The Workflow tab is generated from Asana's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
add-task-comment Post a comment (story) to a task. Toggle `isTextHtml` to send the body as HTML.
add-task-project Add a task to a project, optionally placing it relative to another task or inside a section.
create-project Create a project. When `team` is set, posts to `/teams/{team}/projects`; otherwise, posts to `/projects` with `workspace` in the body.
get-user Retrieve a user by gid, email, or the keyword `me` (current user making the request).
list-projects List projects in a workspace or team. Walks one page; pass back `offset` (from `next_page.offset`) to get the next.
list-subtasks List subtasks of a parent task. Walks one page; pass back `offset` (from `next_page.offset`) to get the next.
list-tasks List tasks with optional filters. Walks one page; pass back `offset` (from `next_page.offset`) to get the next. Note: if `assignee` is set, `workspace` is required.
move-task Move a task into the given section (POST /sections/{section}/addTask).
search-tasks Search for tasks in a workspace (GET /workspaces/{workspace}/tasks/search).
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Asana's real ids.
{
"manifestVersion": "2",
"name": "asana-example",
"steps": [
{
"id": "add-task-comment",
"uses": {
"app": "io.w6w.asana",
"action": "add-task-comment",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"id": "<id>",
"text": "<text>"
}
}
]
}add-task-comment add-task-project add-task-tag create-project create-subtask +17 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Asana, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Asana. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "create-task",
payload: {
workspace: "<value>",
name: "<value>",
// assignee: "<value>",
// assignee_status: "<value>",
// completed: "<value>",
// due_on: "<value>",
// liked: "<value>",
// notes: "<value>",
// projects: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action create-task --payload '{"workspace":"<value>","name":"<value>"}' Give an AI agent Asana — without giving it Asana's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.asana#add-task-comment",
"input": {
"id": "<id>",
"text": "<text>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Asana connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Asana's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Asana itself is MIT, and the runtime that executes it is source-available (FSL).
Asana declares its own checks, so its health is a property of the app rather than something the host guesses at.
Atlassian Statuspage rollup for status.asana.com, with per-component detail. Unauthenticated and unsigned.