Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unofficial MCP server for the Hetzner Cloud API: one typed tool per operation, read and write.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
HETZNER_API_TOKEN, HETZNER_READ_ONLY, HETZNER_CONFIRM_WRITES, HETZNER_DENY_TOOLS, LOG_LEVELค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"the-real-hetzner": {
"command": "npx",
"args": [
"-y",
"@mguttmann/hetzner-cloud-mcp"
],
"env": {
"HETZNER_API_TOKEN": "ใส่ค่าของคุณ",
"HETZNER_READ_ONLY": "ใส่ค่าของคุณ",
"HETZNER_CONFIRM_WRITES": "ใส่ค่าของคุณ",
"HETZNER_DENY_TOOLS": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add the-real-hetzner --env HETZNER_API_TOKEN='ใส่ค่าของคุณ' --env HETZNER_READ_ONLY='ใส่ค่าของคุณ' --env HETZNER_CONFIRM_WRITES='ใส่ค่าของคุณ' --env HETZNER_DENY_TOOLS='ใส่ค่าของคุณ' --env LOG_LEVEL='ใส่ค่าของคุณ' -- npx -y @mguttmann/hetzner-cloud-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"the-real-hetzner": {
"command": "npx",
"args": [
"-y",
"@mguttmann/hetzner-cloud-mcp"
],
"env": {
"HETZNER_API_TOKEN": "ใส่ค่าของคุณ",
"HETZNER_READ_ONLY": "ใส่ค่าของคุณ",
"HETZNER_CONFIRM_WRITES": "ใส่ค่าของคุณ",
"HETZNER_DENY_TOOLS": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"the-real-hetzner": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mguttmann/hetzner-cloud-mcp"
],
"env": {
"HETZNER_API_TOKEN": "ใส่ค่าของคุณ",
"HETZNER_READ_ONLY": "ใส่ค่าของคุณ",
"HETZNER_CONFIRM_WRITES": "ใส่ค่าของคุณ",
"HETZNER_DENY_TOOLS": "ใส่ค่าของคุณ",
"LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
HETZNER_READ_ONLY envHETZNER_CONFIRM_WRITES envHETZNER_DENY_TOOLS envLOG_LEVEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mguttmann ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: HETZNER_API_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 11 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Egovframe Scaffold MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
eGovFrame (전자정부 표준프레임워크) projects: templates, components, CRUD, build, 5.x migration, dependencies
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An unofficial local Model Context Protocol (MCP) server (stdio) for the Hetzner Cloud API: every operation of the vendored Hetzner Cloud API specification as a typed tool, read and write, plus hand-tuned wrappers for the common server operations. npm package: @mguttmann/hetzner-cloud-mcp.
Unofficial project. This server is not affiliated with, endorsed by, sponsored by or supported by Hetzner Online GmbH. "Hetzner" is a trademark of Hetzner Online GmbH. The vendored API specification (specs/cloud.spec.json) is Hetzner's and is not covered by this project's MIT License. See NOTICE.
main, with a CycloneDX SBOM, SHA256SUMS and build provenance (CHANGELOG.md lists the changes).specs/cloud.spec.json (one generated tool per operation), plus hand-tuned wrappers for the common server operations. The exact tool list and count are pinned by tests/tools-contract.test.ts against tests/snapshots/tools-contract.json.hcloud_raw_request as a generic escape hatch for any endpoint.HETZNER_CONFIRM_WRITES=true: every tool that is not read-only returns a preview (tool name and input) unless the call carries confirm: "YES".HETZNER_READ_ONLY=true (only read-only tools and GET through hcloud_raw_request run) and HETZNER_DENY_TOOLS (tool name globs that always return an error). Both leave the tool list and the schemas unchanged.Not covered: Hetzner Robot (the dedicated-server API), Hetzner DNS (the standalone DNS product, a separate API from Cloud DNS) and Hetzner Storage Boxes. They are not part of the Cloud API and the codegen has no spec for them.
Covered: Cloud DNS zones and RRSets (/v1/zones) are part of the Cloud API spec, so they are in scope through the generated tools.
Requires Node.js 22.12 or newer (engines in package.json; the CI matrix in .github/workflows/ci.yml tests the floor and the current Node lines).
Do not install 0.1.x. npm versions below 0.2.0 (0.1.0 and 0.1.1) are affected by a path-injection vulnerability that is fixed in 0.2.0, see SECURITY.md.
The package name is exactly @mguttmann/hetzner-cloud-mcp; packages with similar names are not from this project.
npm install -g "@mguttmann/hetzner-cloud-mcp@>=0.2.0"
The version range makes npm refuse the vulnerable 0.1.x versions. If npm reports that no matching version exists, 0.2.0 is not published yet: install from a pinned git commit instead. In your MCP client config the command is then just hetzner-cloud-mcp (no path needed).
npx -y "@mguttmann/hetzner-cloud-mcp@>=0.2.0"
MCP clients start it the same way, see Variant C. Keep the version range: without it npx would take whatever version npm serves as latest.
Once listed, the server is in the official MCP Registry as io.github.mguttmann/the-real-hetzner-mcp, with the npm package above as its package. Clients that install from the registry use the same npm package.
git clone https://github.com/mguttmann/the-real-hetzner-mcp.git
cd the-real-hetzner-mcp git checkout npm ci npm run build
Pin a full commit SHA, not a branch name: the commit of the v0.2.0 tag (git rev-list -n 1 v0.2.0) or a later commit on main. npm ci installs exactly the committed lockfile.
With the npm package, set the variables in the env block of your MCP client configuration (see MCP Connector Setup); the package ships no .env file. In a git checkout:
cp .env.example .env
npm run refresh-spec and npm run generate are not part of the setup: they change the tool surface (see Spec Updates).
The server reads its configuration from the environment. At startup it also loads the .env file in the package directory (next to package.json, dotenv), never one from the current working directory; variables that are already set win. A deployment can pass the file explicitly instead, from any working directory: node --env-file=/path/to/.env dist/index.js.
Optional smoke test against the real API (four read-only calls):
npm run test:live
Only HETZNER_API_TOKEN is required. The defaults below are pinned by tests/config.test.ts. A numeric value that is not a positive number, and an unknown boolean or log level, falls back to the default. Exceptions that stop the server at startup instead: an invalid HETZNER_API_BASE and an unknown HETZNER_READ_ONLY value.
| Variable | Default | Meaning |
|---|---|---|
HETZNER_API_TOKEN | (required) | Hetzner Cloud API token, sent as a bearer token on every request. The server can do exactly what this token allows. |
HETZNER_API_BASE | https://api.hetzner.cloud/v1 | API base URL. Must be https; plain http only for localhost, 127.0.0.1 or ::1. Any other value stops the server at startup. Override only for tests or a local fake upstream. |
HETZNER_CONFIRM_WRITES | false | true, 1 or yes: every tool that is not read-only returns a preview unless the call carries confirm: "YES". |
HETZNER_READ_ONLY | false | true, 1 or yes: every tool that is not annotated read-only, and hcloud_raw_request with a method other than GET, returns isError without sending a request. Checked before the confirm guard. Tool list and schemas are unchanged. Any value other than true, 1, yes, false, 0, no or empty stops the server at startup. |
HETZNER_DENY_TOOLS | (empty) | Comma-separated tool name globs (* any characters, ? one character, whole name, case-sensitive), for example hcloud_delete_*,hcloud_raw_request. A matching tool returns isError without sending a request, read-only tools included. Tool list and schemas are unchanged. Patterns use the server's own hcloud_* names, not a gateway-prefixed name; a pattern that matches no tool stops the server at startup. Denying a tool does not block its endpoint through hcloud_raw_request, so deny hcloud_raw_request as well, otherwise every denied endpoint stays reachable through it. |
LOG_LEVEL | warn | debug, info, warn or error. Logs are JSON on stderr; stdout carries the MCP protocol. |
HTTP_TIMEOUT_MS | 30000 | Wall-clock budget for one API request, all attempts and retry delays included. |
HTTP_MAX_RETRY_DELAY_MS | 10000 | Longest single retry delay. A 429 whose Retry-After asks for more is returned at once as an error. |
ACTION_POLL_TIMEOUT_MS | 45000 | Wall-clock budget of a wait: true call, measured from the start of the call (write request, poll requests and their retries included). Also the ceiling for the timeout_ms argument of hcloud_wait_action. |
ACTION_POLL_INTERVAL_MS | 2000 | Pause between two polls. The interval_ms argument of hcloud_wait_action cannot go below 1000 or this value, whichever is lower. |
PAGINATION_MAX_ITEMS | 500 | Soft cap on the items an auto-paginated list collects; a capped list reports truncated: true. |
PAGINATION_MAX_PAGES | 10 | Soft cap on the pages an auto-paginated list requests. |
MAX_OUTPUT_BYTES | 8388608 | Largest tool result text in bytes, counted as sent (JSON-escaped). A longer result is cut and ends with [output truncated by MAX_OUTPUT_BYTES=...]. Values above the default are lowered to it, so one result line stays below the 10 MiB stdio limit. |
PAGINATION_TIMEOUT_MS | 45000 | Wall-clock budget of one auto-paginated list. When it ends, the pages read so far come back with truncated: true and a note. |
MCP_SERVE_MODERN_PROTOCOL | false | true, 1 or yes: also serve the MCP 2026-07-28 revision over stdio (see MCP protocol). A client that opens with initialize gets the same 2025-era session as with false. |
Development only: RUN_LIVE_TESTS=1 enables tests/live-smoke.test.ts (set by npm run test:live), and HETZNER_LIVE_SMOKE_ANCHORS optionally names servers that test expects to find.
Retries: a 429 is retried after Retry-After, or after a short backoff when the header is missing (Hetzner refills one request per second; RateLimit-Reset is the time the bucket is full again and is not used as a delay). A 5xx is retried with backoff, except for POST, which may already have been processed. With the defaults one tool call answers within about max(HTTP_TIMEOUT_MS, ACTION_POLL_TIMEOUT_MS) (tests/call-budget.test.ts measures this), so it stays below a 60 s client call timeout, common in MCP clients and gateways. Keep that relation if you raise the values. Auto-paginated lists run one request per page within PAGINATION_TIMEOUT_MS; when that budget ends, the pages read so far come back with truncated: true and a note, never as a list that looks complete.
When polling fails or the budget runs out after a successful write, the tool returns the write response (for example the new resource id and a one-time root_password) with polling_timed_out: true, plus polling_error if polling failed.
The server speaks MCP over stdio only and opens no network port.
2024-11-05, 2025-03-26, 2025-06-18 or 2025-11-25 gets that revision back; a client that asks for a newer one (for example 2026-07-28) in initialize gets 2025-11-25 (tests/server.test.ts).MCP_SERVE_MODERN_PROTOCOL=true the server also answers a client that opens with server/discover and serves it the 2026-07-28 revision, with the same tools. A client that opens with initialize still gets the 2025-era session above (tests/serve-protocol.test.ts). The default is false: a client in auto mode (such as the python mcp client) would switch to the new revision as soon as it is offered, so turn it on only after checking the client. See docs/adr/0001-mcp-sdk-v2.md.tests/transport-lifecycle.test.ts). A longer line closes the transport: the server logs mcp transport error on stderr and exits with code 1. Keep large arguments (for example user_data) well below that size. Outbound, a tool result is cut at MAX_OUTPUT_BYTES (at most 8 MiB, tests/output-cap.test.ts) and then ends with an [output truncated by MAX_OUTPUT_BYTES=...] marker.Append to your cli
ตัดมาแค่ช่วงต้น อ่านต่อใน repo