Skip to main content
Glama

liara_get_app

Retrieve detailed information about a specific application deployed on the Liara cloud platform, including configuration, status, and deployment details.

Instructions

Get detailed information about a specific app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the app

Implementation Reference

  • Handler function that retrieves details of a specific Liara app/project by name. Calls the Liara API endpoint `/v1/projects/${name}`, handles 404 errors specifically for app not found, and uses validation.
    export async function getApp(
        client: LiaraClient,
        name: string
    ): Promise<ProjectDetails> {
        validateAppName(name);
        try {
            return await client.get<ProjectDetails>(`/v1/projects/${name}`);
        } catch (error: unknown) {
            const err = error as { statusCode?: number; message?: string };
            if (err.statusCode === 404) {
                const { LiaraMcpError } = await import('../utils/errors.js');
                throw new LiaraMcpError(
                    `App "${name}" not found`,
                    'APP_NOT_FOUND',
                    { name },
                    [
                        'Check if the app name is correct',
                        'Use liara_list_apps to see all available apps',
                        'Verify you have access to this app'
                    ]
                );
            }
            throw error;
        }
    }
Install Server

Other Tools

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/razavioo/liara-mcp'

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