关于 Codemagic MCP by usefulapi
这是一个托管的 MCP 服务,用于查看 Codemagic 应用、CI 构建和制品,也可启动或取消构建。它面向希望通过 MCP 客户端管理 Codemagic 工作流、无需本地安装服务的团队。
主要功能
- 01列出应用并查看构建
- 02查看构建详情和缓存
- 03获取制品下载链接
- 04启动或取消构建
- 05创建制品公开链接
适用场景
- 01检查 CI 构建状态和详情
- 02启动或取消 Codemagic 构建
- 03在构建后获取制品链接
MCP 相关
它将 Codemagic 应用、构建、缓存和制品操作作为工具提供给 MCP 客户端,并支持控制构建。连接托管端点 https://codemagic.usefulapi.io/mcp,并使用 Codemagic 凭据进行身份验证。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://codemagic.usefulapi.io/mcpclaude mcp add --transport http io-usefulapi-codemagic https://codemagic.usefulapi.io/mcp{"mcpServers":{"io-usefulapi-codemagic":{"type":"http","url":"https://codemagic.usefulapi.io/mcp"}}}在 Cursor 中打开{"servers":{"io-usefulapi-codemagic":{"type":"http","url":"https://codemagic.usefulapi.io/mcp"}}}在 VS Code 中打开{"mcpServers":{"io-usefulapi-codemagic":{"type":"http","url":"https://codemagic.usefulapi.io/mcp"}}}{"mcpServers":{"io-usefulapi-codemagic":{"serverUrl":"https://codemagic.usefulapi.io/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
9此工具无需参数。
详细介绍
usefulapi 提供的 Codemagic MCP
触发并检查 Codemagic CI 构建、应用和制品。托管服务,无需本地安装。
在线端点: https://codemagic.usefulapi.io/mcp · 主页: https://usefulapi.io
连接
- Claude(claude.ai、Desktop):打开 Customize → Connectors,点击 + Add → Add custom connector,然后粘贴
https://codemagic.usefulapi.io/mcp。 - Claude Code:
claude mcp add --transport http codemagic https://codemagic.usefulapi.io/mcp,然后运行/mcp登录。 - VS Code: 添加到 VS Code。
- Cursor 和其他客户端: 将此 URL 添加为远程 MCP 服务:
{
"mcpServers": {
"codemagic": {
"url": "https://codemagic.usefulapi.io/mcp"
}
}
}
仅添加 URL。请勿在客户端配置中添加 Authorization 标头或 API 密钥:服务会通过 OAuth 为你登录,登录页面会要求你提供 Codemagic 凭据。
分步设置说明、凭据查找位置和常见问题解答:https://usefulapi.io/codemagic/
首次连接时,你需要粘贴 Codemagic 凭据。凭据会经过验证,按用户分别存储, 并仅限你本人使用——配置文件中不会包含密钥。
工具
| 工具 | 类型 | 功能 |
|---|---|---|
codemagic_list_applications | read | 列出应用 |
codemagic_get_application | read | 获取应用 |
codemagic_list_builds | read | 列出构建 |
codemagic_get_build | read | 获取构建 |
codemagic_list_caches | read | 列出缓存 |
codemagic_get_artifact_download_url | read | 获取制品下载 URL |
codemagic_start_build | write | 启动构建 |
codemagic_cancel_build | write | 取消构建 |
codemagic_create_artifact_public_url | write | 创建制品公开 URL |
codemagic_usage_status | meta | 使用情况(免费套餐用量计数) |
codemagic_request_feature | meta | 申请缺少的功能 |
codemagic_upgrade | meta | 升级到 Pro(无限*) |
codemagic_cancel_subscription | meta | 取消 Pro 订阅 |
read 工具为只读;write 工具会修改数据(客户端应在执行前征求确认);meta 工具用于报告用量、管理订阅或提交功能申请。
定价
| 套餐 | 价格 | 限额 |
|---|---|---|
| Free | $0 | 每月 50 次工具调用 |
| Pro | $9/mo 或 $90/yr(免费使用 2 个月) | 无限* |
*此服务上的 Pro 套餐有每月 10,000 次工具调用的合理使用限额。如需更多,请发送邮件至 [email protected]。
Pro 仅适用于此服务。使用 codemagic_upgrade 订阅(它会返回 Stripe Checkout 链接)。你可以随时使用 codemagic_cancel_subscription 取消:Pro 服务会持续到已付费周期结束,当前周期不予退款;在此之前运行 codemagic_upgrade 可撤销取消操作。也可以发送邮件至 [email protected]。
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。