Skip to main content
Glama

get_application_deployments

Retrieve deployment history for a specific application using its UUID to monitor and manage deployment status within Coolify's self-hosted PaaS environment.

Instructions

Get all deployments for an application

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesApplication UUID

Implementation Reference

  • The core handler logic for the 'get_application_deployments' tool. It requires an 'uuid' parameter (application UUID) and makes a GET request to the Coolify API endpoint `/deployments/applications/${uuid}` to retrieve the deployments.
    case 'get_application_deployments': requireParam(args, 'uuid'); return client.get(`/deployments/applications/${args.uuid}`);
  • The JSON schema definition for the tool, specifying the input parameters: an object with a required 'uuid' string (Application UUID).
    name: 'get_application_deployments', description: 'Get all deployments for an application', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Application UUID' } }, required: ['uuid'] } },
  • src/index.ts:36-38 (registration)
    The MCP server registration where all tools, including 'get_application_deployments', are listed via getToolDefinitions(). This responds to ListTools requests.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • The handleTool function exports the dispatcher switch that routes to the specific handler case for this tool. (Note: full function spans larger, but captures the dispatch context.)
    return client.get(`/deployments/${args.uuid}`); case 'cancel_deployment': requireParam(args, 'uuid'); return client.post(`/deployments/${args.uuid}/cancel`); case 'get_application_deployments': requireParam(args, 'uuid'); return client.get(`/deployments/applications/${args.uuid}`); // Private Keys case 'list_private_keys': return client.get('/security/keys'); case 'create_private_key': requireParam(args, 'name'); requireParam(args, 'private_key'); return client.post('/security/keys', args); case 'get_private_key': requireParam(args, 'uuid'); return client.get(`/security/keys/${args.uuid}`); case 'update_private_key': requireParam(args, 'uuid'); return client.patch(`/security/keys/${args.uuid}`, args); case 'delete_private_key': requireParam(args, 'uuid'); return client.delete(`/security/keys/${args.uuid}`); // GitHub Apps case 'list_github_apps': return client.get('/github-apps'); case 'create_github_app': requireParam(args, 'name'); return client.post('/github-apps', args); case 'get_github_app': requireParam(args, 'github_app_id'); return client.get(`/github-apps/${args.github_app_id}`); case 'update_github_app': requireParam(args, 'github_app_id'); return client.patch(`/github-apps/${args.github_app_id}`, args); case 'delete_github_app': requireParam(args, 'github_app_id'); return client.delete(`/github-apps/${args.github_app_id}`); case 'get_github_app_repositories': requireParam(args, 'github_app_id'); return client.get(`/github-apps/${args.github_app_id}/repositories`); case 'get_github_app_repository_branches': requireParam(args, 'github_app_id'); requireParam(args, 'owner'); requireParam(args, 'repo'); return client.get(`/github-apps/${args.github_app_id}/repositories/${args.owner}/${args.repo}/branches`); // Resources case 'list_resources': return client.get('/resources'); // Teams case 'get_team_members': requireParam(args, 'team_id'); return client.get(`/teams/${args.team_id}/members`); default: throw new McpError(ErrorCode.MethodNotFound, `Unknown tool: ${name}`); } }
  • Included in READ_ONLY_TOOLS array, ensuring it's available even in read-only mode.
    'get_application_deployments',
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/kof70/coolify-mcp-server'

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