什么是 io.github.joepangallo/cloud-agent?
面向 AI 软件工程场景的代理工具,可编写代码、创建 PR、审查代码、生成测试等。
README
mcp-server-cloud-agent
MCP server for Cloud Agent — a hosted AI software engineer that writes code, opens PRs, reviews code, generates tests, runs security scans, and answers codebase questions.
Connect from any MCP client (Claude Code, Cursor, Windsurf, or your own agents) and delegate engineering tasks.
How it works
This package is a local stdio MCP proxy that forwards requests to the Cloud Agent hosted backend at agent.leddconsulting.com. Your MCP client communicates with this server over stdio; the server makes authenticated HTTPS calls to the backend on your behalf.
Legacy cloudagent.metaltorque.dev URLs still redirect, but new configs should use agent.leddconsulting.com.
Data flow: MCP client → (stdio) → this server → (HTTPS) → Cloud Agent backend → GitHub
What data leaves your machine:
- Task descriptions, repo names, file paths, and PR URLs you provide
- Your API key (sent over HTTPS only, never over HTTP)
What the backend does with your data:
- Clones repos from GitHub using its own GitHub App credentials
- Executes tasks in isolated sandboxes
- Opens PRs and posts reviews to GitHub on your behalf
Tools (9)
| Tool | Description | Side effects |
|---|---|---|
run_task | Write code, fix bugs, add features — returns result + PR URL | Creates branches and PRs |
review_pr | Review a GitHub PR with structured feedback | Optionally posts comments to GitHub |
ask_codebase | Ask questions about any GitHub repo (auto-indexes on first use) | Read-only |
generate_tests | Generate tests for a file, opens a PR | Creates branches and PRs |
security_scan | Security + dependency scan across one or more repos | Read-only |
list_sessions | List recent sessions with status, cost, duration, PR URLs | Read-only |
list_playbooks | List available workflow templates | Read-only |
run_playbook | Run a playbook against a repo | Creates branches and PRs |
get_usage | Usage stats — sessions, cost, time saved, breakdowns | Read-only |
Setup
1. Get an API key
Sign in to your Cloud Agent workspace at agent.leddconsulting.com and generate an API key at /auth/api-key. Keys use the ca_* prefix.
2. Configure your MCP client
Claude Code (~/.claude.json):
{
"mcpServers": {
"cloud-agent": {
"command": "npx",
"args": ["-y", "mcp-server-cloud-agent"],
"env": {
"CLOUD_AGENT_API_KEY": "ca_your_key_here"
}
}
}
}
Cursor / Windsurf (MCP settings):
{
"mcpServers": {
"cloud-agent": {
"command": "npx",
"args": ["-y", "mcp-server-cloud-agent"],
"env": {
"CLOUD_AGENT_API_KEY": "ca_your_key_here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
CLOUD_AGENT_API_KEY | Yes | API key (ca_* prefix) from your Cloud Agent workspace |
CLOUD_AGENT_URL | No | Backend URL (defaults to https://agent.leddconsulting.com) |
Usage Examples
Once configured, your MCP client can call these tools directly:
Fix a bug:
"Use cloud-agent run_task on myorg/myapp to fix the broken login flow"
Review a PR:
"Use cloud-agent review_pr on https://github.com/myorg/myapp/pull/42"
Ask about code:
"Use cloud-agent ask_codebase on myorg/myapp: how does authentication work?"
Generate tests:
"Use cloud-agent generate_tests on myorg/myapp for src/auth.ts"
Security scan:
"Use cloud-agent security_scan on myorg/myapp and myorg/api"
Sample Output
run_task response:
{
"response": "Fixed the login redirect bug. Changed src/auth.ts to properly handle OAuth callback URLs.",
"cost_usd": 0.42,
"duration_ms": 45000,
"pr_url": "https://github.com/myorg/myapp/pull/87"
}
security_scan response:
{
"repos_scanned": 1,
"vulnerabilities": 3,
"secrets_found": 0,
"findings": [...]
}
Troubleshooting
| Problem | Solution |
|---|---|
| "CLOUD_AGENT_API_KEY is required" | Set the env var in your MCP client config |
| "Refusing to send API key over insecure HTTP" | Use HTTPS (the default). Don't set CLOUD_AGENT_URL to an HTTP URL |
| "Request timed out" | Tasks can take up to 10 minutes. Check list_sessions for status |
| "HTTP 401" | Your API key is invalid or expired. Generate a new one |
| "HTTP 429" | Rate limited. Wait and retry |
License
MIT
常见问题
io.github.joepangallo/cloud-agent 是什么?
面向 AI 软件工程场景的代理工具,可编写代码、创建 PR、审查代码、生成测试等。
相关 Skills
网页构建器
by anthropics
面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。
✎ 在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。
前端设计
by anthropics
面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。
✎ 想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。
网页应用测试
by anthropics
用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。
✎ 借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。
相关 MCP Server
GitHub
编辑精选by GitHub
GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。
✎ 这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。
Context7 文档查询
编辑精选by Context7
Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。
✎ 它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。
by tldraw
tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。
✎ 这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。