codemagic_mcp
Provides tools to manage Codemagic applications, builds, artifacts, caches, and team members via the Codemagic CI/CD API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codemagic_mcplist my applications"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
codemagic_mcp
MCP server for the Codemagic CI/CD API. Bun + TypeScript, stdio transport.
Tools
Apps
codemagic_get_all_applicationscodemagic_get_applicationcodemagic_add_applicationcodemagic_add_application_private
Builds
codemagic_start_buildcodemagic_get_buildscodemagic_get_build_statuscodemagic_cancel_build
Artifacts
codemagic_get_artifact(returns metadata + base64 preview; use the public URL tool for full downloads)codemagic_create_public_artifact_url
Caches
codemagic_get_app_cachescodemagic_delete_all_app_cachescodemagic_delete_app_cache
Teams
codemagic_invite_team_membercodemagic_delete_team_member
Related MCP server: Codemagic
Configuration
Environment variables:
Variable | Required | Default | Notes |
| yes | — | From Teams settings → Personal Account → API |
| no |
| Override for self-hosted/staging |
| no |
| Per-request timeout |
| no |
| Retries on 408/425/429/5xx and network errors (exponential backoff with jitter, honors |
Run
bun install
CODEMAGIC_API_KEY=... bun run startWatch mode:
CODEMAGIC_API_KEY=... bun run devInspect with the official MCP inspector:
CODEMAGIC_API_KEY=... bun run inspectClaude Code / Claude Desktop config
One-line setup:
claude mcp add codemagic --scope user \
-e CODEMAGIC_API_KEY=<your_key> \
-- bunx codemagic_mcpOr manually in claude_desktop_config.json:
{
"mcpServers": {
"codemagic": {
"command": "bunx",
"args": ["codemagic_mcp"],
"env": { "CODEMAGIC_API_KEY": "..." }
}
}
}Security notes
API key is read from env only.
Outgoing requests send the key via
x-auth-token; it is never logged.All tool output (text and structured) is run through a redactor that masks the key value and any object keys matching
authorization,x-auth-token,api[-_]?key,password,passphrase,ssh[-_]?key,secret, ortoken.Errors are mapped to typed classes (
CodemagicAuthError,CodemagicNotFoundError,CodemagicValidationError,CodemagicRateLimitError,CodemagicServerError,CodemagicNetworkError) and surfaced as actionable messages — internal stack traces are not exposed to the client.
Layout
src/
index.ts stdio entrypoint
schemas.ts Zod input schemas
lib/
config.ts env loading + validation
client.ts fetch wrapper: timeouts, retries, status mapping
errors.ts typed error classes + user-facing formatter
redact.ts secret/string + key-pattern redaction
response.ts jsonResult / textResult / errorResult helpers
tools/
apps.ts builds.ts artifacts.ts caches.ts teams.tsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceThis MCP server lets you use Cursor IDE, or any MCP Client enabled agent, to use natural language to accomplish things with CircleCI, e.g: Find the latest failed pipeline on my branch and get logsLast updated1632,54286Apache 2.0
- AlicenseAqualityBmaintenanceA 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.Last updated251MIT
- AlicenseBqualityAmaintenanceMCP server for managing Xcode Cloud workflows, builds, and test artifacts via the App Store Connect API.Last updated15251MIT
- AlicenseAqualityCmaintenanceA lightweight MCP server that provides seamless access to Codemagic CI/CD APIs, enabling natural language interaction with applications, builds, artifacts, caches, and teams.Last updated1612MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for interacting with the Supabase platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zfinix/codemagic_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server