Google Tasks Mcp 伺服器
這個模型上下文協議(MCP)伺服器提供了一個橋樑,連接Claude和Google任務,讓你可以直接通過Claude管理你的任務列表和任務。
概覽
什麼是 MCP Google Tasks?
模型上下文協議 (MCP) Google Tasks 是一個伺服器,充當 AI 助手 Claude 與 Google Tasks 之間的橋樑。這種整合使得用戶能夠直接通過 Claude 管理任務列表和個別任務,簡化了任務管理的過程。
MCP Google Tasks 的特點
- 無縫整合:將 Claude 與 Google Tasks 連接,以實現高效的任務管理。
- 用戶友好的界面:設計簡單易用,使用戶能夠輕鬆與任務互動。
- 實時更新:在 Claude 中所做的更改會立即反映在 Google Tasks 中,確保用戶始終擁有最新信息。
- 任務組織:用戶可以創建、編輯和刪除任務,並將其組織到列表中以便更好地管理。
- 可訪問性:任何擁有 Google 帳戶的人都可以使用,讓用戶能夠立即開始管理任務。
如何使用 MCP Google Tasks
- 設置您的 Google 帳戶:確保您擁有 Google 帳戶並已登錄。
- 連接到 Claude:訪問 Claude 並導航到任務管理功能。
- 創建任務:使用語音命令或文本輸入創建新任務。
- 管理您的任務:根據需要通過 Claude 編輯、刪除或組織任務。
- 與 Google Tasks 同步:所有更改將自動與您的 Google Tasks 帳戶同步。
常見問題解答
MCP Google Tasks 的目的是什么?
MCP Google Tasks 的目的是通過允許用戶通過 AI 助手管理任務來提高生產力,使任務管理更加高效和可訪問。
我需要特殊帳戶來使用 MCP Google Tasks 嗎?
不,您只需要一個標準的 Google 帳戶即可訪問和利用 MCP Google Tasks 的功能。
我可以從多個設備訪問我的任務嗎?
可以,由於 MCP Google Tasks 與 Google Tasks 同步,您可以從任何登錄到 Google 帳戶的設備訪問您的任務。
使用 MCP Google Tasks 需要付費嗎?
只要您擁有 Google 帳戶,該服務是免費使用的。
MCP Google Tasks 如何確保數據安全?
MCP Google Tasks 遵循標準安全協議來保護用戶數據,確保您的任務和個人信息保持安全。
詳細
Google Tasks MCP Server
This Model Context Protocol (MCP) server provides a bridge between Claude and Google Tasks, allowing you to manage your task lists and tasks directly through Claude.
<a href="https://glama.ai/mcp/servers/@arpitbatra123/mcp-googletasks"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@arpitbatra123/mcp-googletasks/badge" alt="Google Tasks Server MCP server" /> </a>Note: All ( bar some edits ) code in this project was "vibe coded" - generated with Claude 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 listget-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 or change parent)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" as an authorized redirect URI
- Create the client ID and secret
2. Configure Claude for Desktop
- Install Claude for Desktop
- Open the Claude configuration file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- MacOS:
- Add the Google Tasks MCP server configuration:
{
"mcpServers": {
"google-tasks": {
"command": "node",
"args": ["/path/to/google-tasks-mcp/build/index.js"],
"env": {
"GOOGLE_CLIENT_ID": "your_client_id_here",
"GOOGLE_CLIENT_SECRET": "your_client_secret_here",
"GOOGLE_REDIRECT_URI": "http://localhost:3000/oauth2callback"
}
}
}
}
Replace the path and credentials with your own values.
3. Build and Run the Server
Installing via Smithery
To install Google Tasks Integration Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @arpitbatra123/mcp-googletasks --client claude
Manual Installation
- Install dependencies:
npm install
- Build the server:
npm run build
- Restart Claude for Desktop
Authentication Flow
When you first use the Google Tasks MCP server:
- Use the
authenticate
tool to get an authorization URL - Visit the URL in your browser and sign in with your Google account
- After authorizing, you'll receive a code on the browser page
- Use the
set-auth-code
tool with this code to complete authentication - You can now use all other tools to interact with Google Tasks
Note that your authentication is session-based and will be lost when you restart the server. You'll need to re-authenticate each time.
Requirements
- Node.js 14+
- Claude for Desktop (latest version)
- Google Cloud Project with Tasks API enabled
Screenshot
License
This project is for demonstration purposes only. Use at your own risk.
伺服器配置
{
"mcpServers": {
"mcp-googletasks": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--arpitbatra123--mcp-googletasks--mcp-googletasks",
"node build/index.js"
],
"env": {
"GOOGLE_CLIENT_ID": "google-client-id",
"GOOGLE_CLIENT_SECRET": "google-client-secret",
"GOOGLE_REDIRECT_URI": "google-redirect-uri"
}
}
}
}