Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

VPS_createNewProjectV1

Deploy or replace Docker Compose projects on a virtual machine by providing a URL or raw YAML content. Supports GitHub repositories and custom docker-compose.yaml files for streamlined project setup.

Instructions

Deploy new project from docker-compose.yaml contents or download contents from URL.

URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents.

If project already exists, it will be replaced.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesURL pointing to docker-compose.yaml file, Github repository or raw YAML content of the compose file
project_nameYesDocker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineIdYesVirtual Machine ID

Implementation Reference

  • TypeScript interface definition for the 'VPS_createNewProjectV1' tool schema, including parameters (virtualMachineId, project_name, content, optional environment) and generic response.
    "VPS_createNewProjectV1": { params: { /** * Virtual Machine ID */ virtualMachineId: number; /** * Docker Compose project name using alphanumeric characters, dashes, and underscores only */ project_name: string; /** * URL pointing to docker-compose.yaml file, Github repository or raw YAML content of the compose file */ content: string; /** * Project environment variables */ environment?: string; }; response: any; // Response structure will depend on the API };

Other Tools

Related 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/hostinger/api-mcp-server'

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