SuperAPIAI Directory

mcp-server-asana

github.com · AI developer platforms

Interact with the Asana API.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

mcp-server-asana is a Model Context Protocol (MCP) server implementation for Asana, used to let MCP-capable clients (such as Anthropic's Claude Desktop application and other MCP clients) interact with the Asana API. Through this server, users can ask about or operate on tasks, projects, workspaces, and comments in Asana using natural language within AI tools.

Main Capabilities

This server encapsulates a series of Asana API tools, covering objects such as workspaces, projects, tasks, comments, and dependencies. The main tools include:

  • asana_list_workspaces: Lists all available workspaces in Asana. Optional input opt_fields (string, comma-separated list of optional fields). Returns a list of workspaces.
  • asana_search_projects: Searches for projects using name pattern matching. Required inputs: workspace (string, the workspace to search), name_pattern (string, regex pattern used to match project names). Optional inputs: archived (boolean, return only archived projects, default false), opt_fields (string). Returns a list of matching projects.
  • asana_search_tasks: Searches for tasks in a workspace, supporting advanced filtering. Required input: workspace. Optional inputs include text (search text in task names and descriptions), resource_subtype (task subtype, such as milestone), completed (whether completed), is_subtask (whether it is a subtask), has_attachment (whether it has attachments), is_blocked (whether it is blocked by incomplete dependencies), is_blocking (whether there are incomplete tasks depending on it), advanced filters such as assignee, projects, sections, tags, teams, sort_by (sort by due_date, created_at, completed_at, likes, modified_at, default modified_at), sort_ascending (default false), opt_fields, custom_fields (custom field filter object). Returns a list of matching tasks.
  • asana_get_task: Gets detailed information for the specified task. Required input: task_id (string, the task ID to retrieve). Optional input: opt_fields. Returns detailed task information.
  • asana_create_task: Creates a new task in a project. Required inputs: project_id (string, the project in which to create the task), name (string, task name). Optional inputs: notes (task description), html_notes (HTML-like formatted description), due_on (due date in YYYY-MM-DD format), assignee (assignee, can be 'me' or a user ID), followers (array of user IDs to add as followers), parent (parent task ID), projects (array of project IDs), resource_subtype (default_task or milestone), custom_fields (mapping object from custom field GID to value). Returns the created task information.
  • asana_get_task_stories: Gets comments and activity for the specified task. Required input: task_id. Optional input: opt_fields. Returns a list of task activity/comments.
  • asana_update_task: Updates detailed information for an existing task. Required input: task_id. Optional inputs: name, notes, html_notes (supports some HTML tags), due_on (YYYY-MM-DD), assignee ('me' or user ID), followers (array), parent (parent task ID), completed (boolean, whether to mark as complete), resource_subtype (default_task or milestone), custom_fields (custom field mapping). Returns the updated task information.
  • asana_get_project: Gets detailed information for the specified project. Required input: project_id. Optional input: opt_fields. Returns detailed project information.
  • asana_get_project_task_counts: Gets the number of tasks in a project. Required input: project_id. Optional input: opt_fields. Returns task count information.
  • asana_get_project_sections: Get sections in a project. Required input: project_id. Optional input: opt_fields. Returns a list of project sections.
  • asana_create_task_story: Create a comment or story on a task. Required inputs: task_id, text (string, the text content of the comment/story). Optional input: opt_fields. Returns the created story information.
  • asana_add_task_dependencies: Set a task's dependencies. Required inputs: task_id, dependencies (string array, the task IDs that this task depends on). Returns the updated task dependencies.
  • asana_add_task_dependents: Set a task's dependents (tasks that depend on this task). Required inputs: task_id, dependents (string array, the task IDs that depend on this task). Returns the updated task dependents.
  • asana_create_subtask: Create a subtask for an existing task. Required inputs: parent_task_id (string, parent task ID), name (string, subtask name). Optional inputs: notes (description), due_on (due date), etc. (the tool description in the material is truncated here).

In addition, the material also mentions a create-task prompt, which is disabled in read-only mode.

Usage

This server requires configuring the relevant variables in the environment:

  • ASANA_ACCESS_TOKEN: (required) your Asana access token.
  • READ_ONLY_MODE: (optional) set to 'true' to disable all write operations. In this mode, tools that modify Asana data (create, update, delete) will be disabled, and the create-task prompt will also be disabled, leaving only read operations. This is suitable for testing or when you want to ensure that no changes can be made to the Asana workspace.

In your chosen AI tool (for example Claude Desktop), you can ask questions about Asana tasks, projects, workspaces, or comments. The material suggests: mentioning the word "asana" increases the likelihood that the LLM will choose the correct tool. Example questions include: "How many unfinished asana tasks do we have in our Sprint 30 project?"

Applicable scenarios

Suitable for users who need to directly query or manage Asana tasks, projects, workspaces, and comments in an AI client, for example to learn the number of unfinished tasks in a project, search for projects or tasks, create or update tasks, add comments, set task dependencies, etc. It is also suitable for testing or read-only viewing scenarios.

Limitations

The material does not provide information about the server's fees, pricing, specific installation commands, platform compatibility, performance, or effectiveness, so it is not available for now. In read-only mode, all write operation tools and the create-task prompt are disabled, and only read operations can be performed.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools