productivity
Asana MCP Integration for LangChain
Connect Asana to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Asana to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Asana MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-asana": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=asana",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=asana --write=deny Why Use KosmoKrator Here
Expose only Asana instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Asana Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Asana integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__asana__asana_create_task | asana.asana_create_task | Write | Create a new task in Asana. |
integration__asana__asana_get_task | asana.asana_get_task | Read | Get detailed information about an Asana task. |
integration__asana__asana_update_task | asana.asana_update_task | Write | Update an existing Asana task. |
integration__asana__asana_delete_task | asana.asana_delete_task | Write | Delete an Asana task permanently. |
integration__asana__asana_list_tasks | asana.asana_list_tasks | Read | List tasks in Asana with optional filters. |
integration__asana__asana_create_subtask | asana.asana_create_subtask | Write | Create a subtask under an existing Asana task. |
integration__asana__asana_add_comment | asana.asana_add_comment | Write | Add a comment to an Asana task. |
integration__asana__asana_list_comments | asana.asana_list_comments | Read | List comments (stories) on an Asana task. |
integration__asana__asana_create_project | asana.asana_create_project | Write | Create a new project in Asana. |
integration__asana__asana_get_project | asana.asana_get_project | Read | Get detailed information about an Asana project. |
integration__asana__asana_list_projects | asana.asana_list_projects | Read | List projects in Asana with optional filters. |
integration__asana__asana_list_sections | asana.asana_list_sections | Read | List sections in an Asana project. |
integration__asana__asana_list_workspaces | asana.asana_list_workspaces | Read | List all workspaces the authenticated user has access to. |
integration__asana__asana_list_teams | asana.asana_list_teams | Read | List teams in an Asana workspace. |
integration__asana__asana_list_users | asana.asana_list_users | Read | List users in an Asana workspace. |
integration__asana__asana_get_user | asana.asana_get_user | Read | Get detailed information about an Asana user. |
integration__asana__asana_get_user_task_list | asana.asana_get_user_task_list | Read | Get the user task list for a given user and workspace. |
integration__asana__asana_list_tags | asana.asana_list_tags | Read | List tags in an Asana workspace. |
integration__asana__asana_create_tag | asana.asana_create_tag | Write | Create a new tag in Asana. |
integration__asana__asana_get_current_user | asana.asana_get_current_user | Read | Get the currently authenticated Asana user. |