Skip to main content
Glama

create_private_deploy_key_application

Deploy applications from private Git repositories using SSH deploy key authentication within the Coolify self-hosted PaaS platform.

Instructions

Create a new application from a private Git repository using deploy key authentication

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)
git_repositoryYesPrivate Git repository URL
git_branchYesGit branch name
build_packYesBuild pack type (nixpacks, dockerfile, dockercompose)
ports_exposesYesPorts to expose (e.g., "3000,8080")
private_key_uuidYesPrivate key UUID for SSH authentication
nameNoApplication name (optional, auto-generated if not provided)
descriptionNoApplication description
instant_deployNoDeploy immediately after creation

Implementation Reference

  • Handler implementation: validates required parameters (project_uuid, environment_name, server_uuid, git_repository, git_branch, build_pack, ports_exposes, private_key_uuid) and performs a POST request to the Coolify API endpoint '/applications/private-deploy-key' to create the application.
    case 'create_private_deploy_key_application':
      requireParam(args, 'project_uuid');
      requireParam(args, 'environment_name');
      requireParam(args, 'server_uuid');
      requireParam(args, 'git_repository');
      requireParam(args, 'git_branch');
      requireParam(args, 'build_pack');
      requireParam(args, 'ports_exposes');
      requireParam(args, 'private_key_uuid');
      return client.post('/applications/private-deploy-key', args);
  • Tool schema definition including input schema with properties, descriptions, and required fields for creating a private deploy key application.
      name: 'create_private_deploy_key_application',
      description: 'Create a new application from a private Git repository using deploy key authentication',
      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)' },
          git_repository: { type: 'string', description: 'Private Git repository URL' },
          git_branch: { type: 'string', description: 'Git branch name' },
          build_pack: { type: 'string', description: 'Build pack type (nixpacks, dockerfile, dockercompose)' },
          ports_exposes: { type: 'string', description: 'Ports to expose (e.g., "3000,8080")' },
          private_key_uuid: { type: 'string', description: 'Private key UUID for SSH authentication' },
          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', 'git_repository', 'git_branch', 'build_pack', 'ports_exposes', 'private_key_uuid']
      }
    },
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