productivity
Google Tasks MCP Integration for LangGraph
Connect Google Tasks to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Tasks to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Google Tasks MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-google_tasks": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=google_tasks",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=google_tasks --write=deny Why Use KosmoKrator Here
Expose only Google Tasks 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.
Google Tasks Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Google Tasks integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__google_tasks__google_tasks_clear_completed | google_tasks.google_tasks_clear_completed | Read | Remove all completed tasks from a Google Tasks list. Warning: permanently deletes completed tasks. |
integration__google_tasks__google_tasks_complete | google_tasks.google_tasks_complete | Read | Mark a Google Task as completed. |
integration__google_tasks__google_tasks_create | google_tasks.google_tasks_create | Read | Create a task in Google Tasks. Use "@default" as listId for the primary "My Tasks" list. |
integration__google_tasks__google_tasks_create_list | google_tasks.google_tasks_create_list | Write | Create a new task list in Google Tasks. |
integration__google_tasks__google_tasks_delete | google_tasks.google_tasks_delete | Read | Delete a Google Task. |
integration__google_tasks__google_tasks_delete_list | google_tasks.google_tasks_delete_list | Write | Delete a task list from Google Tasks. |
integration__google_tasks__google_tasks_move | google_tasks.google_tasks_move | Read | Reorder or reparent a Google Task. Use parent to set a new parent (empty string moves to top level), and previous to position after a sibling. |
integration__google_tasks__google_tasks_get_task | google_tasks.google_tasks_get_task | Read | Get full details of a single Google Task by its ID. |
integration__google_tasks__google_tasks_list_lists | google_tasks.google_tasks_list_lists | Read | List all Google Task lists. Returns IDs and titles. Start here to discover available lists. |
integration__google_tasks__google_tasks_list_tasks | google_tasks.google_tasks_list_tasks | Read | List tasks in a Google Task list. Use "@default" as listId for the primary "My Tasks" list. Supports filtering by completion status and due date range. |
integration__google_tasks__google_tasks_update | google_tasks.google_tasks_update | Read | Update task fields in Google Tasks. At least one field to update is required. |