MCP 服务器

codemagic

io.usefulapi/codemagic
云与基础设施 开发者工具 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Lists Codemagic applications, builds, caches, and artifacts, and starts, cancels, or retrieves CI build outputs.

codemagic_cancel_build
Cancel build
Cancel a running build by id. Codemagic REST: POST /builds/{id}/cancel.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['buildId'], 'properties': {'buildId': {'type': 'string', 'description': 'The build id to cancel.'}}}
codemagic_create_artifact_public_url
Create artifact public URL
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['secureFilename', 'expiresAt'], 'properties': {'expiresAt': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'When the public URL should expire, as a UNIX timestamp in SECONDS.'}, 'secureFilename': {'type': 'string', 'description': "The secure filename/path of the artifact (from a build's artifacts list)."}}}
codemagic_get_application
Get application
Get a single application (app) by id. Codemagic REST: GET /apps/{id}.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'The application id.'}}}
codemagic_get_artifact_download_url
Get artifact download URL
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['secureFilename'], 'properties': {'secureFilename': {'type': 'string', 'description': "The secure filename/path of the artifact (from a build's artifacts list)."}}}
codemagic_get_build
Get build
Get a single build by id, including its status. Codemagic REST: GET /builds/{id}.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['buildId'], 'properties': {'buildId': {'type': 'string', 'description': 'The build id.'}}}
codemagic_list_applications
List applications
List all applications (apps) in the Codemagic account, with their ids, names, and workflow ids. Codemagic REST: GET /apps.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
codemagic_list_builds
List builds
List builds, optionally filtered by application, workflow, and/or branch. Codemagic REST: GET /builds.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'appId': {'type': 'string', 'description': 'Restrict to builds for this application id.'}, 'branch': {'type': 'string', 'description': 'Restrict to builds for this branch.'}, 'workflowId': {'type': 'string', 'description': 'Restrict to builds for this workflow id.'}}}
codemagic_list_caches
List caches
List the build caches for an application (id, size, last used, workflow). Codemagic REST: GET /apps/{appId}/caches.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['appId'], 'properties': {'appId': {'type': 'string', 'description': 'The application id.'}}}
codemagic_start_build
Start build
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['appId', 'workflowId'], 'properties': {'tag': {'type': 'string', 'description': 'The tag to build (alternative to branch).'}, 'appId': {'type': 'string', 'description': 'The application id to build (required).'}, 'branch': {'type': 'string', 'description': 'The branch to build.'}, 'labels': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Labels to attach to this build.'}, 'workflowId': {'type': 'string', 'description': 'The workflow id to run (required).'}, 'environment': {'type': 'object', 'description': 'Environment overrides for this build (variables, groups, etc.).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'instanceType': {'type': 'string', 'description': 'The build machine instance type (e.g. mac_mini_m2, linux_x2).'}}}
已更改
codemagic_create_artifact_public_url
2026年10月2日 02:40
已更改
codemagic_cancel_build
2026年10月2日 02:40
已更改
codemagic_start_build
2026年10月2日 02:40
已更改
codemagic_get_artifact_download_url
2026年10月2日 02:40
已更改
codemagic_list_caches
2026年10月2日 02:40
已更改
codemagic_get_build
2026年10月2日 02:40
已更改
codemagic_list_builds
2026年10月2日 02:40
已更改
codemagic_get_application
2026年10月2日 02:40
已更改
codemagic_list_applications
2026年10月2日 02:40
已添加
codemagic_create_artifact_public_url
2026年9月30日 02:40
已添加
codemagic_cancel_build
2026年9月30日 02:40
已添加
codemagic_start_build
2026年9月30日 02:40
已添加
codemagic_get_artifact_download_url
2026年9月30日 02:40
已添加
codemagic_list_caches
2026年9月30日 02:40
已添加
codemagic_get_build
2026年9月30日 02:40
已添加
codemagic_list_builds
2026年9月30日 02:40
已添加
codemagic_get_application
2026年9月30日 02:40
已添加
codemagic_list_applications
2026年9月30日 02:40