KosmoKrator

productivity

Codemagic MCP, CLI, and Lua Integration for AI Agents

Codemagic integration docs for AI agents: MCP gateway setup, Codemagic CLI commands, Lua API reference, credentials, and function schemas.

Codemagic for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
codemagic.codemagic_list_apps Read read 0 List Codemagic applications.
codemagic.codemagic_get_app Read read 0 Get one Codemagic application.
codemagic.codemagic_create_app Write write 0 Add a repository to Codemagic.
codemagic.codemagic_create_private_app Write write 0 Add a private repository with SSH key details.
codemagic.codemagic_start_build Write write 0 Start a Codemagic build.
codemagic.codemagic_cancel_build Write write 0 Cancel a Codemagic build.
codemagic.codemagic_get_artifact Read read 0 Get an authenticated artifact URL.
codemagic.codemagic_create_artifact_public_url Write write 0 Create a public artifact download URL.
codemagic.codemagic_list_caches Read read 0 List app caches.
codemagic.codemagic_delete_caches Write write 0 Delete all app caches.
codemagic.codemagic_delete_cache Write write 0 Delete one app cache.
codemagic.codemagic_api_get Read read 0 Call a safe relative Codemagic GET path.
codemagic.codemagic_api_post Write write 0 Call a safe relative Codemagic POST path.
codemagic.codemagic_api_patch Write write 0 Call a safe relative Codemagic PATCH path.
codemagic.codemagic_api_delete Write write 0 Call a safe relative Codemagic DELETE path.