Skip to main content
Glama

codemagic-mcp

An MCP (Model Context Protocol) server that gives AI agents a unified surface over Codemagic CI/CD and App Store Connect / Google Play, enabling a complete mobile app delivery pipeline — from onboarding a repository through building, signing, and publishing — driven by conversation.

codemagic-mcp MCP server

codemagic-mcp MCP server

What it does

The server exposes tools across five domains:

  • Codemagic — list teams and apps, trigger builds, wait for results, retrieve artifacts, fetch build logs, manage variable groups, caches, and webhooks

  • App Store Connect — manage TestFlight, upload and submit builds, set listing text and screenshots, validate, submit, and release to the App Store

  • Google Play — publish AABs, promote releases, manage staged rollouts, set listing text and screenshots, read and reply to user reviews

  • Testing — parse JUnit XML test results from any Codemagic build; get a pass/fail/error/skip summary with per-failure details

  • Cross-store — validate localized release notes against platform char limits and BCP-47 locale codes

The intended end-to-end flows are:

iOS: list_asc_builds → get_yaml_template → trigger_build → wait_for_build → upload_build_to_asc → set_version_metadata → validate_app_submission → submit_for_app_store_review → release_version

Android: get_latest_build_number → get_yaml_template → trigger_build → wait_for_build → upload_to_google_play → promote_google_play_release

Related MCP server: Codemagic

Prerequisites

  • Node.js 20 or 22 (LTS)

  • asc CLI — asccli.sh — required for App Store Connect tools

  • google-play CLI — part of codemagic-cli-tools — required for Google Play tools

    pip install codemagic-cli-tools

Environment variables

Required

Variable

Description

CODEMAGIC_API_TOKEN

Your Codemagic API token. Found in Codemagic → Account settings.

App Store Connect tools (iOS)

Variable

Description

ASC_KEY_ID

App Store Connect API key ID

ASC_ISSUER_ID

App Store Connect issuer ID

ASC_PRIVATE_KEY_B64

Base64-encoded .p8 private key (base64 -i AuthKey_XXXX.p8)

ASC_BYPASS_KEYCHAIN

Set to 1 to force env var auth instead of the macOS keychain

Google Play tools (Android)

Variable

Description

GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS

Raw JSON content of your Google Play service account key file

For the Google Play credentials you can use the @file: prefix to avoid pasting JSON inline:

GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS=@file:/path/to/service-account.json

Installation

No installation needed. Add the server to your MCP client config with npx and it downloads and runs automatically:

"command": "npx",
"args": ["-y", "codemagic-mcp-server"]

See the Claude Desktop section below for the full config.

Global install

If you prefer a permanent install instead of npx:

npm install -g codemagic-mcp-server

Then use codemagic-mcp as the command in your MCP client config:

"command": "codemagic-mcp",
"args": []

Development

To build from source:

git clone https://github.com/todah-zg/codemagic-mcp.git
cd codemagic-mcp
npm install
npm run build

Then use the local path in your MCP config — see Running from a local clone below.

Running

MCP Inspector (development / testing)

Set the required environment variables in your shell, then:

npx @modelcontextprotocol/inspector node dist/index.js

Claude Desktop

Add to your claude_desktop_config.json:

If installed from npm

{
  "mcpServers": {
    "codemagic": {
      "command": "npx",
      "args": ["-y", "codemagic-mcp-server"],
      "env": {
        "CODEMAGIC_API_TOKEN": "your-token",
        "ASC_KEY_ID": "your-key-id",
        "ASC_ISSUER_ID": "your-issuer-id",
        "ASC_PRIVATE_KEY_B64": "base64-encoded-p8-key",
        "ASC_BYPASS_KEYCHAIN": "1",
        "GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS": "@file:/path/to/service-account.json"
      }
    }
  }
}

If running from a local clone (development):

{
  "mcpServers": {
    "codemagic": {
      "command": "node",
      "args": ["/absolute/path/to/codemagic-mcp-server/dist/index.js"],
      "env": {
        "CODEMAGIC_API_TOKEN": "your-token",
        "ASC_KEY_ID": "your-key-id",
        "ASC_ISSUER_ID": "your-issuer-id",
        "ASC_PRIVATE_KEY_B64": "base64-encoded-p8-key",
        "ASC_BYPASS_KEYCHAIN": "1",
        "GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS": "@file:/path/to/service-account.json"
      }
    }
  }
}

The config file is at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Using with Claude Desktop

Connecting the server

To verify the server is connected, open a new conversation and ask: "ping the codemagic mcp server". If connected, Claude will call the ping tool and respond with "Codemagic MCP server is running." If not connected, check that the path in args is correct and that all required environment variables are set, then restart Claude Desktop with Cmd+Q (not just closing the window).

If the server does not appear, check that the CODEMAGIC_API_TOKEN environment variable is set correctly in the config and that the path to dist/index.js is absolute and correct.

Workflow prompts

Once connected, type / in the Claude Desktop input field to open the command picker. You will see five workflow prompts from this server:

Prompt

When to use

/onboarding

Starting from scratch — connect a repo, get a first build passing

/android_release

Build a signed AAB and publish it to Google Play

/ios_release

Build a signed IPA and upload it to TestFlight

/first_publish_ios

One-time setup for first-time iOS App Store publishers — Apple Developer enrollment, app record, age rating, privacy labels

/first_publish_android

One-time setup for first-time Google Play publishers — Play account, content rating, closed testing period

Select a prompt and Claude will receive a step-by-step playbook and begin executing the workflow using the available tools.

Example conversations

You can also describe what you want in plain language — Claude will select the right tools automatically:

"I have a Flutter app at github.com/example/myapp. Set it up on Codemagic and get a first build running."

"Trigger a release build for my Android app, version 2.1.0. The last build number on Google Play was 41."

"What is the current App Store review status for my iOS app?"

Config file location

Platform

Path

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Tools

Codemagic

Tool

Description

ping

Check that the server is running

list_teams

List teams the authenticated account belongs to

list_applications

List apps in your Codemagic account or team

list_workflows

List workflows for an app

list_builds

List builds with optional filters (app, status, branch, workflow)

get_build

Get full details for a single build including artifacts

get_build_logs

Fetch per-step log text for a build — by default returns failed steps only

trigger_build

Trigger a build; optionally supply an inline codemagic.yaml or override instance_type

wait_for_build

Single-check tool — returns status immediately; call again until terminal state

cancel_build

Cancel a running or queued build

add_application

Connect a Git repository to Codemagic; auto-generates SSH deploy keys for SSH URLs

get_webhook_url

Get the incoming webhook URL to paste into your Git provider settings

list_webhooks

List webhook subscriptions configured for an app

delete_webhook

Delete a webhook subscription from an app

list_caches

List build caches for an app

delete_cache

Delete all caches or a specific cache by ID

create_public_artifact_url

Create a time-limited public download URL for a build artifact

App Store Connect (iOS)

Tool

Description

list_asc_apps

List apps in App Store Connect

list_asc_builds

List TestFlight builds for an app

list_testflight_groups

List TestFlight beta groups

get_asc_review_status

Get the App Store review state for an app

get_asc_release_status

Full release pipeline dashboard (builds, TestFlight, App Store)

upload_to_testflight

Download an IPA from Codemagic and upload to TestFlight

submit_beta_review

Submit a TestFlight build for external beta review (required before external groups)

add_testflight_tester

Add a tester by email to TestFlight, optionally to a group

create_testflight_group

Create an internal or external TestFlight beta group

set_export_compliance

Declare encryption usage for a build (required before App Store submission)

set_version_metadata

Set "What's New" text and other per-locale metadata for an App Store version

validate_app_submission

Preflight check — returns an ordered list of blockers before submission

upload_build_to_asc

Upload an IPA to App Store Connect (fast, non-blocking); poll list_asc_builds until VALID

submit_for_app_store_review

Attach a processed build to a version and submit for App Store review

release_version

Release an approved App Store version immediately

set_phased_release

Create, pause, resume, or complete a phased rollout

get_ios_store_listing

Pull current App Store listing text for all locales (name, description, keywords, etc.)

set_ios_store_listing

Update App Store listing text for a locale — only provided fields are changed

list_ios_screenshot_types

List supported screenshot device types and their required pixel dimensions

upload_ios_screenshots

Download screenshots from URLs and upload to App Store Connect for a device type and locale

Google Play (Android)

Tool

Description

list_google_play_tracks

List tracks (internal, alpha, beta, production) with release info

list_google_play_bundles

List uploaded AABs by version code

upload_to_google_play

Download an AAB from Codemagic and publish to a Google Play track

get_latest_build_number

Get the highest version code across all (or specified) tracks

promote_google_play_release

Promote a release between tracks (internal → alpha → beta → production)

set_rollout_fraction

Expand, halt, or resume a staged rollout by setting the user fraction

share_app_internally

Upload an AAB to Internal App Sharing for instant QA install links

get_android_store_listing

Fetch current Google Play store listing for a language (title, descriptions)

set_android_store_listing

Update Google Play store listing for a language — only provided fields are changed

upload_android_screenshots

Download screenshots from URLs and upload to Google Play for a language and device type

set_android_data_safety

Submit the data safety declaration CSV (exported from Play Console) — re-upload when data practices change

list_google_play_reviews

List recent user reviews with optional star rating filter (e.g. 1–2 stars only); includes developer reply status and review IDs

reply_to_google_play_review

Post or update a developer reply to a user review (max 350 characters)

Testing

Tool

Description

get_test_results

Fetch and parse JUnit XML test results from a Codemagic build — returns a pass/fail/error/skip summary with per-failure details and stack trace excerpts. Covers Flutter, Android instrumented tests, and iOS (via xcresult conversion). Pass artifact_url directly if you already have it from wait_for_build.

Cross-store

Tool

Description

prepare_release_notes

Validate localized release notes — checks BCP-47 locale codes and char limits (Android: 500, iOS: 4000)

check_publish_readiness

Aggregate publish-readiness checks for iOS or Android. API-verifiable items (valid build, listing completeness, binary validation) run live; items with no API (age rating, privacy labels, legal agreements) are always listed as human-required. Each item is tagged as 'agent can fix' or 'human required'.

Variable Groups

Tool

Description

list_variable_groups

List variable groups for a team or app

create_variable_group

Create a new variable group (team or app scoped)

add_variable

Add a non-secret variable to a group

list_variables

List variables in a group (required to get IDs before updating or deleting)

update_variable

Update the name or value of a variable by ID

delete_variable

Delete a variable from a group by ID

YAML

Tool

Description

validate_codemagic_yaml

Validate a codemagic.yaml against the official Codemagic JSON schema

get_yaml_template

Get a starter codemagic.yaml for android, ios, flutter, flutter-native, react-native, ionic-capacitor, ionic-cordova, kmm, snap, unity, unity-oculus, dotnet-maui, ios-screenshots, android-screenshots, flutter-screenshots — plus android-debug, flutter-android-debug, react-native-android-debug for initial onboarding

list_yaml_template_types

List all supported project types for get_yaml_template

detect_project_type

Detect the project type from a repository file listing — returns the recommended template and debug template to start with

Prompts

Prompt

Description

onboarding

Zero to first debug build — add repo, get template, trigger build, configure webhook

android_release

Signed AAB from build to Google Play — build number, template, trigger, publish, promote

ios_release

Signed IPA from build to App Store — build number, template, trigger, TestFlight, metadata, validate, submit, release

first_publish_ios

One-time setup checklist for first-time iOS publishers — Apple Developer enrollment, app record, age rating, privacy labels, then hands off to /ios_release

first_publish_android

One-time setup checklist for first-time Android publishers — Play account, content rating, closed testing period, then hands off to /android_release

Prompts are reusable workflow playbooks. In Claude Desktop they appear as slash commands. An agent can also invoke them by name to get step-by-step instructions for a complete workflow.

Project structure

src/
  index.ts              — Server setup, env validation, transport
  codemagic.ts          — Codemagic API functions (v3 + v1)
  asc.ts                — App Store Connect CLI wrapper
  googleplay.ts         — Google Play CLI wrapper
  androidpublisher.ts   — Google Play androidpublisher REST API client (listings, screenshots, reviews)
  testing.ts            — JUnit XML parser (no external dependencies)
  ssh.ts                — SSH key generation and deploy key setup
  yaml.ts               — YAML validation logic
  templates.ts          — Static codemagic.yaml templates
  detection.ts          — Project type detection from repository file listings
  prompts.ts            — MCP prompt resources (workflow playbooks)
  tools/
    codemagic.ts        — Codemagic MCP tool registrations
    asc.ts              — App Store Connect MCP tool registrations
    googleplay.ts       — Google Play MCP tool registrations
    yaml.ts             — YAML MCP tool registrations
    releasenotes.ts     — Release notes validation tool
    readiness.ts        — Publish readiness check tool
    testing.ts          — Test results tool

The src/ modules contain pure functions (API calls, CLI wrappers) with no MCP dependency. The src/tools/ modules wire those functions up as MCP tools — input schemas, formatting, error responses.

Notes

  • Inline YAML: trigger_build accepts an optional yaml_content parameter. When provided, the YAML is uploaded alongside the build request and does not need to exist in the repository. Useful for agent-generated configurations.

  • Build numbers: Templates use $BUILD_NUMBER and $VERSION_NAME as plain variables — no store lookups happen inside the YAML. The agent determines the correct values via list_asc_builds or list_google_play_tracks before triggering, then passes them through the variables parameter of trigger_build.

  • Signing: iOS signing happens on the Codemagic build machine (macOS + keychain). The MCP server never handles signing identities directly.

  • Team vs. personal account: list_applications and list_builds accept an optional team_id. Without it, they operate on the authenticated user's personal account.

  • Variable groups and secrets: add_variable only creates non-secret variables. Secret values (API keys, certificates, tokens) should be added directly in the Codemagic UI — secrets should never pass through the agent. Once set up, reference groups by name in trigger_build via the groups parameter.

Available Tools

63 tools
add_applicationA

Add a new application to Codemagic by connecting a Git repository. For HTTPS URLs: if you have connected your GitHub, GitLab, or Bitbucket account via Codemagic Settings → Integrations, private repositories are accessible with just the URL — no credentials needed. For SSH URLs (git@... or ssh://git@...): a fresh Ed25519 deploy key is generated automatically. The private key is stored directly in Codemagic and the public key is added to GitHub automatically if the gh CLI is installed and authenticated, or shown for manual setup otherwise. Note: after adding, the app shows 'Set up build' in the Codemagic UI — this is expected.

Inputs: repository_url (required), team_id.

add_testflight_testerA

Add a tester to TestFlight by email address. Optionally assign them to a specific beta group — use list_testflight_groups to get group names. The tester receives an invitation email from Apple.

Inputs: app_id (required), email (required), group.

add_variableA

Add a non-secret variable to a Codemagic variable group. For secret values (API keys, certificates, tokens) use the Codemagic UI instead — secrets should never pass through the agent.

Inputs: group_id (required), name (required), value (required).

cancel_buildA
Destructive

Cancel a running or queued Codemagic build. Use when a triggered build is no longer needed — for example if the wrong branch was used or an error was found after triggering. Has no effect on builds that have already finished.

Inputs: build_id (required).

check_publish_readinessA

Aggregate publish-readiness checks for iOS or Android into a single pass/fail report. API-verifiable checks (valid build, store listing completeness, binary validation) run live. Items that have no API (age rating, privacy labels, content policy, legal agreements) are always listed as 'human required' so nothing is silently skipped. Each item is tagged as 'agent can fix' or 'human required', giving a clear action plan. Call this before submit_for_app_store_review (iOS) or promoting to production (Android). Use first_publish_ios or first_publish_android prompts for the one-time account/app-record setup.

Inputs: platform (required), app_id, version, package_name, +1 more.

create_public_artifact_urlA

Create a time-limited public download URL for a build artifact. Pass the artifact URL from get_build or wait_for_build. The returned URL is accessible without authentication — anyone with the link can download the artifact. Use for sharing IPAs or AABs with testers who don't have Codemagic access.

Inputs: artifact_url (required), expires_in_hours.

create_testflight_groupA

Create a new TestFlight beta group for an app. External groups require beta app review before testers can install builds. Internal groups (Apple org members) do not require review — useful for fast internal QA.

Inputs: app_id (required), name (required), internal.

create_variable_groupA

Create a new variable group in Codemagic. Requires a team_id (personal accounts do not support global variable groups) or an app_id for app-level groups. After creating, add non-secret variables via add_variable, or add secret values directly in the Codemagic UI.

Inputs: name (required), team_id, app_id.

delete_cacheA
Destructive

Delete a build cache for a Codemagic app. If cache_id is provided, deletes that specific workflow cache. If omitted, deletes all caches for the app. Deletion is asynchronous — the API returns immediately and completes in the background.

Inputs: app_id (required), cache_id.

delete_variableA
Destructive

Delete a variable from a Codemagic variable group. The variable_id comes from list_variable_groups. This cannot be undone.

Inputs: group_id (required), variable_id (required).

delete_webhookB
Destructive

Delete a webhook subscription from a Codemagic app

Inputs: app_id (required), webhook_id (required).

detect_project_typeA
Read-only

Detect the Codemagic project type from a repository file listing. Returns the recommended template type, confidence level, and the suggested debug template to use for initial onboarding. For JavaScript/TypeScript projects, providing package.json content significantly improves accuracy.

Inputs: file_paths (required), package_json_content.

get_android_store_listingA

Fetch the current Google Play store listing for a specific language. Returns title, short description, and full description. Use before set_android_store_listing to review existing text.

Inputs: package_name (required), language.

get_asc_release_statusA

Get a full release pipeline status dashboard for an app, including latest build, TestFlight, App Store version, and submission state

Inputs: app_id (required).

get_asc_review_statusA

Get the current App Store review status for an app. Call this after submitting to the App Store to monitor progress and check for blockers.

Inputs: app_id (required).

get_buildA

Get full details for a single build including artifact download URLs. The build ID comes from trigger_build or list_builds. Artifact URLs require x-auth-token — use them with upload_to_testflight, upload_to_google_play, or create_public_artifact_url.

Inputs: build_id (required).

get_build_logsA
Read-only

Fetch logs for a Codemagic build. By default returns logs for failed steps only — the primary use case is diagnosing why a build failed. Pass step_name to fetch logs for a specific step regardless of status (e.g. 'building_ios', 'testing', 'publishing'). Always returns the step list with statuses first.

Inputs: build_id (required), step_name.

get_ios_store_listingA

Pull the current App Store listing text for all locales of an app version. Returns app-info fields (name, subtitle, privacy URLs) and version fields (description, keywords, promotional text, support URL, what's new) grouped by locale. Use before set_ios_store_listing to review what is currently live.

Inputs: app_id (required), version (required).

get_latest_build_numberA

Get the highest versionCode currently on Google Play across all tracks (or specific tracks). Use this before triggering a release build to determine the next BUILD_NUMBER — increment the result by 1.

Inputs: package_name (required), tracks.

get_test_resultsA

Fetch and parse test results from a Codemagic build. Searches the build's artifact list for JUnit XML files and returns a structured pass/fail/error/skip summary with per-failure details (message + stack trace excerpt). Covers Flutter, Android instrumented tests, and iOS (xcresult converted by Codemagic's CLI tools). Pass artifact_url directly if you already have it from wait_for_build — skips the artifact search. The build must be in a terminal state (finished or failed) for artifacts to be available. Requires the codemagic.yaml workflow to include a test_report glob pointing at the JUnit XML output.

Inputs: build_id (required), artifact_url.

get_webhook_urlA
Read-only

Get the incoming webhook URL for a Codemagic app. Paste this URL into your Git provider (GitHub, GitLab, or Bitbucket) repository settings to trigger builds automatically on push or pull request events.

Inputs: app_id (required).

get_yaml_templateA

Get a starter codemagic.yaml template for a given project type. Templates cover build and signing only — publishing is handled separately via App Store Connect tools. Call list_yaml_template_types to see all valid project_type values. IMPORTANT: Android templates use linux_x2 by default (cheaper, no Mac needed). Personal accounts (no team) cannot use linux_x2 — replace it with mac_mini_m2 for personal accounts.

Inputs: project_type (required).

list_applicationsA

List all applications in your Codemagic account. Call this first to get the app IDs needed by all other Codemagic tools.

Inputs: team_id.

list_asc_appsA

List apps in App Store Connect. Call this first to get the ASC app ID needed by all other App Store Connect tools.

Inputs: no named parameters.

list_asc_buildsC

List TestFlight builds for an app in App Store Connect. Find the highest version number, increment by 1, and pass that as BUILD_NUMBER in trigger_build variables before triggering a release build.

Inputs: app_id (required).

list_buildsA

List builds for a team with optional filters. Returns build IDs and status. Use get_build with a build ID to retrieve full details and artifact download URLs.

Inputs: team_id (required), app_id, status, branch, +2 more.

list_cachesA
Read-only

List build caches for a Codemagic app. Each cache is scoped to a workflow. Use the cache IDs with delete_cache to free up storage or force a clean build.

Inputs: app_id (required).

list_google_play_bundlesA

List all uploaded App Bundles (AAB) for an app on Google Play, with their version codes. Use this to audit what has already been uploaded before triggering a new build.

Inputs: package_name (required).

list_google_play_reviewsA

List recent Google Play user reviews for an app. Only reviews that contain text are returned — star-only ratings are excluded by the API. Use max_star_rating to focus on negative reviews (e.g. max_star_rating=2 for 1–2 star reviews). Each review includes the review ID needed for reply_to_google_play_review. Reviews are ordered by last modified date, most recent first.

Inputs: package_name (required), max_results, max_star_rating, translation_language.

list_google_play_tracksB

List Google Play tracks (internal, alpha, beta, production) with current release info and version codes. Find the highest versionCode across all tracks, increment by 1, and pass that as BUILD_NUMBER in trigger_build variables before triggering a release build.

Inputs: package_name (required).

list_ios_screenshot_typesA

List the supported screenshot device types for the App Store and their required pixel dimensions. By default returns the two most-required types: IPHONE_65 and IPAD_PRO_3GEN_129. Pass all=true to get the full matrix of all supported device types. Use the deviceType values returned here as the device_type parameter for upload_ios_screenshots.

Inputs: all.

list_teamsA

List teams the authenticated Codemagic account belongs to. Use the team IDs returned here with list_applications, list_builds, and other tools that accept an optional team_id.

Inputs: no named parameters.

list_testflight_groupsA

List TestFlight beta groups for an app. Use a group name from this list in the beta_group parameter of upload_to_testflight to distribute to testers automatically after upload.

Inputs: app_id (required).

list_variable_groupsA

List variable groups for a team or app in Codemagic. Use group names to reference them in trigger_build. Secret values are never returned — manage secrets directly in the Codemagic UI.

Inputs: team_id, app_id.

list_variablesA
Read-only

List variables in a Codemagic variable group. Returns variable IDs, names, and values. Secret variable values are returned as null — only non-secret values are visible. Use the variable IDs with update_variable and delete_variable.

Inputs: group_id (required).

list_webhooksA
Read-only

List webhook subscriptions configured for a Codemagic app

Inputs: app_id (required).

list_workflowsA

List workflows for an application. Returns workflow names and IDs — use the ID in trigger_build to run a specific workflow. Note: yaml-defined workflows only appear after their first build has run.

Inputs: app_id (required).

list_yaml_template_typesA

List all available codemagic.yaml template types

Inputs: no named parameters.

pingA

Check that the server is alive and return its version

Inputs: no named parameters.

prepare_release_notesA

Validate localized release notes before submitting to the App Store or Google Play. Checks that each locale is a valid BCP-47 code (e.g. en-US, fr-FR, zh-Hans) and that text fits within platform char limits (Android: 500, iOS: 4000). Pass platform='both' to validate against the stricter Android limit for notes that will go to both stores.

Inputs: notes (required), platform (required).

promote_google_play_releaseA

Promote a release between Google Play tracks (e.g. internal → alpha → beta → production) without re-uploading. Set user_fraction to enable staged rollout on the target track (0.1 = 10% of users). To halt an in-progress staged rollout: set source_track=target_track='production' and release_status='halted'. To resume a halted rollout: same tracks with release_status='inProgress' and a user_fraction.

Inputs: package_name (required), source_track (required), target_track (required), user_fraction, +1 more.

release_versionA
Destructive

Release an App Store version that has been approved and is waiting in 'Pending Developer Release' state. This immediately makes the update available to all users (or starts the phased rollout if one was configured). Use set_phased_release with action=create before submission if you want a gradual rollout instead of an instant release.

Inputs: app_id (required), version (required).

reply_to_google_play_reviewA

Post or update a developer reply to a Google Play user review. Replies are limited to 350 characters. If the review already has a developer reply, this call replaces it. Get the review_id from list_google_play_reviews. Write a personal, helpful reply — responding to negative reviews improves store ratings and user trust.

Inputs: package_name (required), review_id (required), reply_text (required).

set_android_data_safetyA

Submit the data safety declaration for a Google Play app. The declaration describes what data the app collects, how it is used, and whether it is shared. Accepts the raw CSV exported from Play Console → App content → Data safety → Export CSV. Re-upload whenever data practices change (new data type, updated retention policy, etc.). Takes effect immediately — there is no staging step and no GET endpoint to retrieve current labels.

Inputs: package_name (required), csv (required).

set_android_store_listingA

Update the Google Play store listing for a specific language. Only the fields you provide are updated — omitted fields are left unchanged. Changes go live immediately on commit; there is no staging step on Google Play.

Inputs: package_name (required), language, title, short_description, +1 more.

set_export_complianceA

Set the export compliance declaration for an iOS build. Required before App Store submission and for TestFlight external distribution. Most apps only use standard HTTPS/TLS — set uses_non_exempt_encryption to false. Only set it to true if the app implements custom or proprietary encryption beyond standard protocols. Defaults to the latest build for the app; pass build_id to target a specific build.

Inputs: app_id (required), uses_non_exempt_encryption (required), build_id.

set_ios_store_listingA

Update App Store listing text for a single locale. Only the fields you provide are changed — omitted fields are left as-is. App-info fields (name, subtitle) apply to all versions of the app. Version fields (description, keywords, whatsNew, etc.) apply to the specified version only. Changes are staged through the asc CLI and validated before being applied.

Inputs: app_id (required), version (required), locale, name, +8 more.

set_phased_releaseA

Manage a phased rollout for an App Store version. Phased rollout gradually releases the update over 7 days: 1% → 2% → 5% → 10% → 20% → 50% → 100%. Actions: 'create' — configure phased rollout before submitting for review. 'pause' — pause an in-progress rollout (use if a critical bug is found after release). 'resume' — resume a paused rollout. 'complete' — immediately release to all remaining users.

Inputs: app_id (required), version (required), action (required).

set_rollout_fractionA

Adjust the staged rollout percentage for an existing release on a Google Play track. Use this to gradually expand a rollout (e.g. 10% → 25% → 50% → 100%). Requires the version code of the release currently in the staged rollout.

Inputs: package_name (required), track (required), version_code (required), rollout_fraction (required).

set_version_metadataA

Update App Store version localization metadata — What's New text, description, keywords, and more. What's New is required for every release before submitting for review. Call once per locale — en-US is the required default; add other locales if the app supports them. Use validate_app_submission afterward to confirm the update resolved the blocker.

Inputs: app_id (required), version (required), locale, whats_new, +5 more.

share_app_internallyA

Upload an AAB from Codemagic as a Google Play internal app sharing link. Returns an install URL that can be shared with testers instantly — no track, no review, no version code ceremony. Testers need the internal app sharing feature enabled on their device. Ideal for quick QA before promoting to a track.

Inputs: aab_url (required).

submit_beta_reviewA

Submit a build for TestFlight beta app review. Required before external beta groups can install the build — Apple reviews it once, then all external groups can access it. Internal groups (Apple employees / org members) do not require beta review. Get the build ID from list_asc_builds.

Inputs: build_id (required).

submit_for_app_store_reviewA

Attach a processed build to an App Store version and submit it for review. The build must have processingState VALID — confirm with list_asc_builds before calling. Requires version metadata (What's New) and export compliance to be set first. Use validate_app_submission to catch blockers before submitting.

Inputs: app_id (required), version (required), build_id (required).

trigger_buildA

Trigger a new build on Codemagic. For release builds: determine BUILD_NUMBER first using list_asc_builds (iOS) or list_google_play_tracks (Android), then pass it in the variables parameter. Use yaml_content to supply an inline codemagic.yaml — get a starter template from get_yaml_template and validate it with validate_codemagic_yaml before triggering. Call wait_for_build with the returned build ID to wait for completion and retrieve artifact URLs.

Inputs: app_id (required), workflow_id (required), branch, tag, +5 more.

update_variableA

Update the name or value of an existing non-secret variable in a Codemagic variable group. The variable_id comes from list_variable_groups. For secret values use the Codemagic UI — secrets should never pass through the agent.

Inputs: group_id (required), variable_id (required), name (required), value (required).

upload_android_screenshotsA

Download screenshot images from URLs and upload them to Google Play for a specific language and device type. Google allows up to 8 screenshots per device type. Supported formats: JPEG and 24-bit PNG (no alpha). Max 8 MB per file. Common image types: phoneScreenshots, sevenInchScreenshots, tenInchScreenshots, tvScreenshots, wearScreenshots. Set replace=true to delete all existing screenshots of this type before uploading (recommended when refreshing a set). All uploads are committed atomically — if any upload fails, no changes go live.

Inputs: package_name (required), screenshot_urls (required), language, image_type, +1 more.

upload_build_to_ascA

Download an IPA from a Codemagic artifact URL and upload it to App Store Connect. Returns immediately once the upload commits — does NOT wait for Apple's processing pipeline. After calling this, poll list_asc_builds until the build's processingState is VALID, then call submit_for_app_store_review with the build ID.

Inputs: app_id (required), ipa_url (required).

upload_ios_screenshotsA

Download screenshot images from URLs and upload them to App Store Connect for a specific device type and locale. Apple allows up to 10 screenshots per set. Supported formats: PNG (no alpha) and JPEG. Max 10 MB per file. Call list_ios_screenshot_types first to get valid device_type values and required dimensions. Set replace=true to delete existing screenshots before uploading (recommended when refreshing a set).

Inputs: app_id (required), version (required), device_type (required), screenshot_urls (required), +2 more.

upload_to_google_playA

Download an AAB artifact from Codemagic and publish it to a Google Play track. Use the AAB artifact URL returned by wait_for_build. Start with the internal track — it is safest for first uploads and can be promoted to alpha/beta/production manually in the Play Console.

Inputs: aab_url (required), track (required), release_name, release_notes, +2 more.

upload_to_testflightB

Download an IPA artifact from Codemagic and upload it to TestFlight via App Store Connect. Optionally distribute to a beta group after upload.

Inputs: app_id (required), ipa_url (required), beta_group.

validate_app_submissionA

Run a preflight readiness check for an App Store version before submitting for review. Checks metadata completeness, build attachment, export compliance, pricing, screenshots, and more. Returns an ordered remediation plan — fix the first item, then call again to confirm it is resolved. Call this before publish_to_app_store with submit_for_review=true.

Inputs: app_id (required), version (required).

validate_codemagic_yamlA

Validate a codemagic.yaml file against the official Codemagic JSON schema

Inputs: yaml_content (required).

wait_for_buildA

Check the current status of a Codemagic build. Returns immediately — no polling loop. If the build has not finished, call this tool again with the same build_id. A Codemagic build takes 10–40 minutes; calling this 20+ times is normal and expected. Returns full build details and artifact download URLs once a terminal state is reached.

Inputs: build_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 63 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes (e.g., add vs. delete vs. list for each resource), but the sheer number (63) creates subtle overlap risk (e.g., multiple upload tools for different stores).

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern in snake_case (e.g., add_application, get_build_logs, promote_google_play_release). No mixing of conventions.

    Tool Count2/5

    63 tools is excessively high for a single server, far beyond the 3–15 range for well-scoped sets. Many niche tools (e.g., set_android_data_safety) contribute to bloat, making agent navigation difficult.

    Completeness4/5

    The tool set covers the full mobile CI/CD lifecycle (build, test, deploy, manage store listings) with only minor gaps (e.g., no delete_application or list TestFlight testers). Agents can work around these.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A local Python MCP server that exposes the Codemagic CI/CD REST API as Claude-callable tools. Trigger builds, manage apps, download artifacts, and clear caches — all from Claude Code or Claude Desktop without leaving the chat.
      25
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the Codemagic CI/CD API, enabling app management, build operations, artifact handling, cache control, and team management through natural language.
      8 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides AI agents with tools to build, deploy, and manage Flutter applications, including APK/AAB generation, keystore management, and CI/CD integration.
      1
      MIT