Skip to main content
Glama

get_artifact_url

Retrieve the download URL for a build artifact using its secure filename from Codemagic CI/CD results.

Instructions

Get the download URL for a build artifact.

Args: secure_filename: The secure filename of the artifact (from build results).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secure_filenameYes

Implementation Reference

  • The MCP tool definition and handler for get_artifact_url.
    async def get_artifact_url(secure_filename: str) -> Any:
        """Get the download URL for a build artifact.
    
        Args:
            secure_filename: The secure filename of the artifact (from build results).
        """
        async with CodemagicClient() as client:
            return await client.get_artifact_url(secure_filename)
  • The actual API client method that performs the network request for get_artifact_url.
    async def get_artifact_url(self, secure_filename: str) -> Any:
        return await self._get(f"/artifacts/{secure_filename}")
  • Registration of the get_artifact_url tool with the MCP server.
    def register(mcp: FastMCP) -> None:

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