Skip to main content
Glama

get-application

Retrieve detailed application information, including status, configuration, and deployment details, by specifying the application's UUID using Coolify MCP Server's standardized API interface.

Instructions

Retrieve detailed information about a specific application using its UUID. This includes the application's status, configuration, and deployment details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesResource UUID

Implementation Reference

  • The handler function for the 'get-application' tool. It parses the UUID from input arguments using UuidSchema, calls the Coolify API endpoint `/applications/${uuid}` to fetch the application details, and returns the JSON-formatted response.
    case "get-application": { const { uuid } = UuidSchema.parse(request.params.arguments); const app = await coolifyApiCall(`/applications/${uuid}`); return { content: [{ type: "text", text: JSON.stringify(app, null, 2) }] }; }
  • src/index.ts:94-97 (registration)
    Registration of the 'get-application' tool in the list of available tools, including its name, description, and input schema reference.
    name: "get-application", description: "Retrieve detailed information about a specific application using its UUID. This includes the application's status, configuration, and deployment details.", inputSchema: zodToJsonSchema(UuidSchema), },
  • Zod schema for UUID input parameter used by 'get-application' and other UUID-based tools.
    const UuidSchema = z.object({ uuid: z.string().describe("Resource UUID"), });
  • Helper function that makes authenticated API calls to the Coolify server, used by the 'get-application' handler and other tools.
    async function coolifyApiCall(endpoint: string, method: string = 'GET', body?: any): Promise<any> { const baseUrl = process.env.COOLIFY_BASE_URL?.replace(/\/$/, '') || 'https://coolify.stuartmason.co.uk'; const url = `${baseUrl}/api/v1${endpoint}`; const response = await fetch(url, { method, headers: { 'Authorization': `Bearer ${process.env.COOLIFY_ACCESS_TOKEN}`, 'Content-Type': 'application/json', }, body: body ? JSON.stringify(body) : undefined, }); if (!response.ok) { const errorBody = await response.json().catch(() => ({})); throw new Error(JSON.stringify({ error: `Coolify API error: ${response.status} ${response.statusText}`, status: response.status, details: errorBody })); } return await response.json(); }

Other Tools

Related 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/StuMason/coolify-mcp-server'

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