---
title: "Codemagic integration for LuumenAI"
url: "https://www.luumen.ai/integrations/codemagic/"
entity: SoftwareIntegration
category: "Source control & CI/CD"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Codemagic integration for LuumenAI

Check mobile build history and start Codemagic builds from the terminal

## What LuumenAI can do with Codemagic

LuumenAI connects to Codemagic with an API token and exposes 22 tools (11 read-only · 7 write · 4 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: API token
- Tools available: 22 tools (11 read-only · 7 write · 4 destructive)
- Plan: available on all plans
- Category: Source control & CI/CD

## About Codemagic with LuumenAI

Connect Codemagic and your agent can see every application in the team, the builds behind each one, the variable groups that feed them, and the caches sitting on disk. Ask why last night's iOS workflow failed and get an answer from the build list, not a browser tab. Changes like starting a build or updating a variable are previewed first and need your approval by default. Luumen authenticates with an API key.

## Example tools

Read-only (11 in total):

- `CODEMAGIC_API_V3_META_GET_META` — Get metadata about Codemagic including public IP addresses in use (in CIDR notation).
- `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_GET_GROUP` — Retrieve information about a specific variable group including its name and configuration settings.
- `CODEMAGIC_GET_ALL_BUILDS` — List all builds with optional filters for appId, workflowId, and branch.
- `CODEMAGIC_GET_API_KEY` — Retrieve the API key for the authenticated user from the server.
- `CODEMAGIC_GET_SHOREBIRD_META` — Retrieve information about Shorebird integration.
- `CODEMAGIC_GET_USER` — Retrieve information about the currently authenticated user.
- `CODEMAGIC_GET_VARIABLE_GROUPS` — Retrieve paginated list of variable groups for an application.
- `CODEMAGIC_GET_VARIABLES` — Retrieve paginated list of variables for a specific variable group.

Write and destructive (11 in total, approval required by default):

- `CODEMAGIC_ADD_APPLICATION_FROM_PRIVATE_REPO` — Create an application from a private repository using SSH key authentication.
- `CODEMAGIC_ADD_NEW_APPLICATION` — Add a Git repository to the applications list in Codemagic.
- `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_UPDATE` — Change a variable group's name and security settings.
- `CODEMAGIC_DELETE_ALL_APPLICATION_CACHES` — Delete all caches for a specific application.
- `CODEMAGIC_DELETE_SPECIFIC_CACHE` — Delete a specific cache from an application.
- `CODEMAGIC_INVITE_TEAM_MEMBER` — Invite a new team member to a Codemagic team.
- `CODEMAGIC_RECEIVE_WEBHOOK` — Receive webhook payloads from Git providers to trigger builds automatically.
- `CODEMAGIC_REMOVE_TEAM_MEMBER` — Remove a collaborator or revoke a pending invitation from a Codemagic team.

## Frequently asked questions

### How does LuumenAI connect to Codemagic?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Codemagic on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 4 actions classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to Codemagic — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/codemagic/
