# mcp-server-ru [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/hostkey-cloud-ru/mcp-server-ru  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-ru

## Description
MCP-сервер Hostkey .ru (InvAPI): серверы, питание, заказ, DNS, S3, биллинг

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "mcp-server-ru": {
    "url": "https://mcp.hostkey.ru/mcp"
  }
}
```

## Documentation

## What mcp-server-ru does

mcp-server-ru gives MCP-compatible clients access to a Hostkey .ru account through the InvAPI endpoint at invapi.hostkey.ru. It covers infrastructure management and related account operations, including server inventory, power control, server orders, operating-system installation, PXE workflows, network ports, reverse DNS, DNS zones and records, virtual-machine snapshots, ISO images, S3 buckets, Remote Hands requests, invoices, payments, contacts, and API keys.

The package exposes 132 typed tools and a `call_api_raw` tool for direct API requests. Clients can also access prompts for guided server ordering, operating-system reinstallation, and troubleshooting.

## How it works

Authentication uses an InvAPI key supplied as a bearer token for the hosted endpoint or through the `HOSTKEY_API_KEY` environment variable when running locally. The hosted MCP endpoint is `https://mcp.hostkey.ru/mcp`. Local execution uses the npm package with Node.js and communicates over stdio.

Write operations require `confirm=true`; without that parameter, the server does not change account resources. Server ordering starts in `dry_run` mode and requires explicit approval before placing a real order. Reinstallation, PXE actions, and service cancellation also require `HOSTKEY_ALLOW_DESTRUCTIVE=1` in the local environment.

Long-running actions such as deployment and reinstallation return a callback key. The `check_task` tool can then be used to follow their status. Passwords and tokens are masked in responses.

## Setup and configuration

Create an API key in InvAPI at `invapi.hostkey.ru` under API-key management. A separate key is recommended for MCP access, and a key restricted to one server limits access to that server. DNS record changes require the `pdns/edit` permission.

For hosted use, configure an MCP client with the URL `https://mcp.hostkey.ru/mcp` and an `Authorization` header containing the InvAPI key as a bearer token. This option does not require a local Node.js installation.

For local stdio use, configure the client to run `npx -y hostkey-mcp-server-ru` and set `HOSTKEY_API_KEY`. Cursor and VS Code support either the hosted URL configuration or the local command configuration. Building from source requires Node.js 22.18 or newer, followed by `npm install` and `npm run build`.

Optional local settings include `HOSTKEY_TOKEN_TTL`, `HOSTKEY_HTTP_TIMEOUT`, and `HOSTKEY_ALLOW_DESTRUCTIVE`.

## Tools and capabilities

- Inspect servers and power state with tools such as `get_servers`, `get_server`, and `get_power_status`.
- Browse presets, operating systems, and traffic plans.
- Control power and order or reinstall servers with confirmation safeguards.
- Manage PXE reinstall sequences, including task creation and configuration cleanup.
- Work with network ports, PTR records, DNS zones, and DNS records.
- Handle snapshots, ISO images, and S3 buckets.
- Create and manage Remote Hands requests.
- Review invoices, payments, and billing contacts.
- Check asynchronous task status with `check_task` or make direct requests through `call_api_raw`.

## Limitations and notes

The package targets the Hostkey .ru portal. Hostkey .com uses a separate package, `hostkey-mcp-server`, and a different hosted endpoint. Destructive workflows remain blocked unless the relevant confirmation and environment safeguards are supplied. API-key permissions also determine which operations are available, including DNS editing.

_Full upstream README: https://allmcps.com/mcp/mcp-server-ru/readme_

