此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/tasksgcp-oauth.keys.json 并放置到此仓库的根目录下(即 gcp-oauth.keys.json)确保使用 npm run build 或 npm run watch 构建服务器。
要通过Smithery自动安装Google Tasks Server for Claude Desktop:
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": [
"{此处填写绝对路径}/dist/index.js"
]
}
}
}