hostkey-cloud
MCP server giving AI clients access to a Hostkey hosting account for servers, DNS
hostkey-cloud is an open-source MCP server for cloud and infrastructure. It can run locally on your machine or as a hosted remote server.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally or Remotely
- What it can do
- Can change data (1 tool)
- Version
- 1.0.8
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http mcp-server https://mcp.hostkey.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.hostkey.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.hostkey.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.hostkey.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.hostkey.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.hostkey.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server --url https://mcp.hostkey.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
url = "https://mcp.hostkey.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.hostkey.com/mcpEnter a Name (for example "hostkey-cloud"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.hostkey.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "httpUrl": "https://mcp.hostkey.com/mcp" } } }Or run: gemini mcp add -s user --transport http mcp-server https://mcp.hostkey.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "serverUrl": "https://mcp.hostkey.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "url": "https://mcp.hostkey.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "type": "streamableHttp", "url": "https://mcp.hostkey.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "url": "https://mcp.hostkey.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "url": "https://mcp.hostkey.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "url": "https://mcp.hostkey.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "url": "https://mcp.hostkey.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
HOSTKEY_API_KEYInvAPI API key for the .com portal (invapi.hostkey.com); per-server keys supportedRequiredHOSTKEY_TOKEN_TTLSession token TTL in seconds (default 3600)HOSTKEY_ALLOW_DESTRUCTIVESet to 1 to allow destructive operations (OS reinstall, PXE cycle, service cancellation)
About hostkey-cloud
Hostkey's MCP server connects AI assistants to a Hostkey account through its InvAPI interface. Once connected, a model can list and inspect servers, check power state, browse the catalog of presets, operating systems and traffic plans, and place orders. Operations cover network ports, reverse DNS, DNS zones and records, VM snapshots, ISO images, S3 buckets, Remote Hands tickets, invoices and API keys.
It runs locally over stdio through npm and is configured in clients such as Cursor and VS Code using an API key. A hosted streamable-HTTP endpoint is also offered for cloud agents, so no local Node install is needed. Write actions require an explicit confirm flag, and ordering defaults to a dry run. Destructive operations such as OS reinstalls, PXE cycles and service cancellations stay disabled unless an environment variable is set.
The server suits developers and operators who manage Hostkey infrastructure and want an assistant to handle routine provisioning, power and DNS tasks with guardrails on changes.
Tools this server provides (14)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 14 tools changes data; 6 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_serversName suggests: reads
- Lists servers in the account.
- get_serverName suggests: reads
- Returns details for one server.
- get_power_statusName suggests: reads
- Reports the power state of a server.
- power_on
- Powers a server on.
- power_off
- Powers a server off.
- order_server
- Orders a server, defaulting to dry run.
- reinstall_server
- Reinstalls the operating system on a server.
- list_presetsName suggests: reads
- Lists server presets from the catalog.
- list_osName suggests: reads
- Lists available operating systems.
- list_traffic_plansName suggests: reads
- Lists traffic plans.
- create_reinstall_taskName suggests: changes
- Starts a PXE reinstall task.
- clear_pxe_config
- Clears the PXE configuration.
- check_taskName suggests: reads
- Checks the status of a long-running task.
- call_api_raw
- Calls an InvAPI endpoint directly.
What it does
- Server management
- Lists servers and reads their details and power status through typed tools.
- Guided ordering
- Orders servers from the catalog, with dry run as the default until consent is given.
- DNS control
- Manages PTR records, zones and records, with write access tied to a specific key permission.
- Confirmation gates
- Every write call needs an explicit confirm flag before anything changes.
- Destructive action switch
- Reinstalls, PXE cycles and cancellations are blocked unless explicitly enabled.
- Task polling
- Long-running jobs return a callback key that can be checked until they finish.
- Billing and storage access
- Reads invoices and contacts and manages S3 buckets and ISO images.
Good for
- Check power state and details for every server in a Hostkey account
- Order a new VPS from a chosen location with a dry run first
- Update DNS records or reverse DNS for hosted servers
- Reinstall an operating system on a server with destructive actions enabled
- Review invoices and payments from within an AI assistant
Pricing
Open source
Open-source server; use requires a Hostkey account.
hostkey-cloud FAQ
How do I connect the server?
Install it through npx or add the hosted endpoint to your client, supplying your InvAPI key as HOSTKEY_API_KEY or as a bearer token.
Does hostkey-cloud place orders automatically?
No. order_server defaults to a dry run, and a real order requires explicit consent.
Are destructive actions enabled by default?
No. OS reinstalls, PXE operations and service cancellations need HOSTKEY_ALLOW_DESTRUCTIVE set to 1.
Can I restrict the key's access?
Yes. Per-server API keys limit access to one server, and DNS writes need the pdns/edit permission.
Is hostkey-cloud free?
Yes. hostkey-cloud is open source, so you can use and self-host it for free.
How do I add hostkey-cloud to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp-server https://mcp.hostkey.com/mcp
What are the best alternatives to hostkey-cloud?
The closest alternatives to hostkey-cloud are MCP Server Ru, awslabs, HepCloud, VPS MCP & Digital Secretary and Hostinger.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
