MCP server for the Codemagic CI/CD API — 15 tools for apps, builds, artifacts, caches and teams
Codemagic MCP demonstrates solid fundamentals: all 15 tools have explicit schemas with typed parameters and descriptions. Tool names follow verb_noun convention (get_, create_, delete_). Annotations are present (readOnlyHint, destructiveHint, idempotentHint). However, descriptions are terse (avg ~100 chars, below the 194-char baseline for A+ tools), lack dependency hints and recovery guidance, and parameter descriptions are minimal. Output schemas are not documented. Error handling returns raw API errors without actionable recovery steps. No pagination support despite tools returning lists. Missing parameter constraints (e.g., expires_at validation, instance_type enum). Overall: competent but underdeveloped for production LLM agents.
Add a new application to Codemagic from a public Git repository. For private repos use codemagic_add_application_private instead.
Add a new application from a private Git repository. The SSH private key is base64-encoded and must be provided via ssh_key_data.
Cancel a build that is queued or in progress. If the build has already finished, returns a message indicating so.
Create a time-limited public download URL for a build artifact. expires_at is a UNIX timestamp in seconds and must be in the future.
Delete every stored cache for an application. Codemagic responds with 202 Accepted listing the cache IDs scheduled for deletion.
Output schemas not documented. Tools return raw API payloads without field descriptions, forcing LLMs to infer structure and plan downstream calls blindly.
Error handling returns raw API errors without recovery guidance. No actionable messages like 'Try search_users() first' or error classification (retryable vs fatal).
Parameter descriptions are minimal or missing context. E.g., 'expires_at' lacks validation rules (must be future UNIX timestamp); 'instance_type' has no enum or examples; 'environment' object structure undocumented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2025-06-18+ | v2 |
Delete one specific cache by cache_id from an application.
Remove a collaborator from a team by user_id. Destructive: the user immediately loses access to the team's apps.
Retrieve every application visible to the authenticated Codemagic user. Returns the raw Codemagic /apps payload (an object with an 'applications' array).
List the stored caches for an application.
Retrieve a single application by its Codemagic ID. Returns the raw /apps/{id} payload.
Fetch metadata about a build artifact by its secure filename ('uuid1/uuid2/filename.ext'). Returns size, content type, and a base64 preview snippet — for full downloads prefer codemagic_create_public_artifact_url which returns a signed URL.
Retrieve the application + build payload for a single build by its build_id.
List builds from history, optionally filtered by application, workflow, branch, or tag.
Invite a user by email to a team. role must be 'owner' (Admin) or 'developer' (Member). Returns the full team object on success.
Trigger a new build for a workflow on a given branch or tag. Either branch or tag must be provided. Returns the new build identifier.
No pagination support. Tools like codemagic_get_all_applications and codemagic_get_builds return unbounded lists, risking context window exhaustion.
Destructive operations (delete_all_app_caches, delete_team_member) lack confirmation or dry-run support. Agents can trigger irreversible actions without safeguards.