productivity
Google Tasks MCP Integration for LangChain
Connect Google Tasks to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Tasks 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.
Google Tasks MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |