Skip to main content
Glama

Coolify MCP Server

create_service

Deploy containerized applications on Coolify servers by specifying either a pre-defined service type or custom Docker Compose configuration.

Instructions

Create a new service on a specified server. Services are containerized applications that run on your Coolify servers. Either "type" or "docker_compose_raw" must be provided - you cannot specify both.

Input Schema

NameRequiredDescriptionDefault
descriptionNoOptional description of the service's purpose or configuration
docker_compose_rawNoRaw Docker Compose configuration for the service. Required if type is not provided. Cannot be used together with type.
environment_nameNoName of the environment (e.g., production, staging, development)
environment_uuidNoOptional UUID of an existing environment to use
nameYesA unique, human-readable name for the service
project_uuidYesUUID of the project this service belongs to. Projects help organize related services.
server_uuidYesUUID of the server where this service will run. Obtain this from list_servers.
typeNoType of service to create. Required if docker_compose_raw is not provided. Cannot be used together with docker_compose_raw.

Input Schema (JSON Schema)

{ "properties": { "description": { "description": "Optional description of the service's purpose or configuration", "examples": [ "Node.js backend API service" ], "type": "string" }, "docker_compose_raw": { "description": "Raw Docker Compose configuration for the service. Required if type is not provided. Cannot be used together with type.", "examples": [ "version: '3.8'\nservices:\n web:\n image: nginx:alpine\n ports:\n - \"80:80\"" ], "type": "string" }, "environment_name": { "description": "Name of the environment (e.g., production, staging, development)", "examples": [ "production" ], "type": "string" }, "environment_uuid": { "description": "Optional UUID of an existing environment to use", "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "name": { "description": "A unique, human-readable name for the service", "examples": [ "backend-api" ], "type": "string" }, "project_uuid": { "description": "UUID of the project this service belongs to. Projects help organize related services.", "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "server_uuid": { "description": "UUID of the server where this service will run. Obtain this from list_servers.", "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "type": { "description": "Type of service to create. Required if docker_compose_raw is not provided. Cannot be used together with docker_compose_raw.", "examples": [ "mysql", "redis", "postgresql", "mongodb" ], "type": "string" } }, "required": [ "name", "server_uuid", "project_uuid" ], "type": "object" }

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

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