Skip to main content
Glama

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
NameRequiredDescriptionDefault
repository_urlYes

Implementation Reference

  • 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)
  • 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})

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/AgiMaulana/CodemagicMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server