KosmoKrator

productivity

Google Tasks MCP Integration for Vercel AI SDK

Connect Google Tasks to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Google Tasks MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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