AM

arpitbatra123/mcp-googletasks

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

51 stars 23 forks 质量 83 趋势 14MIT

arpitbatra123/mcp-googletasks是从 https://github.com/arpitbatra123/mcp-googletasks. 导入的 MCP 服务器候选

概览

arpitbatra123/mcp-googletasks是从 https://github.com/arpitbatra123/mcp-googletasks. 导入的 MCP 服务器候选

概述(AI 翻译)

这款模型上下文协议(MCP)服务器为MCP客户端与Google任务之间提供了桥梁,允许您直接从Claude Desktop、Cursor和Codex等客户端管理任务列表和任务。

[!注] 这个项目里的所有代码(除了一些修改)都是“氛围编码”——用Claude/Copilot生成,并按照我的指令。

特色

该MCP服务器提供以下功能:

任务列表管理

  • list-tasklists - 列出你所有的任务列表
  • get-tasklist - 获取特定任务列表的详细信息
  • create-tasklist - 创建新的任务列表
  • update-tasklist - 更新现有任务列表
  • delete-tasklist - 删除任务列表

任务管理

  • list-tasks - 列出任务列表中的所有任务,包括分页结果
  • get-task - 获取特定任务的详细信息
  • create-task - 创建新任务
  • update-task - 更新现有任务
  • delete-task - 删除任务
  • complete-task - 标记任务为已完成
  • move-task - 移动任务(重新排序、更改父级或跨任务列表移动)
  • clear-completed-tasks - 清除列表中所有已完成的任务

设置说明

1.创建 Google Cloud 项目并启用 API

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Google Tasks MCP Server

This Model Context Protocol (MCP) server provides a bridge between MCP clients and Google Tasks, allowing you to manage your task lists and tasks directly from clients like Claude Desktop, Cursor, and Codex.

[!NOTE] All (bar some edits) code in this project was “vibe coded” - generated with Claude/Copilot with instructions from me.

Features

This MCP server provides the following functionality:

Task List Management

  • list-tasklists - List all your task lists
  • get-tasklist - Get details about a specific task list
  • create-tasklist - Create a new task list
  • update-tasklist - Update an existing task list
  • delete-tasklist - Delete a task list

Task Management

  • list-tasks - List all tasks in a task list, including paginated results
  • get-task - Get details about a specific task
  • create-task - Create a new task
  • update-task - Update an existing task
  • delete-task - Delete a task
  • complete-task - Mark a task as completed
  • move-task - Move a task (reorder, change parent, or move across task lists)
  • clear-completed-tasks - Clear all completed tasks from a list

Setup Instructions

1. Create Google Cloud Project & Enable API

  1. Go to the Google Cloud Console
  2. Create a new project
  3. Navigate to “APIs & Services” > “Library”
  4. Search for “Google Tasks API” and enable it
  5. Go to “APIs & Services” > “Credentials”
  6. Click “Create Credentials” > “OAuth Client ID”
  7. Configure the OAuth consent screen (External is fine for personal use)
  8. For Application Type, select “Web application”
  9. Add “http://localhost:3000/oauth2callback” as an authorized redirect URI
  10. Create the client ID and secret

2. Configure Environment Variables

Create a .env file in this project directory:

GOOGLE_CLIENT_ID=your_client_id_here
GOOGLE_CLIENT_SECRET=your_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:3000/oauth2callback

Environment Variables:

  • GOOGLE_CLIENT_ID (required) - Your Google OAuth Client ID
  • GOOGLE_CLIENT_SECRET (required) - Your Google OAuth Client Secret
  • GOOGLE_REDIRECT_URI (optional) - OAuth redirect URI (defaults to http://localhost:3000/oauth2callback)

Note: The server validates that GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set at startup and will fail with clear error messages if they are missing or invalid.

3. Build the Server

  1. Install dependencies:
npm install
  1. Build the server:
npm run build

4. Configure an MCP Client

Codex

Add the server to ~/.codex/config.toml:

[mcp_servers.google-tasks]
command = "zsh"
args = ["-lc", "cd /path/to/google-tasks-mcp && exec node build/index.js"]

Replace /path/to/google-tasks-mcp with the path to this project, then restart Codex.

To verify the server is registered:

codex mcp list
codex mcp get google-tasks
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "google-tasks": { "command": "node", "args": ["/path/to/google-tasks-mcp/build/index.js"] } } }