云任务 MCP 服务器
Google Cloud Tasks 的模型上下文协议 (MCP) 服务器,可实现与 Google Cloud Tasks 队列和任务的交互。
特征
列出指定位置的 Cloud Tasks 队列
获取特定队列的详细信息
暂停和恢复队列
列出队列中的任务
获取特定任务的详细信息
从队列中删除任务
Related MCP server: Azure MCP Server
设置
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Cloud Tasks Server:
npx -y @smithery/cli install @gitskyflux/cloudtasks-mcp --client claude手动安装
安装依赖项:
npm install构建项目:
npm run build配置 Claude Desktop :将以下内容添加到您的
claude_desktop_config.json中:"cloudtasks-mcp": { "command": "node", "args": [ "/path/to/cloudtasks-mcp/build/index.js" ], "env": { "GOOGLE_CLOUD_LOCATION_PROJECTS": "location:project-id" } }将 args 中的路径替换为 index.js 的实际路径。
在 GOOGLE_CLOUD_LOCATION_PROJECTS 中定义以逗号分隔的
location:project-id对列表。示例:us-east1:google-project-id1,us-central1:google-project-id2第一个列出的项目是默认项目。应用程序希望在每个项目的 keys 文件夹中找到 .json 凭证文件。示例:keys/google-project-id1.json
确保相关的云服务帐户具有与 Cloud Tasks 交互的适当权限,例如
Cloud Tasks Admin或较低权限。
可用工具
listQueues:列出指定位置的所有 Cloud Tasks 队列getQueue:获取特定 Cloud Tasks 队列的详细信息pauseQueue:暂停 Cloud Tasks 队列resumeQueue:恢复暂停的 Cloud Tasks 队列listTasks:列出 Cloud Tasks 队列中的任务getTask:获取 Cloud Tasks 队列中特定任务的详细信息deleteTask:从 Cloud Tasks 队列中删除任务
Claude Desktop 中的示例用法
以下是如何使用 Claude Desktop 中每个工具的示例:
暂停或恢复队列
Pause the special-events queue. Resume the special-events queue.获取待处理任务
How many tasks are currently pending in the special-events queue?运行暂停队列中的任务
Run the task ending with the ID 123456 in the special-events queue.发展
# Watch mode
npm run devThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.