Hetzner Cloud (unofficial)

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

Unofficial MCP server for the Hetzner Cloud API: one typed tool per operation, read and write.

التثبيت

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

NPM package @mguttmann/hetzner-cloud-mcp
Claude Code
claude mcp add hetzner-cloud-unofficial -e 'HETZNER_API_TOKEN=<your hetzner_api_token>' -e 'HETZNER_READ_ONLY=false' -e 'HETZNER_CONFIRM_WRITES=false' -e 'HETZNER_DENY_TOOLS=<HETZNER_DENY_TOOLS>' -e 'LOG_LEVEL=warn' -- npx -y @mguttmann/hetzner-cloud-mcp@0.2.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "hetzner-cloud-unofficial": {
            "command": "npx",
            "args": [
                "-y",
                "@mguttmann/hetzner-cloud-mcp@0.2.0"
            ],
            "env": {
                "HETZNER_API_TOKEN": "<your hetzner_api_token>",
                "HETZNER_READ_ONLY": "false",
                "HETZNER_CONFIRM_WRITES": "false",
                "HETZNER_DENY_TOOLS": "<HETZNER_DENY_TOOLS>",
                "LOG_LEVEL": "warn"
            }
        }
    }
}

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

  • HETZNER_API_TOKEN إلزامي سري Hetzner Cloud API token from the Cloud Console (project > Security > API tokens). The server can do exactly what this token allows; use a Read token if the client only needs to read.
  • HETZNER_READ_ONLY true: every tool that is not read-only, and hcloud_raw_request with a method other than GET, returns an error without sending a request. Any value other than true, 1, yes, false, 0, no or empty stops the server at startup.
  • HETZNER_CONFIRM_WRITES true: every tool that is not read-only returns a preview unless the call carries confirm "YES". Friction against mistakes, not a security boundary.
  • HETZNER_DENY_TOOLS Comma-separated tool name globs (for example hcloud_delete_*,hcloud_raw_request) that always return an error. Deny hcloud_raw_request as well, otherwise denied endpoints stay reachable through it. A pattern that matches no tool stops the server at startup.
  • LOG_LEVEL Log level of the JSON logs on stderr.

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

ما هو Hetzner Cloud (unofficial)؟

Unofficial MCP server for the Hetzner Cloud API: one typed tool per operation, read and write.

كيف أثبّت Hetzner Cloud (unofficial)؟

يعمل على جهازك. في Claude Code: claude mcp add hetzner-cloud-unofficial -e 'HETZNER_API_TOKEN=<your hetzner_api_token>' -e 'HETZNER_READ_ONLY=false' -e 'HETZNER_CONFIRM_WRITES=false' -e 'HETZNER_DENY_TOOLS=<HETZNER_DENY_TOOLS>' -e 'LOG_LEVEL=warn' -- npx -y @mguttmann/hetzner-cloud-mcp@0.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Hetzner Cloud (unofficial) إلى مفتاح API؟

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

هل Hetzner Cloud (unofficial) مفتوح المصدر؟

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

من يصون Hetzner Cloud (unofficial)؟

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

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