KosmoKrator

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.

7 functions 5 read 2 write Manual OAuth token auth

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

Scoped tools

Expose only Google Tasks instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

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 toolSource functionTypeDescription
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.

Related Google Tasks Pages