4,500+ servers built on MCP Fusion
Vinkius
Hetzner logo
Vinkius
Claude Code logo

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.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Hetzner MCP on Cursor AI Code Editor MCP Client Hetzner MCP on Claude Desktop App MCP Integration Hetzner MCP on OpenAI Agents SDK MCP Compatible Hetzner MCP on Visual Studio Code MCP Extension Client Hetzner MCP on GitHub Copilot AI Agent MCP Integration Hetzner MCP on Google Gemini AI MCP Integration Hetzner MCP on Lovable AI Development MCP Client Hetzner MCP on Mistral AI Agents MCP Compatible Hetzner MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

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.

GDPR Free for Subscribers

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.

Setup guide

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. 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 user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see hetzner-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Hetzner transactions." It will automatically discover and invoke the available Hetzner tools.

Terminal
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

In your pipeline script, you can execute commands like `claude mcp exec hetzner-mcp create_server ...`. You can parse the JSON output to get the new server's ID and use it in subsequent steps, like running Ansible or other provisioning tools.
Not in a single command, but you can chain them in any shell script. Run `create_server` first, then use a tool like `jq` to extract the server ID from the output and pass it to your `create_firewall` command.
Run `claude mcp add --transport http hetzner-mcp -- `. After that, your connection is saved in `~/.claude.json` and you can start executing tool calls immediately.
The command is `claude mcp exec hetzner-mcp list_servers`. It returns a JSON array of all your server objects, which you can pipe to tools like `jq` for filtering and formatting.
Your Hetzner API key is stored and managed by the Vinkius service, not in your local Claude Code configuration. All server requests only touch infrastructure data—server IDs, IP addresses, datacenter locations—and the server has no access to data stored on your actual Hetzner volumes.

Start using the Hetzner MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 38 tools

We've already built the connector for Hetzner. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 38 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.