codemagic_mcp
codemagic_mcp
MCP-Server für die 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
Artefakte
codemagic_get_artifact(gibt Metadaten + base64-Vorschau zurück; verwenden Sie das Tool für öffentliche URLs für vollständige 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
Konfiguration
Umgebungsvariablen:
Variable | Erforderlich | Standard | Hinweise |
| ja | — | Aus Teams-Einstellungen → Persönliches Konto → API |
| nein |
| Überschreibung für selbst gehostete/Staging-Umgebungen |
| nein |
| Timeout pro Anfrage |
| nein |
| Wiederholungsversuche bei 408/425/429/5xx und Netzwerkfehlern (exponentielles Backoff mit Jitter, berücksichtigt |
Ausführen
bun install
CODEMAGIC_API_KEY=... bun run startWatch-Modus:
CODEMAGIC_API_KEY=... bun run devMit dem offiziellen MCP-Inspektor untersuchen:
CODEMAGIC_API_KEY=... bun run inspectClaude Code / Claude Desktop Konfiguration
Einzeilige Einrichtung:
claude mcp add codemagic --scope user \
-e CODEMAGIC_API_KEY=<your_key> \
-- bunx codemagic_mcpOder manuell in claude_desktop_config.json:
{
"mcpServers": {
"codemagic": {
"command": "bunx",
"args": ["codemagic_mcp"],
"env": { "CODEMAGIC_API_KEY": "..." }
}
}
}Sicherheitshinweise
Der API-Schlüssel wird nur aus der Umgebung gelesen.
Ausgehende Anfragen senden den Schlüssel über
x-auth-token; er wird niemals protokolliert.Alle Tool-Ausgaben (Text und strukturiert) werden durch einen Redactor geleitet, der den Schlüsselwert sowie alle Objektschlüssel maskiert, die
authorization,x-auth-token,api[-_]?key,password,passphrase,ssh[-_]?key,secretodertokenentsprechen.Fehler werden typisierten Klassen zugeordnet (
CodemagicAuthError,CodemagicNotFoundError,CodemagicValidationError,CodemagicRateLimitError,CodemagicServerError,CodemagicNetworkError) und als umsetzbare Nachrichten ausgegeben — interne Stack-Traces werden dem Client nicht offengelegt.
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 deployed
Maintenance
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
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 logs1627,239 npm94Apache 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.252MIT
- AlicenseBqualityAmaintenanceMCP server for managing Xcode Cloud workflows, builds, and test artifacts via the App Store Connect API.16171 npm1MIT
- AlicenseAqualityDmaintenanceA lightweight MCP server that provides seamless access to Codemagic CI/CD APIs, enabling natural language interaction with applications, builds, artifacts, caches, and teams.1613MIT