This MCP server for Asana enables you to interact with the Asana API directly from MCP clients like Claude Desktop and other applications supporting the Model Context Protocol. It allows you to query and manage tasks, projects, workspaces, and comments in your Asana workspace.
Create an Asana account:
Generate an Asana Access Token:
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"asana": {
"command": "npx",
"args": ["-y", "@roychri/mcp-server-asana"],
"env": {
"ASANA_ACCESS_TOKEN": "your-asana-access-token"
}
}
}
}
Use the following command to install and configure the MCP server:
claude mcp add asana -e ASANA_ACCESS_TOKEN=<TOKEN> -- npx -y @roychri/mcp-server-asana
Replace <TOKEN>
with your Asana access token.
ASANA_ACCESS_TOKEN
: (Required) Your Asana access tokenREAD_ONLY_MODE
: (Optional) Set to 'true' to disable all write operations, allowing only read operationsTo use the MCP server in your AI tool of choice (e.g., Claude Desktop), simply ask questions about your Asana tasks, projects, workspaces, or comments. Including the word "asana" in your queries will help the AI select the right tool.
asana_list_workspaces
: Lists all available workspaces in Asanaasana_search_projects
: Search for projects by name patternasana_get_project
: Get detailed information about a specific projectasana_get_project_task_counts
: Get the number of tasks in a projectasana_get_project_sections
: Get sections in a projectasana_get_project_status
: Get a project status updateasana_get_project_statuses
: Get all status updates for a projectasana_create_project_status
: Create a new status update for a projectasana_delete_project_status
: Delete a project status updateasana_search_tasks
: Search tasks with advanced filtering optionsasana_get_task
: Get detailed information about a specific taskasana_create_task
: Create a new task in a projectasana_update_task
: Update an existing task's detailsasana_get_task_stories
: Get comments and stories for a specific taskasana_create_task_story
: Create a comment or story on a taskasana_add_task_dependencies
: Set dependencies for a taskasana_add_task_dependents
: Set dependents for a taskasana_create_subtask
: Create a new subtask for an existing taskasana_get_multiple_tasks_by_gid
: Get information about multiple tasks by GIDsasana_set_parent_for_task
: Set the parent of a task and position the subtaskasana_get_tasks_for_tag
: Get tasks for a specific tagasana_get_tags_for_workspace
: Get tags in a workspaceThe server includes pre-built prompts for common scenarios:
task-summary
: Get a summary and status update for a task based on its notes, custom fields, and commentstask-completeness
: Analyze if a task description contains all necessary details for completioncreate-task
: Create a new task with specified detailsIf you encounter permission errors:
If you want to install the beta version (not yet released), you can use:
# For Claude Desktop, modify the args in claude_desktop_config.json:
"args": ["-y", "@roychri/mcp-server-asana@beta"]
# For Claude Code:
claude mcp add asana -e ASANA_ACCESS_TOKEN=<TOKEN> -- npx -y @roychri/mcp-server-asana@beta
You can find the current beta release, if any, with:
npm dist-tag ls @roychri/mcp-server-asana
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.