Token导航 LogoToken导航

MCP Server · 开发工具

Cloud Agent MCP Server

用于管理AI助手在GitHub仓库上工作的云代理服务,支持任务创建、状态监控和仓库操作。

stdio官方级别未说明来源级核验工具 0@modelcontextprotocol/inspector
GitHub代码管理TypeScriptClaude开发工具Cursor

快速开始

作者 / 组织
jxnl
提供方
jxnl
运行时
Node.js

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

6

仓库热度

收录来源

2 个

MCP World

选型结论

Cloud Agent MCP Server 属于开发工具类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,适配 Claude、Cursor,有可以直接复制的安装命令;接入前要先准备 API Key。

分类

开发工具

传输方式

stdio

认证方式

API Key

部署方式

公开资料未说明

安装与配置

安装命令

npx @modelcontextprotocol/inspector

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

云代理MCP服务器

MCP服务器 光标云代理API。让AI助手创建和管理在GitHub存储库上工作的云代理。

快速开始

# Install
npm install -g cursor-cloud-agent-mcp

# Set your API key
export CURSOR_API_KEY=your_api_key_here

# Use with Cursor (create .cursor/mcp.json)
{
  "mcpServers": {
    "cursor-cloud-agent": {
      "command": "npx",
      "args": ["-y", "cursor-cloud-agent-mcp"],
      "env": {
        "CURSOR_API_KEY": "${env:CURSOR_API_KEY}"
      }
    }
  }
}

安装

从npm安装

npm install -g cursor-cloud-agent-mcp

或者在项目中本地安装:

npm install cursor-cloud-agent-mcp

从源代码安装

如果你正在开发或想从源代码运行:

# Clone and install dependencies
git clone https://github.com/jxnl/cursor-cloud-agent-mcp
cd cloud-agent-mcp
npm install

# Set your API key
export CURSOR_API_KEY=your_api_key_here

# Run HTTP server
npm start
# Server runs at http://localhost:3000/mcp

# Or run stdio server
npm run start:stdio

配置

环境变量

变量必填描述
CURSOR_API_KEY是API密钥来自 cursor.com/settings
PORT否仅适用于HTTP版本的服务器端口(默认值:3000)

连接客户

光标

选项1:使用npm包(推荐)

通过npm安装后,创建 .cursor/mcp.json:

{
  "mcpServers": {
    "cursor-cloud-agent": {
      "command": "npx",
      "args": ["-y", "cursor-cloud-agent-mcp"],
      "env": {
        "CURSOR_API_KEY": "${env:CURSOR_API_KEY}"
      }
    }
  }
}

或者,如果全局安装:

{
  "mcpServers": {
    "cursor-cloud-agent": {
      "command": "cursor-cloud-agent-mcp",
      "env": {
        "CURSOR_API_KEY": "${env:CURSOR_API_KEY}"
      }
    }
  }
}

选项2:来源(开发)

如果从源代码运行,请创建 .cursor/mcp.json:

{
  "mcpServers": {
    "cursor-cloud-agent": {
      "command": "npm",
      "args": ["run", "start:stdio"],
      "env": {
        "CURSOR_API_KEY": "${env:CURSOR_API_KEY}"
      }
    }
  }
}

选项3:HTTP服务器(备选)

如果您更喜欢HTTP版本,请将其配置为:

{
  "mcpServers": {
    "cursor-cloud-agent": {
      "url": "http://localhost:3000/mcp",
      "headers": {}
    }
  }
}

然后运行 npm start 在单独的终端中启动HTTP服务器。

克劳德桌面

增添 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cloud-agent": {
      "type": "http",
      "url": "http://localhost:3000/mcp"
    }
  }
}
MCP检查员
npx @modelcontextprotocol/inspector
# Connect to http://localhost:3000/mcp

用法

典型工作流程

1. get_repos          → Get current repo URL and branch
2. create_task       → Launch task with prompt
3. get_task          → Check status (CREATING → RUNNING → FINISHED)
4. add_followup       → (optional) Send more instructions while running
5. get_conversation   → Review what the task did

可用工具

发现工具
工具说明
get_repos检测当前git仓库(存储库URL、分支、未提交的更改)。可选择列出所有可访问的存储库。 先叫这个。 注意:使用时 include_all: true,过滤器(regex_patterns)是必需的。获取所有回购有严格的速率限制(1/min,30/小时)。
get_me获取API密钥信息(验证身份验证)
get_models列出可用的LLM型号
任务生命周期工具
工具说明
create_task使用任务提示启动云任务
list_tasks列出您的所有云任务
get_task获取特定任务的状态
add_followup向正在运行的任务发送其他指令
get_conversation获取完整的对话历史记录
delete_task永久删除任务

常见示例

任务
{
  "tool": "create_task",
  "arguments": {
    "prompt": "Add a README.md file with installation instructions",
    "repository": "https://github.com/your-org/your-repo",
    "auto_pr": true
  }
}
列出任务
{
  "tool": "list_tasks",
  "arguments": {
    "filter": "FINISHED|RUNNING",
    "limit": 10
  }
}
获取存储库信息
{
  "tool": "get_repos"
}

参考

工具文档

get_repos -获取存储库

基本用法(仅限当前仓库):

{
  "tool": "get_repos"
}

获取所有可访问的存储库(需要过滤器):

重要提示: 使用时 include_all: true,你必须提供 regex_patterns 以过滤结果。这可以防止返回太多的存储库。

使用正则表达式模式过滤存储库:

{
  "tool": "get_repos",
  "arguments": {
    "include_all": true,
    "regex_patterns": ["^my-.*"]
  }
}

多种过滤模式(OR逻辑):

{
  "tool": "get_repos",
  "arguments": {
    "include_all": true,
    "regex_patterns": [".*api.*", ".*backend.*", ".*frontend.*"]
  }
}

指定工作目录:

{
  "tool": "get_repos",
  "arguments": {
    "working_directory": "/path/to/project"
  }
}

筛选器示例:

  • ["^my-.*"] -以“我的-”开头的repo
  • [".*api.*"] -包含“api”的repo
  • ["github.com/myorg"] -来自特定组织的repo
  • [".*backend.*", ".*server.*"] -重新存储与任一模式匹配的内容
get_me -验证身份验证
{
  "tool": "get_me"
}
get_models -列出可用型号
{
  "tool": "get_models"
}
create_task -启动云任务

基本用法:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Add a README.md file with installation instructions",
    "repository": "https://github.com/your-org/your-repo"
  }
}

具有分支规范:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Fix authentication bug",
    "repository": "https://github.com/your-org/your-repo",
    "ref": "main"
  }
}

自动创建PR:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Add user authentication",
    "repository": "https://github.com/your-org/your-repo",
    "auto_pr": true
  }
}

自定义分支名称:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Implement new feature",
    "repository": "https://github.com/your-org/your-repo",
    "branch_name": "feature/new-feature"
  }
}

指定型号:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Refactor codebase",
    "repository": "https://github.com/your-org/your-repo",
    "model": "claude-4-sonnet-thinking"
  }
}

使用计划文件:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Implement the features described in the plan",
    "repository": "https://github.com/your-org/your-repo",
    "plan_file": "./plan.md"
  }
}

包含所有选项的完整示例:

{
  "tool": "create_task",
  "arguments": {
    "prompt": "Add comprehensive test coverage",
    "repository": "https://github.com/your-org/your-repo",
    "ref": "develop",
    "branch_name": "feature/add-tests",
    "auto_pr": true,
    "model": "o3",
    "plan_file": "./test-plan.md"
  }
}
list_tasks -列出所有任务

基本列表:

{
  "tool": "list_tasks"
}

限制结果:

{
  "tool": "list_tasks",
  "arguments": {
    "limit": 10
  }
}

使用光标分页:

{
  "tool": "list_tasks",
  "arguments": {
    "limit": 20,
    "cursor": "bc_ghi789"
  }
}

按状态筛选:

{
  "tool": "list_tasks",
  "arguments": {
    "filter": "FINISHED|RUNNING"
  }
}

按存储库筛选:

{
  "tool": "list_tasks",
  "arguments": {
    "filter": ".*my-repo.*"
  }
}

按分支名称筛选:

{
  "tool": "list_tasks",
  "arguments": {
    "filter": "feature/.*"
  }
}

按摘要内容筛选:

{
  "tool": "list_tasks",
  "arguments": {
    "filter": ".*README.*"
  }
}

组合过滤器:

{
  "tool": "list_tasks",
  "arguments": {
    "filter": "FINISHED.*my-repo"
  }
}

筛选器示例:

  • "FINISHED" -仅完成任务
  • "RUNNING|CREATING" -活动任务
  • ".*api.*" -处理API回购的任务
  • "feature/.*" -功能分支上的任务
  • "FINISHED.*README" -已完成的任务及其README摘要
  • "FAILED|CANCELLED" -失败或取消的任务
get_task -获取任务状态
{
  "tool": "get_task",
  "arguments": {
    "id": "bc_abc123"
  }
}
add_followup -发送后续说明
{
  "tool": "add_followup",
  "arguments": {
    "id": "bc_abc123",
    "prompt": "Also add a troubleshooting section"
  }
}
get_conversation -获取对话历史记录
{
  "tool": "get_conversation",
  "arguments": {
    "id": "bc_abc123"
  }
}
delete_task -删除任务
{
  "tool": "delete_task",
  "arguments": {
    "id": "bc_abc123"
  }
}

响应形状

所有工具都返回与匹配的结构化JSON响应 云代理API 规范。看 docs.md 获取完整的API文档。

get_me 响应
{
  "apiKeyName": "Production API Key",
  "createdAt": "2024-01-15T10:30:00Z",
  "userEmail": "developer@example.com"
}
get_models 响应
{
  "models": [
    "claude-4-sonnet-thinking",
    "o3",
    "claude-4-opus-thinking"
  ]
}
get_repos 响应
{
  "current": {
    "repository": "https://github.com/your-org/your-repo",
    "branch": "main",
    "has_uncommitted_changes": false
  },
  "available": [
    {
      "owner": "your-org",
      "name": "your-repo",
      "repository": "https://github.com/your-org/your-repo"
    }
  ],
  "total_count": 1
}
create_task 响应
{
  "id": "bc_abc123",
  "name": "Add README Documentation",
  "status": "CREATING",
  "source": {
    "repository": "https://github.com/your-org/your-repo",
    "ref": "main"
  },
  "target": {
    "branchName": "feature/add-readme",
    "url": "https://cursor.com/agents?id=bc_abc123",
    "autoCreatePr": true,
    "openAsCursorGithubApp": false,
    "skipReviewerRequest": false
  },
  "createdAt": "2024-01-15T10:30:00Z"
}
list_tasks 响应
{
  "tasks": [
    {
      "id": "bc_abc123",
      "name": "Add README Documentation",
      "status": "FINISHED",
      "source": {
        "repository": "https://github.com/your-org/your-repo",
        "ref": "main"
      },
      "target": {
        "branchName": "cursor/add-readme-1234",
        "url": "https://cursor.com/agents?id=bc_abc123",
        "prUrl": "https://github.com/your-org/your-repo/pull/1234",
        "autoCreatePr": false,
        "openAsCursorGithubApp": false,
        "skipReviewerRequest": false
      },
      "summary": "Added README.md with installation instructions and usage examples",
      "createdAt": "2024-01-15T10:30:00Z"
    }
  ],
  "nextCursor": "bc_ghi789"
}
get_task 响应
{
  "id": "bc_abc123",
  "name": "Add README Documentation",
  "status": "FINISHED",
  "source": {
    "repository": "https://github.com/your-org/your-repo",
    "ref": "main"
  },
  "target": {
    "branchName": "cursor/add-readme-1234",
    "url": "https://cursor.com/agents?id=bc_abc123",
    "prUrl": "https://github.com/your-org/your-repo/pull/1234",
    "autoCreatePr": false,
    "openAsCursorGithubApp": false,
    "skipReviewerRequest": false
  },
  "summary": "Added README.md with installation instructions and usage examples",
  "createdAt": "2024-01-15T10:30:00Z"
}

状态值: CREATING, RUNNING, FINISHED, FAILED, CANCELLED

get_conversation 响应
{
  "id": "bc_abc123",
  "messages": [
    {
      "id": "msg_001",
      "type": "user_message",
      "text": "Add a README.md file with installation instructions"
    },
    {
      "id": "msg_002",
      "type": "assistant_message",
      "text": "I'll help you create a comprehensive README.md file..."
    }
  ]
}
add_followup 响应
{
  "id": "bc_abc123"
}
delete_task 响应
{
  "id": "bc_abc123"
}

高级

计划并行任务

使用 /plan-parallel-tasks 将项目分解为多个并行任务:

/plan-parallel-tasks
project_description: "Add user authentication with login, signup, and password reset"

这将:

  1. 呼叫 get_repos 检测您的存储库
  2. 将项目分解为独立的任务
  3. 将任务分为多个阶段(并行→ 顺序)
  4. 为每个选项提供精确的提示 create_task 呼叫
并行化规则

CAN并行运行:

  • 修改完全不同文件的任务
  • 在不接触共享文件的情况下创建新文件的任务

无法并行运行:

  • 修改同一文件的任务
  • 一个任务依赖于另一个任务的输出
  • 同时修改package.json、tsconfig.json等的任务。

服务器版本

此软件包包括两个服务器版本:

  • HTTP服务器 (src/server.ts):在端口3000上运行Express HTTP服务器。用于远程连接或需要HTTP端点时。
  • 标准服务器 (src/server-stdio.ts):使用标准输入/输出。建议用于本地集成。更适合基于过程的产卵。

运行方式:

  • HTTP: npm start (默认)
  • 音乐节目 : npm run start:stdio

发展

健康检查

服务器公开了一个健康检查终结点:

curl http://localhost:3000/health

退货: {"status":"ok","service":"cursor-cloud-agent-mcp","version":"1.0.2"}

发布到npm

要将此包发布到npm:

# Make sure you're logged in
npm login

# Publish
npm publish

该套餐将于以下时间提供 cursor-cloud-agent-mcp 在npm上。

许可证

麻省理工学院

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

GitHub集成TypeScript本地部署AI代理任务自动化代码管理开发工具

支持客户端

ClaudeCursor

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备API Key,没有凭据没法直接试。
  • 公开摘要偏短,具体能力和限制要回到仓库确认。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到API Key的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Cloud Agent MCP Server

MCP World · 本页

0stdio有2 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Cloud Agent MCP Server 怎么安装?

公开资料给出的安装命令是 npx @modelcontextprotocol/inspector,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Cloud Agent MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Cloud Agent MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Cloud Agent MCP Server 需要 API Key 吗?

公开资料标注的认证方式是API Key,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Cloud Agent MCP Server 支持哪些客户端?

公开资料标注支持 Claude、Cursor;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP