productivity
Google Tasks MCP Integration for Claude Agent SDK
Connect Google Tasks to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Tasks to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Google Tasks MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |