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
設定
環境変数:
変数 | 必須 | デフォルト | 備考 |
| はい | — | Teams設定 → Personal Account → 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に一致するオブジェクトキーをマスクするリダクターを通過します。エラーは型付きクラス(
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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