Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

VPS_attachPublicKeyV1

Attach public keys to a virtual machine for SSH key authentication. Use this tool to enable secure access by linking existing public keys to a specified VPS instance.

Instructions

Attach existing public keys from your account to a specified virtual machine.

Multiple keys can be attached to a single virtual machine.

Use this endpoint to enable SSH key authentication for VPS instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesPublic Key IDs to attach
virtualMachineIdYesVirtual Machine ID

Implementation Reference

  • Schema definition for the VPS_attachPublicKeyV1 tool in the APITools interface. Defines parameters: virtualMachineId (number, Virtual Machine ID) and ids (array, Public Key IDs to attach). Response is any.
    "VPS_attachPublicKeyV1": {
      params: {
        /**
         * Virtual Machine ID
         */
        virtualMachineId: number;
        /**
         * Public Key IDs to attach
         */
        ids: array;
      };
      response: any; // Response structure will depend on the API
    };
Install Server

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