How to Use the Hetzner MCP in Claude Code
Automate your Hetzner Cloud infra from the terminal. Connect Claude Code to provision servers, manage firewalls, and run pipelines.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Hetzner MCP to Claude Code
Create your Vinkius account to connect Hetzner to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Infrastructure as a Shell Script
Stop clicking around in a web UI. With this MCP server, you can pipe commands to Claude Code to manage your infrastructure. A one-liner in your shell can `create_server`, grab its ID, and then `create_firewall` to secure it. It's built for CI/CD. Your GitHub Action can spin up a fresh server with `create_server`, run a test suite, and then call `delete_server` when it's done. Everything is headless, automated, and logged to stdout.
Control Your Fleet from the CLI
You need to manage servers, not just create them. Use Claude Code to query your entire fleet with `list_servers`, then pipe the IDs to another script to `poweron_server` or `rebuild_server` in batches. This is for real systems administration. Build scripts to check server health with `get_server`, rotate access with `create_ssh_key`, or attach persistent storage with `create_volume`. It’s raw control, right from your terminal.
Manage Hetzner with Your Claude Code MCP Server
It's not just about compute. You can script your entire network setup. Use Claude Code to `create_network`, attach servers to it, and assign a `create_floating_ip` for a high-availability endpoint. This extends all the way to DNS. A simple script can call `create_zone` to add a new domain to your Hetzner account. You can fully automate your infrastructure from top to bottom, and it all runs from the command line.
Set up Hetzner MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seehetzner-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Hetzner transactions." It will automatically discover and invoke the available Hetzner tools.
claude mcp add --transport http hetzner-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Hetzner MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Hetzner MCP today
We host it, we monitor it, we maintain it. You just paste one token.