
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 listsget-tasklist- Get details about a specific task listcreate-tasklist- Create a new task listupdate-tasklist- Update an existing task listdelete-tasklist- Delete a task list
Task Management
list-tasks- List all tasks in a task list, including paginated resultsget-task- Get details about a specific taskcreate-task- Create a new taskupdate-task- Update an existing taskdelete-task- Delete a taskcomplete-task- Mark a task as completedmove-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
- Go to the Google Cloud Console
- Create a new project
- Navigate to “APIs & Services” > “Library”
- Search for “Google Tasks API” and enable it
- Go to “APIs & Services” > “Credentials”
- Click “Create Credentials” > “OAuth Client ID”
- Configure the OAuth consent screen (External is fine for personal use)
- For Application Type, select “Web application”
- Add “http://localhost:3000/oauth2callback” as an authorized redirect URI
- 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 IDGOOGLE_CLIENT_SECRET(required) - Your Google OAuth Client SecretGOOGLE_REDIRECT_URI(optional) - OAuth redirect URI (defaults tohttp://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
- Install dependencies:
npm install
- 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
安装
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"]
}
}
}