Skip to main content
Glama

create_dockercompose_application

Deploy applications using Docker Compose configurations in Coolify's self-hosted PaaS environment by specifying project, environment, server, and compose YAML content.

Instructions

Create a new application from Docker Compose configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_uuidYesProject UUID
environment_nameYesEnvironment name
environment_uuidNoEnvironment UUID (optional)
server_uuidYesServer UUID
destination_uuidNoDestination UUID (optional if server has single destination)
docker_compose_rawYesDocker Compose YAML content (base64 encoded)
nameNoApplication name (optional, auto-generated if not provided)
descriptionNoApplication description
instant_deployNoDeploy immediately after creation

Implementation Reference

  • Handler implementation for the create_dockercompose_application tool. Validates required parameters (project_uuid, environment_name, server_uuid, docker_compose_raw) and sends a POST request to the Coolify API endpoint '/applications/dockercompose' with the arguments.
    case 'create_dockercompose_application': requireParam(args, 'project_uuid'); requireParam(args, 'environment_name'); requireParam(args, 'server_uuid'); requireParam(args, 'docker_compose_raw'); return client.post('/applications/dockercompose', args);
  • Tool schema definition including name, description, and inputSchema with properties and required fields for validating inputs to create_dockercompose_application.
    { name: 'create_dockercompose_application', description: 'Create a new application from Docker Compose configuration', inputSchema: { type: 'object', properties: { project_uuid: { type: 'string', description: 'Project UUID' }, environment_name: { type: 'string', description: 'Environment name' }, environment_uuid: { type: 'string', description: 'Environment UUID (optional)' }, server_uuid: { type: 'string', description: 'Server UUID' }, destination_uuid: { type: 'string', description: 'Destination UUID (optional if server has single destination)' }, docker_compose_raw: { type: 'string', description: 'Docker Compose YAML content (base64 encoded)' }, name: { type: 'string', description: 'Application name (optional, auto-generated if not provided)' }, description: { type: 'string', description: 'Application description' }, instant_deploy: { type: 'boolean', description: 'Deploy immediately after creation', default: false } }, required: ['project_uuid', 'environment_name', 'server_uuid', 'docker_compose_raw'] } },
  • src/index.ts:36-38 (registration)
    Registration of all tools via getToolDefinitions() which includes create_dockercompose_application in the MCP server's listTools handler.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
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