View as Markdown

Google Tasks Integration

Manage Google Tasks lists and to-dos synced with your Google account

The Google Tasks integration provides access to manage Google Tasks lists and to-dos synced with your Google account through the Integrate MCP server.

Installation

The Google Tasks integration is included with the SDK:

import { googleTasksIntegration } from "integrate-sdk/server";

Setup

1. Create a Google Tasks OAuth App

  1. Go to Google Cloud Console
  2. Create a new OAuth application
  3. Configure your redirect URI
  4. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Google Tasks integration to your server configuration. The integration automatically reads GOOGLE_TASKS_CLIENT_ID and GOOGLE_TASKS_CLIENT_SECRET from your environment variables:

import { createMCPServer, googleTasksIntegration } from "integrate-sdk/server";
 
export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    googleTasksIntegration({
    }),
  ],
});

You can override the environment variables by passing explicit values:

googleTasksIntegration({
  clientId: process.env.CUSTOM_GOOGLE_TASKS_ID,
  clientSecret: process.env.CUSTOM_GOOGLE_TASKS_SECRET,
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";
 
await client.authorize("google_tasks");
const result = await client.google_tasks.clearCompleted({});
 
console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, googleTasksIntegration } from "integrate-sdk";
 
const customClient = createMCPClient({
  integrations: [googleTasksIntegration()],
});

Configuration Options

export interface GoogleTasksIntegrationConfig {
  /** Google OAuth client ID (defaults to GOOGLE_TASKS_CLIENT_ID env var) */
  clientId?: string;

Tools

google_tasks_clear_completed

Tasks clear completed

export type GoogleTasksClearCompletedParams = Record<string, unknown>;

google_tasks_create_task

Tasks create task

export type GoogleTasksCreateTaskParams = Record<string, unknown>;

google_tasks_create_tasklist

Tasks create tasklist

export type GoogleTasksCreateTasklistParams = Record<string, unknown>;

google_tasks_delete_task

Tasks delete task

export type GoogleTasksDeleteTaskParams = Record<string, unknown>;

google_tasks_delete_tasklist

Tasks delete tasklist

export type GoogleTasksDeleteTasklistParams = Record<string, unknown>;

google_tasks_get_task

Tasks get task

export type GoogleTasksGetTaskParams = Record<string, unknown>;

google_tasks_get_tasklist

Tasks get tasklist

export type GoogleTasksGetTasklistParams = Record<string, unknown>;

google_tasks_list_tasklists

Tasks list tasklists

export type GoogleTasksListTasklistsParams = Record<string, unknown>;

google_tasks_list_tasks

Tasks list tasks

export type GoogleTasksListTasksParams = Record<string, unknown>;

google_tasks_move_task

Tasks move task

export type GoogleTasksMoveTaskParams = Record<string, unknown>;

google_tasks_update_task

Tasks update task

export type GoogleTasksUpdateTaskParams = Record<string, unknown>;

google_tasks_update_tasklist

Tasks update tasklist

export type GoogleTasksUpdateTasklistParams = Record<string, unknown>;

Notes

  • Category: Productivity
  • Authentication mode: OAuth