AI agents use create_primary_ip to create or update resources in Hcloud — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hcloud environment.
This tool creates a new Primary IP resource and assigns it to infrastructure (either a datacenter or a specific server). While this is reversible (IPs can be unassigned/deleted), it modifies the cloud infrastructure state and requires the server to be offline for assignment, indicating significant operational impact. It does not execute arbitrary code or delete data irreversibly, so Write is the appropriate category.
From the tool's definition Tool name 'create_primary_ip' and description 'Create a Primary IP' indicate data creation. The requirement to provide 'datacenter OR assignee_id (server)' shows it modifies cloud infrastructure configuration by assigning network identifiers.
Attacks that exploit this kind of access
Create a Primary IP (datacenter-scoped; server must be off to assign). Provide datacenter OR assignee_id (server). It is categorised as a Write tool in the Hcloud MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Hcloud MCP server in PolicyLayer and add a rule for create_primary_ip: 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 Hcloud. Nothing to install.
create_primary_ip is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_primary_ip 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.
Set action: deny in the PolicyLayer policy for create_primary_ip. 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.
create_primary_ip is provided by the Hcloud MCP server (xodus-co/hcloud-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →