Codemagic MCP by usefulapi
Trigger and inspect Codemagic CI builds, apps and artifacts.
使うべきか
品質と安全性
検出事項(2)
- LOWcodemagic_get_artifact_download_url 内
- LOWcodemagic_create_artifact_public_url 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"codemagic": {
"url": "https://codemagic.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://codemagic.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(9)
🟢codemagic_list_applications
List all applications (apps) in the Codemagic account, with their ids, names, and workflow ids. Codemagic REST: GET /apps.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢codemagic_get_application(id)
Get a single application (app) by id. Codemagic REST: GET /apps/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The application id."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢codemagic_list_builds(appId, workflowId, branch)
List builds, optionally filtered by application, workflow, and/or branch. Codemagic REST: GET /builds.
入力スキーマ
{
"type": "object",
"properties": {
"appId": {
"description": "Restrict to builds for this application id.",
"type": "string"
},
"workflowId": {
"description": "Restrict to builds for this workflow id.",
"type": "string"
},
"branch": {
"description": "Restrict to builds for this branch.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢codemagic_get_build(buildId)
Get a single build by id, including its status. Codemagic REST: GET /builds/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"buildId": {
"type": "string",
"description": "The build id."
}
},
"required": [
"buildId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢codemagic_list_caches(appId)
List the build caches for an application (id, size, last used, workflow). Codemagic REST: GET /apps/{appId}/caches.
入力スキーマ
{
"type": "object",
"properties": {
"appId": {
"type": "string",
"description": "The application id."
}
},
"required": [
"appId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢codemagic_get_artifact_download_url(secureFilename)
Get an authenticated download URL for a build artifact by its secure filename (from a build's artifacts list). Codemagic REST: GET /artifacts/{secureFilename}.
入力スキーマ
{
"type": "object",
"properties": {
"secureFilename": {
"type": "string",
"description": "The secure filename/path of the artifact (from a build's artifacts list)."
}
},
"required": [
"secureFilename"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴codemagic_start_build(appId, workflowId, branch, tag, environment, ...)
Start a new build for an application workflow. `appId` and `workflowId` are required; optionally target a branch or tag and pass environment/labels/instanceType. Codemagic REST: POST /builds.
入力スキーマ
{
"type": "object",
"properties": {
"appId": {
"type": "string",
"description": "The application id to build (required)."
},
"workflowId": {
"type": "string",
"description": "The workflow id to run (required)."
},
"branch": {
"description": "The branch to build.",
"type": "string"
},
"tag": {
"description": "The tag to build (alternative to branch).",
"type": "string"
},
"environment": {
"description": "Environment overrides for this build (variables, groups, etc.).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"labels": {
"description": "Labels to attach to this build.",
"type": "array",
"items": {
"type": "string"
}
},
"instanceType": {
"description": "The build machine instance type (e.g. mac_mini_m2, linux_x2).",
"type": "string"
}
},
"required": [
"appId",
"workflowId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴codemagic_cancel_build(buildId)
Cancel a running build by id. Codemagic REST: POST /builds/{id}/cancel.
入力スキーマ
{
"type": "object",
"properties": {
"buildId": {
"type": "string",
"description": "The build id to cancel."
}
},
"required": [
"buildId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴codemagic_create_artifact_public_url(secureFilename, expiresAt)
Create a public (shareable, time-limited) download URL for a build artifact by its secure filename. Codemagic REST: POST /artifacts/{secureFilename}/public-url.
入力スキーマ
{
"type": "object",
"properties": {
"secureFilename": {
"type": "string",
"description": "The secure filename/path of the artifact (from a build's artifacts list)."
},
"expiresAt": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "When the public URL should expire, as a UNIX timestamp in SECONDS."
}
},
"required": [
"secureFilename",
"expiresAt"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス