Codemagic for AI agents

Codemagic is a CI/CD platform built for mobile app development, automating builds and releases for iOS and Android projects at scale. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Developer toolsAPI keyMCP + RESTcodemagic.io
AUDIT LOG · CODEMAGICPOLICY: acme-support
09:41:07 · claude · u_8f2read
codemagic.get_user
Get Authenticated User✓ allowed · 212ms
09:41:08 · claude · u_8f2read
codemagic.get_api_key
Get User API Key✓ allowed · 164ms
09:41:09 · claude · u_8f2write
codemagic.update_variable
Update Variable in Group✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
codemagic.delete_specific_cache
Delete Specific Cache✕ blocked · policy: deny
EVERY CODEMAGIC CALL, ON THE RECORD
01 · USE CASES

What agents do in Codemagic.

01

Start a new build

Start a new build for an application once code changes are ready to test.

02

Check recent builds

Check the status of recent builds before deciding whether a release is ready to ship.

03

Confirm before removing a team member

Confirm before removing a team member, since it revokes their access to every app immediately.

02 · ACTIONS

22 Codemagic actions, graded by risk.

Every Codemagic action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

9

Look things up. Allowed by default.

  • codemagic.get_user
    Get Authenticated User
  • codemagic.get_api_key
    Get User API Key
  • codemagic.get_variables
    List Variables for Group
  • codemagic.get_all_builds
    Get All Builds
  • codemagic.get_shorebird_meta
    Get Shorebird Meta
  • codemagic.get_variable_groups
    List Variable Groups for App
  • codemagic.retrieve_an_application
    Retrieve an Application
  • codemagic.retrieve_all_applications
    Retrieve All Applications
  • codemagic.retrieve_caches_for_application
    Retrieve Caches for Application

write

10

Create and change things. Allow, or ask the user first.

  • codemagic.update_variable
    Update Variable in Group
  • codemagic.add_new_application
    Add New Application
  • codemagic.add_application_from_private_repo
    Add Application from Private Repository
  • codemagic.stop_preview
    Stop Preview
  • codemagic.receive_webhook
    Receive Webhook
  • codemagic.start_new_build
    Start New Build
  • codemagic.invite_team_member
    Invite Team Member
  • codemagic.api_v3_meta_get_meta
    Get Meta Information
  • codemagic.api_v3_variable_groups_variable_group_id_update
    Update Variable Group
  • codemagic.api_v3_variable_groups_variable_group_id_get_group
    Get Variable Group Information

destructive

3

Delete, cancel or archive. Ask first, or deny outright.

  • codemagic.remove_team_member
    Remove Team Member
  • codemagic.delete_specific_cache
    Delete Specific Cache
  • codemagic.delete_all_application_caches
    Delete All Application Caches
03 · HOW IT WORKS

Codemagic in three steps.

  1. 01Your users connect CodemagicThey add their Codemagic api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “update Variable in Group” can wait for the user, and “delete Specific Cache” can be denied outright.
  3. 03Any agent can actYour agent calls Codemagic through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('codemagic', {
  read: 'allow',
  write: 'ask',        // update_variable
  destructive: 'deny',  // delete_specific_cache
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Codemagic connects.

Users add their Codemagic api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Codemagic connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Codemagic from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Codemagic and Arc0, answered.

Q01

Can I use Codemagic with Claude, ChatGPT or Cursor?

Yes. Connect Codemagic to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Codemagic actions you allow.

Q02

How do users connect Codemagic?

Users add their Codemagic api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Codemagic actions can my agent take?

22 in total: 9 read, 10 write and 3 destructive, such as “update Variable in Group”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Codemagic?

Yes. Actions like “delete Specific Cache” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Codemagic too?

Yes. The same Codemagic connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Codemagic into your agent.

Your users connect Codemagic once, under your brand. Your agent gets 22 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan