Codemagic MCP by usefulapi

Trigger and inspect Codemagic CI builds, apps and artifacts.

Should I use this

Quality & Safety

A
Description quality
98%
Schema completeness
91%
Naming quality
76%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (2)

  • LOWTool 'codemagic_get_artifact_download_url' name length outside 3-30 rangein codemagic_get_artifact_download_url
  • LOWTool 'codemagic_create_artifact_public_url' name length outside 3-30 rangein codemagic_create_artifact_public_url

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,269Tokens (tool definitions)
~923 BTypical response size
Moderate attention impact (0.99% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "codemagic": {
      "url": "https://codemagic.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://codemagic.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢codemagic_list_applications

List all applications (apps) in the Codemagic account, with their ids, names, and workflow ids. Codemagic REST: GET /apps.

Input Schema

{
  "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}.

Input Schema

{
  "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.

Input Schema

{
  "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}.

Input Schema

{
  "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.

Input Schema

{
  "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)

Return the authenticated download URL of a build artifact, from its secure filename or URL in a build's artifacts list. It does not download the file. Downloading from this URL needs the Codemagic API token in the x-auth-token header; for a link that works without the token, use codemagic_create_artifact_public_url. Codemagic REST: GET /artifacts/{secureFilename}.

Input Schema

{
  "type": "object",
  "properties": {
    "secureFilename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "description": "The secure filename/path of the artifact, or its https://api.codemagic.io/artifacts/... URL (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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "type": "object",
  "properties": {
    "secureFilename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "description": "The secure filename/path of the artifact, or its https://api.codemagic.io/artifacts/... URL (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"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools
verifiedversion not recorded9 tools
verifiedversion not recorded9 tools
verifiedversion not recorded9 tools
verifiedversion not recorded9 tools