Files

4.1 KiB

catalog_title, catalog_description, catalog_icon, catalog_tags
catalog_title catalog_description catalog_icon catalog_tags
Asana Manage projects, tasks, and goals for team collaboration /integrations/assets/asana.png
mcp

Asana MCP tool for ADK

Supported in ADKPythonTypeScript

The Asana MCP Server connects your ADK agent to the Asana work management platform. This integration gives your agent the ability to manage projects, tasks, goals, and team collaboration using natural language.

Use cases

  • Track Project Status: Get real-time updates on project progress, view status reports, and retrieve information about milestones and deadlines.

  • Manage Tasks: Create, update, and organize tasks using natural language. Let your agent handle task assignments, status changes, and priority updates.

  • Monitor Goals: Access and update Asana Goals to track team objectives and key results across your organization.

Prerequisites

  • An Asana account with access to a workspace

Use with agent

=== "Python"

=== "Local MCP Server"

    ```python
    from google.adk.agents import Agent
    from google.adk.tools.mcp_tool import McpToolset
    from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams
    from mcp import StdioServerParameters

    root_agent = Agent(
        model="gemini-flash-latest",
        name="asana_agent",
        instruction="Help users manage projects, tasks, and goals in Asana",
        tools=[
            McpToolset(
                connection_params=StdioConnectionParams(
                    server_params=StdioServerParameters(
                        command="npx",
                        args=[
                            "-y",
                            "mcp-remote",
                            "https://mcp.asana.com/sse",
                        ]
                    ),
                    timeout=30,
                ),
            )
        ],
    )
    ```

=== "TypeScript"

=== "Local MCP Server"

    ```typescript
    import { LlmAgent, MCPToolset } from "@google/adk";

    const rootAgent = new LlmAgent({
        model: "gemini-flash-latest",
        name: "asana_agent",
        instruction: "Help users manage projects, tasks, and goals in Asana",
        tools: [
            new MCPToolset({
                type: "StdioConnectionParams",
                serverParams: {
                    command: "npx",
                    args: [
                        "-y",
                        "mcp-remote",
                        "https://mcp.asana.com/sse",
                    ],
                },
            }),
        ],
    });

    export { rootAgent };
    ```

!!! note

When you run this agent for the first time, a browser window opens
automatically to request access via OAuth. Alternatively, you can use the
authorization URL printed in the console. You must approve this request to
allow the agent to access your Asana data.

Available tools

Asana's MCP server includes 30+ tools organized by category. Tools are automatically discovered when your agent connects. Use the ADK Web UI to view available tools in the trace graph after running your agent.

Category Description
Project tracking Get project status updates and reports
Task management Create, update, and organize tasks
User information Access user details and assignments
Goals Track and update Asana Goals
Team organization Manage team structures and membership
Object search Quick typeahead search across Asana objects

Additional resources