Skip to main content
Glama

list_deployments

Retrieve a list of all application deployments managed through Coolify's self-hosted PaaS platform for monitoring and operational oversight.

Instructions

List all deployments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the list_deployments tool. It makes a GET request to '/deployments' endpoint of the Coolify API to retrieve all deployments.
    case 'list_deployments': return client.get('/deployments');
  • The schema definition for the list_deployments tool, including name, description, and empty input schema (no parameters required). It is part of the allToolDefinitions array exported by getToolDefinitions() for MCP tool registration.
    name: 'list_deployments', description: 'List all deployments', inputSchema: { type: 'object', properties: {}, required: [] } },
  • src/index.ts:36-38 (registration)
    Generic registration of all tools via ListToolsRequestHandler, which returns getToolDefinitions() including the list_deployments schema.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:57-67 (registration)
    Generic tool call handler registration that dispatches to handleTool based on tool name, handling list_deployments case.
    const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } catch (error) { if (error instanceof McpError) throw error; const message = error instanceof Error ? error.message : 'Unknown error'; throw new McpError(ErrorCode.InternalError, `Tool execution failed: ${message}`); } });

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

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