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__gtasks_list_task_lists | google-tasks.gtasks_list_task_lists | Read | List all task lists for the authenticated user in Google Tasks. Returns task list IDs and titles that can be used to manage tasks within each list. |
integration__google_tasks__gtasks_get_task_list | google-tasks.gtasks_get_task_list | Read | Get a specific task list by its ID in Google Tasks. Returns the task list title, ID, and other metadata. |
integration__google_tasks__gtasks_create_task_list | google-tasks.gtasks_create_task_list | Write | Create a new task list in Google Tasks. Provide a title for the new list. |
integration__google_tasks__gtasks_list_tasks | google-tasks.gtasks_list_tasks | Read | List tasks in a specific task list in Google Tasks. Returns task titles, IDs, status, due dates, and notes. Use "list_task_lists" first to find the task list ID. |
integration__google_tasks__gtasks_get_task | google-tasks.gtasks_get_task | Read | Get a specific task by its ID from a task list in Google Tasks. Returns the task title, notes, due date, status, and other details. |
integration__google_tasks__gtasks_create_task | google-tasks.gtasks_create_task | Write | Create a new task in a Google Tasks list. Provide a title, and optionally notes and a due date. |
integration__google_tasks__gtasks_get_current_user | google-tasks.gtasks_get_current_user | Read | Get information about the currently authenticated Google user. Useful for verifying the connected account. |