Skip to main content
Glama

deploy

Deploy applications or services using tags or UUIDs to update versions and implement changes through the Coolify MCP Server.

Instructions

Deploy an application or service using a tag or UUID. This allows you to deploy new versions or updates to your applications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoTag name(s). Comma separated list is accepted
uuidNoResource UUID(s). Comma separated list is accepted
forceNoForce rebuild (without cache)

Implementation Reference

  • The handler function for the 'deploy' tool. It parses the input arguments using DeploySchema, builds query parameters for tag, uuid, and force, calls the Coolify API endpoint `/deploy` with those parameters, and returns the result as formatted JSON text.
    case "deploy": { const params = DeploySchema.parse(request.params.arguments); const queryParams = new URLSearchParams(); if (params.tag) queryParams.append('tag', params.tag); if (params.uuid) queryParams.append('uuid', params.uuid); if (params.force) queryParams.append('force', 'true'); const result = await coolifyApiCall(`/deploy?${queryParams.toString()}`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; }
  • Zod schema defining the input parameters for the 'deploy' tool: optional tag (comma-separated), uuid (comma-separated), and force boolean flag.
    const DeploySchema = z.object({ tag: z.string().optional().describe("Tag name(s). Comma separated list is accepted"), uuid: z.string().optional().describe("Resource UUID(s). Comma separated list is accepted"), force: z.boolean().optional().describe("Force rebuild (without cache)"), });
  • src/index.ts:128-132 (registration)
    The registration of the 'deploy' tool in the tools list provided by the ListToolsRequestHandler. Specifies the tool name, description, and references the input schema.
    { name: "deploy", description: "Deploy an application or service using a tag or UUID. This allows you to deploy new versions or updates to your applications.", inputSchema: zodToJsonSchema(DeploySchema), },

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