此MCP服务器与Google Tasks集成,允许列出、读取、搜索、创建、更新和删除任务。
search
query
(字符串): 搜索查询list
cursor
(字符串): 分页游标create
taskListId
(字符串, 可选): 任务列表IDtitle
(字符串, 必填): 任务标题notes
(字符串, 可选): 任务备注due
(字符串, 可选): 截止日期update
taskListId
(字符串, 可选): 任务列表IDid
(字符串, 必填): 任务IDuri
(字符串, 必填): 任务URItitle
(字符串, 可选): 新任务标题notes
(字符串, 可选): 新任务备注status
(字符串, 可选): 新任务状态 ("needsAction" 或 "completed")due
(字符串, 可选): 新截止日期delete
taskListId
(字符串, 必填): 任务列表IDid
(字符串, 必填): 任务IDclear
taskListId
(字符串, 必填): 任务列表ID服务器提供了访问Google Tasks资源的功能:
gtasks:///<task_id>
)
https://www.googleapis.com/auth/tasks
gcp-oauth.keys.json
并放入此仓库的根目录(即gcp-oauth.keys.json
)确保使用npm run build
或npm run watch
构建服务器。
要通过Smithery自动安装适用于Claude Desktop的Google Tasks Server:
npx -y @smithery/cli install @zcaceres/gtasks --client claude
为了认证并保存凭据:
auth
参数运行服务器:npm run start auth
.gdrive-server-credentials.json
)要将此服务器与桌面应用程序集成,请在应用程序的服务器配置中添加以下内容:
{
"mcpServers": {
"gtasks": {
"command": "/opt/homebrew/bin/node",
"args": [
"{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
]
}
}
}
