deploy_application
Deploy applications to Coolify PaaS instances by specifying application UUID and optional parameters like tags, force rebuild, or immediate deployment.
Instructions
Deploy an application. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Application UUID | |
| tag | No | Tag to deploy (optional) | |
| force | No | Force rebuild without cache | |
| instant_deploy | No | Deploy immediately | |
| confirm | No | Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true) |
Implementation Reference
- src/tools/handlers.ts:225-233 (handler)Handler implementation for the 'deploy_application' tool. Constructs deployment parameters (uuid required, optional tag, force, instant_deploy) and calls Coolify's /deploy endpoint via GET request.case 'deploy_application': requireParam(args, 'uuid'); const deployParams = new URLSearchParams(); deployParams.append('uuid', String(args.uuid)); if (args.tag) deployParams.append('tag', String(args.tag)); if (args.force) deployParams.append('force', 'true'); if (args.instant_deploy) deployParams.append('instant_deploy', 'true'); const deployQuery = deployParams.toString(); return client.get(`/deploy?${deployQuery}`);
- src/tools/definitions.ts:446-460 (schema)Input schema and description for the 'deploy_application' tool, defining parameters like uuid (required), tag, force, instant_deploy, and confirm.{ name: 'deploy_application', description: 'Deploy an application. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Application UUID' }, tag: { type: 'string', description: 'Tag to deploy (optional)' }, force: { type: 'boolean', description: 'Force rebuild without cache', default: false }, instant_deploy: { type: 'boolean', description: 'Deploy immediately', default: false }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] } },
- src/tools/definitions.ts:52-53 (helper)'deploy_application' listed as a dangerous operation requiring confirmation when COOLIFY_REQUIRE_CONFIRM=true.'deploy_application', 'deploy',
- src/tools/definitions.ts:74-74 (helper)Danger warning message for the 'deploy_application' tool.deploy_application: 'This will deploy a new version of the application, which may cause downtime.',
- src/tools/index.ts:1-2 (registration)Exports tool definitions (including deploy_application schema) and the handleTool function for MCP tool registration.export { toolDefinitions, getToolDefinitions, isReadOnlyMode, READ_ONLY_TOOLS } from './definitions.js'; export { handleTool } from './handlers.js';