Hetzner Cloud for VS Code
io.github.dasred/hetzner-mcp
Query Hetzner Cloud servers, networks, IPs, volumes, DNS and prices. Read-only by default.
client:VS Code
transport:stdio
runtime:oci
Install Hetzner Cloud in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "hetzner-api-token",
"description": "HETZNER_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "hetzner-storage-api-token",
"description": "HETZNER_STORAGE_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "mcp-splits",
"description": "MCP_SPLITS",
"password": true
},
{
"type": "promptString",
"id": "mcp-read-only",
"description": "MCP_READ_ONLY",
"password": true
},
{
"type": "promptString",
"id": "mcp-tools-allow",
"description": "MCP_TOOLS_ALLOW",
"password": true
},
{
"type": "promptString",
"id": "mcp-tools-deny",
"description": "MCP_TOOLS_DENY",
"password": true
},
{
"type": "promptString",
"id": "mcp-auth-token",
"description": "MCP_AUTH_TOKEN",
"password": true
}
],
"servers": {
"hetzner-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dasred/hetzner-mcp:1.1.0"
],
"env": {
"HETZNER_API_TOKEN": "${input:hetzner-api-token}",
"HETZNER_STORAGE_API_TOKEN": "${input:hetzner-storage-api-token}",
"MCP_SPLITS": "${input:mcp-splits}",
"MCP_READ_ONLY": "${input:mcp-read-only}",
"MCP_TOOLS_ALLOW": "${input:mcp-tools-allow}",
"MCP_TOOLS_DENY": "${input:mcp-tools-deny}",
"MCP_AUTH_TOKEN": "${input:mcp-auth-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs