4,000+ servers built on vurb.ts
Vinkius

Hetzner MCP Server for Pydantic AIGive Pydantic AI instant access to 38 tools to Create Certificate, Create Firewall, Create Floating Ip, and more

MCP Inspector GDPR Free for Subscribers

Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect Hetzner through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.

Ask AI about this MCP Server for Pydantic AI

The Hetzner MCP Server for Pydantic AI is a standout in the Developer Tools category — giving your AI agent 38 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
import asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")

    agent = Agent(
        model="openai:gpt-4o",
        mcp_servers=[server],
        system_prompt=(
            "You are an assistant with access to Hetzner "
            "(38 tools)."
        ),
    )

    result = await agent.run(
        "What tools are available in Hetzner?"
    )
    print(result.data)

asyncio.run(main())
Hetzner
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Hetzner MCP Server

Connect your Hetzner Cloud account to any AI agent to orchestrate your infrastructure through natural language.

Pydantic AI validates every Hetzner tool response against typed schemas, catching data inconsistencies at build time. Connect 38 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.

What you can do

  • Server Management — List all active servers, fetch specific details, and create or delete instances on demand.
  • Power Control — Remotely power on servers or rebuild them from specific images using simple commands.
  • Networking & Security — Manage private networks, configure firewalls, and handle floating IPs to ensure connectivity.
  • Load Balancing — List and create load balancers to distribute traffic across your infrastructure efficiently.

The Hetzner MCP Server exposes 38 tools through the Vinkius. Connect it to Pydantic AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 38 Hetzner tools available for Pydantic AI

When Pydantic AI connects to Hetzner through Vinkius, your AI agent gets direct access to every tool listed below — spanning cloud-hosting, server-management, infrastructure-as-code, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

create

Create certificate on Hetzner

Create a new certificate

create

Create firewall on Hetzner

Create a new firewall

create

Create floating ip on Hetzner

Create a new floating IP

create

Create load balancer on Hetzner

Create a new load balancer

create

Create network on Hetzner

Create a new network

create

Create server on Hetzner

Create a new server

create

Create ssh key on Hetzner

Create a new SSH key

create

Create storage box snapshot on Hetzner

Create a manual snapshot for a Storage Box

create

Create storage box subaccount on Hetzner

Create a subaccount for a Storage Box

create

Create volume on Hetzner

Create a new volume

create

Create zone on Hetzner

Create a new DNS zone

delete

Delete load balancer on Hetzner

Delete a load balancer

delete

Delete server on Hetzner

Delete a server

get

Get action on Hetzner

Get details of a specific action

get

Get server on Hetzner

Get details of a specific server

get

Get storage box on Hetzner

Get details of a specific Storage Box

list

List certificates on Hetzner

List all certificates

list

List datacenters on Hetzner

List all datacenters

list

List firewalls on Hetzner

List all firewalls

list

List floating ips on Hetzner

List all floating IPs

list

List images on Hetzner

List all images

list

List isos on Hetzner

List all ISOs

list

List load balancers on Hetzner

List all load balancers

list

List locations on Hetzner

List all locations

list

List networks on Hetzner

List all networks

list

List placement groups on Hetzner

List all placement groups

list

List primary ips on Hetzner

List all primary IPs

list

List server types on Hetzner

List all server types

list

List servers on Hetzner

List all servers

list

List ssh keys on Hetzner

List all SSH keys

list

List storage box snapshots on Hetzner

List snapshots for a Storage Box

list

List storage box subaccounts on Hetzner

List subaccounts for a Storage Box

list

List storage boxes on Hetzner

List all Storage Boxes

list

List volumes on Hetzner

List all volumes

list

List zones on Hetzner

List all DNS zones

poweron

Poweron server on Hetzner

Power on a server

rebuild

Rebuild server on Hetzner

Rebuild a server from an image

update

Update storage box on Hetzner

Update Storage Box settings (e.g., enable/disable protocols like SMB, WebDAV)

Connect Hetzner to Pydantic AI via MCP

Follow these steps to wire Hetzner into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install Pydantic AI

Run pip install pydantic-ai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.py and run: python agent.py
04

Explore tools

The agent discovers 38 tools from Hetzner with type-safe schemas

Why Use Pydantic AI with the Hetzner MCP Server

Pydantic AI provides unique advantages when paired with Hetzner through the Model Context Protocol.

01

Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application

02

Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Hetzner integration code

03

Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors

04

Dependency injection system cleanly separates your Hetzner connection logic from agent behavior for testable, maintainable code

Hetzner + Pydantic AI Use Cases

Practical scenarios where Pydantic AI combined with the Hetzner MCP Server delivers measurable value.

01

Type-safe data pipelines: query Hetzner with guaranteed response schemas, feeding validated data into downstream processing

02

API orchestration: chain multiple Hetzner tool calls with Pydantic validation at each step to ensure data integrity end-to-end

03

Production monitoring: build validated alert agents that query Hetzner and output structured, schema-compliant notifications

04

Testing and QA: use Pydantic AI's dependency injection to mock Hetzner responses and write comprehensive agent tests

Example Prompts for Hetzner in Pydantic AI

Ready-to-use prompts you can give your Pydantic AI agent to start working with Hetzner immediately.

01

"List all my active servers in the Hetzner Cloud."

02

"Get the full details for server ID 12345."

03

"Power on the server with ID 12347."

Troubleshooting Hetzner MCP Server with Pydantic AI

Common issues when connecting Hetzner to Pydantic AI through Vinkius, and how to resolve them.

01

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Hetzner + Pydantic AI FAQ

Common questions about integrating Hetzner MCP Server with Pydantic AI.

01

How does Pydantic AI discover MCP tools?

Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
02

Does Pydantic AI validate MCP tool responses?

Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
03

Can I switch LLM providers without changing MCP code?

Absolutely. Pydantic AI abstracts the model layer. your Hetzner MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.

Explore More MCP Servers

View all →