io.github.lazyants/hetzner

السجل الرسمي أخرى

MCP server for the Hetzner Cloud API — servers, networks, volumes, firewalls, and more.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @lazyants/hetzner-mcp-server
Claude Code
claude mcp add hetzner -e 'HETZNER_API_TOKEN=<your hetzner_api_token>' -e 'HETZNER_STORAGE_API_TOKEN=<your hetzner_storage_api_token>' -- npx -y @lazyants/hetzner-mcp-server@4.0.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "hetzner": {
            "command": "npx",
            "args": [
                "-y",
                "@lazyants/hetzner-mcp-server@4.0.2"
            ],
            "env": {
                "HETZNER_API_TOKEN": "<your hetzner_api_token>",
                "HETZNER_STORAGE_API_TOKEN": "<your hetzner_storage_api_token>"
            }
        }
    }
}

متغيرات البيئة

  • HETZNER_API_TOKEN إلزامي سري Hetzner Cloud API token.
  • HETZNER_STORAGE_API_TOKEN سري Storage Box API token; falls back to HETZNER_API_TOKEN when omitted.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Hetzner MCP Server
  2. Setup
  3. Smaller servers
  4. Releasing
  5. License

Hetzner MCP Server

Manage Hetzner Cloud servers, networks, storage, DNS and load balancers from an MCP client. Requires Node.js 22.12 or newer.

Setup

Create an API token in the Hetzner Cloud Console. Use a read-only token for inspection; write operations can create billable resources.

For Claude Code:

claude mcp add --env HETZNER_API_TOKEN=your-token --transport stdio \
  hetzner -- npx -y @lazyants/hetzner-mcp-server

For Claude Desktop and clients that accept mcpServers JSON:

{
  "mcpServers": {
    "hetzner": {
      "command": "npx",
      "args": ["-y", "@lazyants/hetzner-mcp-server"],
      "env": { "HETZNER_API_TOKEN": "your-token" }
    }
  }
}

For a separate Storage Box token, also set HETZNER_STORAGE_API_TOKEN. Otherwise, Storage Box tools use HETZNER_API_TOKEN.

Smaller servers

The default command exposes all tools. To load only one resource group, run a split command:

npx -y -p @lazyants/hetzner-mcp-server hetzner-mcp-networking

In a client configuration, replace args with:

["-y", "-p", "@lazyants/hetzner-mcp-server", "hetzner-mcp-networking"]

Other groups: servers, load-balancers, ips, storage, storage-boxes, config and dns. Use the same hetzner-mcp- command prefix and token configuration.

Every server exposes the API reference at reference://hetzner/api. See CHANGELOG.md for release changes.

Releasing

Maintainer instructions: release guide.

License

FSL-1.1-MIT. Versions 1.1.1 and earlier remain MIT-licensed.

الأسئلة الشائعة

ما هو io.github.lazyants/hetzner؟

MCP server for the Hetzner Cloud API — servers, networks, volumes, firewalls, and more.

كيف أثبّت io.github.lazyants/hetzner؟

يعمل على جهازك. في Claude Code: claude mcp add hetzner -e 'HETZNER_API_TOKEN=<your hetzner_api_token>' -e 'HETZNER_STORAGE_API_TOKEN=<your hetzner_storage_api_token>' -- npx -y @lazyants/hetzner-mcp-server@4.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.lazyants/hetzner إلى مفتاح API؟

نعم. يتطلب HETZNER_API_TOKEN, HETZNER_STORAGE_API_TOKEN، وتضبطها في إعداداته.

هل io.github.lazyants/hetzner مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.lazyants/hetzner؟

ينشره lazyants. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.