Skip to main content
Glama

list_variables

Retrieve all environment variables configured for a Codemagic application by providing the application ID.

Instructions

List all environment variables for a Codemagic application.

Args: app_id: The Codemagic application ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes

Implementation Reference

  • The handler function for the list_variables tool.
    @mcp.tool()
    async def list_variables(app_id: str) -> Any:
        """List all environment variables for a Codemagic application.
    
        Args:
            app_id: The Codemagic application ID.
        """
        async with CodemagicClient() as client:
            return await client.list_variables(app_id)
  • The registration point where the tool is registered with FastMCP.
    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