codemagic_mcp
codemagic_mcp
Codemagic CI/CD API를 위한 MCP 서버입니다. Bun + TypeScript, stdio 전송 방식을 사용합니다.
도구
앱
codemagic_get_all_applicationscodemagic_get_applicationcodemagic_add_applicationcodemagic_add_application_private
빌드
codemagic_start_buildcodemagic_get_buildscodemagic_get_build_statuscodemagic_cancel_build
아티팩트
codemagic_get_artifact(메타데이터 + base64 미리보기를 반환합니다. 전체 다운로드는 공개 URL 도구를 사용하세요)codemagic_create_public_artifact_url
캐시
codemagic_get_app_cachescodemagic_delete_all_app_cachescodemagic_delete_app_cache
팀
codemagic_invite_team_membercodemagic_delete_team_member
Related MCP server: Codemagic
구성
환경 변수:
변수 | 필수 | 기본값 | 참고 |
| 예 | — | 팀 설정 → 개인 계정 → API에서 확인 |
| 아니요 |
| 자체 호스팅/스테이징용 재정의 |
| 아니요 |
| 요청당 타임아웃 |
| 아니요 |
| 408/425/429/5xx 및 네트워크 오류 시 재시도 (지터가 포함된 지수 백오프, |
실행
bun install
CODEMAGIC_API_KEY=... bun run start감시 모드:
CODEMAGIC_API_KEY=... bun run dev공식 MCP 인스펙터로 검사:
CODEMAGIC_API_KEY=... bun run inspectClaude Code / Claude Desktop 설정
한 줄 설정:
claude mcp add codemagic --scope user \
-e CODEMAGIC_API_KEY=<your_key> \
-- bunx codemagic_mcp또는 claude_desktop_config.json에서 수동 설정:
{
"mcpServers": {
"codemagic": {
"command": "bunx",
"args": ["codemagic_mcp"],
"env": { "CODEMAGIC_API_KEY": "..." }
}
}
}보안 참고 사항
API 키는 환경 변수에서만 읽어옵니다.
나가는 요청은
x-auth-token을 통해 키를 전송하며, 절대 로그에 남지 않습니다.모든 도구 출력(텍스트 및 구조화된 데이터)은 키 값과
authorization,x-auth-token,api[-_]?key,password,passphrase,ssh[-_]?key,secret,token과 일치하는 모든 객체 키를 마스킹하는 리액터(redactor)를 거칩니다.오류는 유형별 클래스(
CodemagicAuthError,CodemagicNotFoundError,CodemagicValidationError,CodemagicRateLimitError,CodemagicServerError,CodemagicNetworkError)로 매핑되어 실행 가능한 메시지로 표시되며, 내부 스택 트레이스는 클라이언트에 노출되지 않습니다.
레이아웃
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