VPS_attachPublicKeyV1

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.

SERVERHostinger Api SOURCEhostinger-api-mcp
Medium RISK CLASS
Category Write
Parameters 22 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/vps-attachpublickeyv1.md

What VPS_attachPublicKeyV1 does on Hostinger Api

AI agents use VPS_attachPublicKeyV1 to create or update resources in Hostinger Api, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hostinger Api environment.

ParameterTypeRequiredDescription
ids array Yes Public Key IDs to attach
virtualMachineId integer Yes Virtual Machine ID

Parameters from the server's own tool schema.

Why VPS_attachPublicKeyV1 is rated Medium

This tool modifies VPS instance configuration by attaching public keys, which is a reversible write operation. While it could enable unauthorized access if misused with wrong keys, the operation itself is not destructive (keys can be detached) and doesn't execute commands directly.

From the tool's definition Tool description states "Attach existing public keys from your account to a specified virtual machine." The verb "attach" and the action of enabling SSH key authentication represent modification of VPS configuration.

Questions about VPS_attachPublicKeyV1

What does the VPS_attachPublicKeyV1 tool do? +

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. It is categorised as a Write tool in the Hostinger Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does VPS_attachPublicKeyV1 accept? +

VPS_attachPublicKeyV1 accepts 2 parameters: ids, virtualMachineId. Required: ids, virtualMachineId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on VPS_attachPublicKeyV1? +

Register the Hostinger Api MCP server in PolicyLayer and add a rule for VPS_attachPublicKeyV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.

What risk level is VPS_attachPublicKeyV1? +

VPS_attachPublicKeyV1 is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit VPS_attachPublicKeyV1? +

Yes. Add a rate_limit block to the VPS_attachPublicKeyV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block VPS_attachPublicKeyV1 completely? +

Set action: deny in the PolicyLayer policy for VPS_attachPublicKeyV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides VPS_attachPublicKeyV1? +

VPS_attachPublicKeyV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Hostinger Api, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Hostinger Api's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.