Codemagic MCP server integration for AI agents.

Connect AI agents to Codemagic through 8 structured actions, including get build, create build, and cancel build. Review authentication, inputs, workflows, a…

ACTION CONTRACTS
8
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Codemagic integration exposes

The Codemagic Agent App exposes 8 provider-backed actions for developer tools work. Its current contract lets an authorized agent get detailed information about a single codemagic build, start a new codemagic build for the specified app and workflow, and cancel a codemagic build by its build id. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Codemagic account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Codemagic capabilities.

Showing 8 of 8 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

get_buildREAD

Get detailed information about a single Codemagic build.

INPUTS: build_id

create_buildWRITE

Start a new Codemagic build for the specified app and workflow.

INPUTS: appId / workflowId / branch / tag / labels

cancel_buildHIGH IMPACT

Cancel a Codemagic build by its build ID.

INPUTS: build_id

get_current_userREAD

Get the authenticated Codemagic user and their available team permissions.

list_team_appsREAD

List the applications that belong to a specific Codemagic team.

INPUTS: team_id / page / page_size / id

list_team_buildsREAD

List builds for a specific Codemagic team with optional filters.

INPUTS: team_id / app_id / status / workflow_id / branch

list_user_appsREAD

List the Codemagic applications accessible to the authenticated user.

INPUTS: page / page_size

list_user_teamsREAD

List the Codemagic teams accessible to the authenticated user.

INPUTS: page / page_size

INPUT CONTRACTS

Know what the action needs before it runs.

get_build

build_idREQUIRED
The Codemagic build ID.

create_build

appIdREQUIRED
The Codemagic application ID.
workflowIdREQUIRED
The workflow identifier as specified in the YAML file.
branchOPTIONAL
Git branch name to build. Either branch or tag is required.
tagOPTIONAL
Git tag name to build. Either branch or tag is required.
labelsOPTIONAL
Labels to attach to the build.

cancel_build

build_idREQUIRED
The Codemagic build ID.

list_team_apps

team_idREQUIRED
The Codemagic team ID.
pageOPTIONAL
The page number to fetch.
page_sizeOPTIONAL
The maximum number of results to return per page.
idOPTIONAL
Optional list of application IDs to filter by.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Get Build

Get detailed information about a single Codemagic build. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

get_build

Control Create Build

Start a new Codemagic build for the specified app and workflow. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

create_build

Verify with Get Current User

Get the authenticated Codemagic user and their available team permissions. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_current_user

SAFETY BOUNDARY

Operate Codemagic with explicit limits

  • Authorize Codemagic with API key and grant only the provider access required by the selected actions.
  • 2 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Treat `cancel_build` as high-impact operations and require an explicit approval boundary.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Codemagic rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Codemagic task completed successfully.

CONNECTION MODEL

API key

Codemagic personal API token used with the x-auth-token header. Find it under Teams > Personal Account > Integrations > Codemagic API > Show: https://docs.codemagic.io/rest-api/codemagic-rest-api/.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
6
WRITE SIGNALS
1
HIGH IMPACT
1
REVIEW SIGNALS
0

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Codemagic.

Official Codemagic website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS