add_app
Add a public Git repository to Codemagic CI/CD for automated build and deployment workflows.
Instructions
Add a new public repository to Codemagic.
Args: repository_url: The HTTPS URL of the public Git repository.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_url | Yes |
Implementation Reference
- codemagic_mcp/tools/apps.py:26-34 (handler)The MCP tool handler for "add_app" which calls the CodemagicClient.
@mcp.tool() async def add_app(repository_url: str) -> Any: """Add a new public repository to Codemagic. Args: repository_url: The HTTPS URL of the public Git repository. """ async with CodemagicClient() as client: return await client.add_app(repository_url) - codemagic_mcp/client.py:75-76 (handler)The actual client implementation of the "add_app" functionality, which sends a POST request to the Codemagic API.
async def add_app(self, repository_url: str) -> Any: return await self._post("/apps", json={"repositoryUrl": repository_url})