mcp-server-asana

asana_create_task

Create a new task in a project

Input Schema

NameRequiredDescriptionDefault
assigneeNoAssignee (can be 'me' or a user ID)
due_onNoDue date in YYYY-MM-DD format
followersNoArray of user IDs to add as followers
html_notesNoHTML-like formatted description of the task. Does not support ALL HTML tags. Only a subset. The only allowed TAG in the HTML are: <body> <h1> <h2> <ol> <ul> <li> <strong> <em> <u> <s> <code> <pre> <blockquote> <a data-asana-type="" data-asana-gid=""> <hr> <img> <table> <tr> <td>. No other tags are allowed. Use the \n to create a newline. Do not use \n after <body>. Example: <body><h1>Motivation</h1> A customer called in to complain <h1>Goal</h1> Fix the problem</body>
nameYesName of the task
notesNoDescription of the task
parentNoThe parent task ID to set this task under
project_idYesThe project to create the task in
projectsNoArray of project IDs to add this task to

Input Schema (JSON Schema)

{ "properties": { "assignee": { "description": "Assignee (can be 'me' or a user ID)", "type": "string" }, "due_on": { "description": "Due date in YYYY-MM-DD format", "type": "string" }, "followers": { "description": "Array of user IDs to add as followers", "items": { "type": "string" }, "type": "array" }, "html_notes": { "description": "HTML-like formatted description of the task. Does not support ALL HTML tags. Only a subset. The only allowed TAG in the HTML are: <body> <h1> <h2> <ol> <ul> <li> <strong> <em> <u> <s> <code> <pre> <blockquote> <a data-asana-type=\"\" data-asana-gid=\"\"> <hr> <img> <table> <tr> <td>. No other tags are allowed. Use the \\n to create a newline. Do not use \\n after <body>. Example: <body><h1>Motivation</h1>\nA customer called in to complain\n<h1>Goal</h1>\nFix the problem</body>", "type": "string" }, "name": { "description": "Name of the task", "type": "string" }, "notes": { "description": "Description of the task", "type": "string" }, "parent": { "description": "The parent task ID to set this task under", "type": "string" }, "project_id": { "description": "The project to create the task in", "type": "string" }, "projects": { "description": "Array of project IDs to add this task to", "items": { "type": "string" }, "type": "array" } }, "required": [ "project_id", "name" ], "type": "object" }