Trigger and inspect Codemagic CI builds, apps and artifacts.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Cancel a running build by id. Codemagic REST: POST /builds/{id}/cancel.
The build id to cancel.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Cancel a running build by id. Codemagic REST: POST /builds/{id}/cancel.
| Argument | Type | Description |
|---|---|---|
| buildId* | string | The build id to cancel. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"buildId"
],
"properties": {
"buildId": {
"type": "string",
"description": "The build id to cancel."
}
}
}Create a public (shareable, time-limited) download URL for a build artifact by its secure filename. Codemagic REST: POST /artifacts/{secureFilename}/public-url.
| Argument | Type | Description |
|---|---|---|
| expiresAt* | integer | When the public URL should expire, as a UNIX timestamp in SECONDS. |
| secureFilename* | string | The secure filename/path of the artifact (from a build's artifacts list). |
{
"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)."
}
}
}Get a single application (app) by id. Codemagic REST: GET /apps/{id}.
| Argument | Type | Description |
|---|---|---|
| id* | string | The application id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The application id."
}
}
}Get an authenticated download URL for a build artifact by its secure filename (from a build's artifacts list). Codemagic REST: GET /artifacts/{secureFilename}.
| Argument | Type | Description |
|---|---|---|
| secureFilename* | string | The secure filename/path of the artifact (from a build's artifacts list). |
{
"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)."
}
}
}Get a single build by id, including its status. Codemagic REST: GET /builds/{id}.
| Argument | Type | Description |
|---|---|---|
| buildId* | string | The build id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"buildId"
],
"properties": {
"buildId": {
"type": "string",
"description": "The build id."
}
}
}List all applications (apps) in the Codemagic account, with their ids, names, and workflow ids. Codemagic REST: GET /apps.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}List builds, optionally filtered by application, workflow, and/or branch. Codemagic REST: GET /builds.
| Argument | Type | Description |
|---|---|---|
| appId | string | Restrict to builds for this application id. |
| branch | string | Restrict to builds for this branch. |
| workflowId | string | Restrict to builds for this workflow id. |
{
"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."
}
}
}List the build caches for an application (id, size, last used, workflow). Codemagic REST: GET /apps/{appId}/caches.
| Argument | Type | Description |
|---|---|---|
| appId* | string | The application id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "The application id."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| tag | string | The tag to build (alternative to branch). |
| appId* | string | The application id to build (required). |
| branch | string | The branch to build. |
| labels | array | Labels to attach to this build. |
| workflowId* | string | The workflow id to run (required). |
| environment | object | Environment overrides for this build (variables, groups, etc.). |
| instanceType | string | The build machine instance type (e.g. mac_mini_m2, linux_x2). |
{
"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)."
}
}
}