codemagic-mcp
Codemagic CI/CD MCP Server
Documentation
A lightweight, community-maintained Model Context Protocol (MCP) server that provides seamless access to `Codemagic CI/CD` APIs. Built for agents, AI-native workflows, and for use of MCP-compatible clients.
๐ How can you use this
You: What applications do I have on Codemagic?
Assistant: *calls `get_all_applications()` and displays the list.*
You: Start a new build for my Flutter app
Assistant: *calls `start_build()` with appropriate parameters*
You: Can you get the artifacts from my last build?
Assistant: *calls `get_builds()` to find the latest build and then `get_artifact()` to download the files*
You: Show me the cache usage for my app
Assistant: *calls `get_app_caches()` and displays storage information*
๐ Getting started
1. Clone this repository
git clone https://github.com/stefanoamorelli/codemagic-mcp.git
cd codemagic-mcp2. Set up your API key
Follow the official documentation.
3. Install the MCP server in your client
For example, for Claude Desktop:
{
"mcpServers": {
"Codemagic MCP Server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"requests",
"mcp",
"run",
"/codemagic_mcp/server.py"
],
"env": {
"PYTHONPATH": "/",
"CODEMAGIC_API_KEY": "your-api-key-here"
}
},
}๐ What this server can do
Interact with Codemagic CI/CD using natural language.
| API Category | Tools |
|---|---|
| Applications API | `get_all_applications`, `get_application`, `add_application`, `add_application_private` |
| Artifacts API | `get_artifact`, `create_public_artifact_url` |
| Builds API | `start_build`, `get_builds`, `get_build_status`, `cancel_build`, `get_build_step_log` |
| Caches API | `get_app_caches`, `delete_all_app_caches`, `delete_app_cache` |
| Teams API | `invite_team_member`, `delete_team_member` |
๐ ๏ธ Development
Run the server locally for testing:
mcp dev codemagic_mcp/server.py๐ References
๐ License
MIT License ยฉ 2025 Stefano Amorelli
Frequently asked questions
What is codemagic-mcp?
codemagic-mcp is Codemagic CI/CD MCP Server
How do I install codemagic-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is codemagic-mcp open source?
Yes โ it is hosted on GitHub at https://github.com/stefanoamorelli/codemagic-mcp and has 3 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP