MCP directory
HM

HestiaCP MCP

by github.com/webxtekstudio · v1.1.0 · updated Dec 4, 2026

Fail-closed TypeScript MCP server for HestiaCP and Linux host administration.

npmDocker

Run it locally

Install the package and point your AI client at it.

npm

npx -y @webxtekstudio/[email protected]

Environment variables

  • HESTIACP_TRANSPORT

    Transport mode: 'ssh' (recommended for host + HestiaCP tools) or 'api' (HestiaCP REST API).

  • HESTIACP_SSH_HOST

    Target SSH hostname or IP address when HESTIACP_TRANSPORT=ssh.

  • HESTIACP_SSH_USER

    SSH login username (use a dedicated unprivileged account such as hestia-mcp with sudo mode).

  • HESTIACP_SSH_EXEC_MODE

    SSH privilege mode: 'sudo' (recommended least-privilege) or 'direct'.

  • HESTIACP_SSH_PRIVATE_KEY_PATH

    Path to the SSH private key file used for key-based authentication.

  • HESTIACP_SSH_KNOWN_HOSTS_PATH

    Path to a pinned OpenSSH known_hosts file for StrictHostKeyChecking=yes.

  • HESTIACP_API_URL

    HestiaCP REST API base URL (https://...) when HESTIACP_TRANSPORT=api.

  • HESTIACP_ACCESS_KEYsecret

    HestiaCP REST API access key when HESTIACP_TRANSPORT=api.

  • HESTIACP_SECRET_KEYsecret

    HestiaCP REST API secret key when HESTIACP_TRANSPORT=api.

  • HESTIACP_SERVERS_FILE

    Optional path to a multi-server JSON profile (0600/0400 permissions on POSIX).

  • HESTIACP_TOOLSETS

    Context budget preset ('all', 'ops', 'minimal', 'dynamic') or comma-separated toolsets.

  • HESTIACP_DYNAMIC_TOOLSETS

    Enable runtime toolset toggling via hestia_manage_toolsets ('true' or 'false').

  • HESTIACP_AUDIT_LOG

    Optional path for symlink-safe JSONL execution audit logs.

  • HESTIACP_ALLOW_WRITE

    Opt-in flag to allow write-tier tools (defaults to 'false').

  • HESTIACP_ALLOW_DESTRUCTIVE

    Opt-in flag to allow destructive-tier tools with confirmation (defaults to 'false').

  • HESTIACP_ALLOW_SYSTEM

    Opt-in flag to allow system-tier tools with confirmation (defaults to 'false').

Docker

docker run -i --rm ghcr.io/webxtekstudio/hestiacp-mcp:1.1.0

Environment variables

  • HESTIACP_TRANSPORT

    Transport mode: 'ssh' (recommended for host + HestiaCP tools) or 'api' (HestiaCP REST API).

  • HESTIACP_SSH_HOST

    Target SSH hostname or IP address when HESTIACP_TRANSPORT=ssh.

  • HESTIACP_SSH_USER

    SSH login username (use a dedicated unprivileged account such as hestia-mcp with sudo mode).

  • HESTIACP_SSH_EXEC_MODE

    SSH privilege mode: 'sudo' (recommended least-privilege) or 'direct'.

  • HESTIACP_SSH_PRIVATE_KEY_PATH

    Path inside the container to the mounted SSH private key file.

  • HESTIACP_SSH_KNOWN_HOSTS_PATH

    Path inside the container to a mounted pinned OpenSSH known_hosts file.

  • HESTIACP_API_URL

    HestiaCP REST API base URL (https://...) when HESTIACP_TRANSPORT=api.

  • HESTIACP_ACCESS_KEYsecret

    HestiaCP REST API access key when HESTIACP_TRANSPORT=api.

  • HESTIACP_SECRET_KEYsecret

    HestiaCP REST API secret key when HESTIACP_TRANSPORT=api.

  • HESTIACP_SERVERS_FILE

    Optional path inside the container to a mounted multi-server JSON profile.

  • HESTIACP_TOOLSETS

    Context budget preset ('all', 'ops', 'minimal', 'dynamic') or comma-separated toolsets.

  • HESTIACP_DYNAMIC_TOOLSETS

    Enable runtime toolset toggling via hestia_manage_toolsets ('true' or 'false').

  • HESTIACP_AUDIT_LOG

    Optional path inside the container for symlink-safe JSONL execution audit logs.

  • HESTIACP_ALLOW_WRITE

    Opt-in flag to allow write-tier tools (defaults to 'false').

  • HESTIACP_ALLOW_DESTRUCTIVE

    Opt-in flag to allow destructive-tier tools with confirmation (defaults to 'false').

  • HESTIACP_ALLOW_SYSTEM

    Opt-in flag to allow system-tier tools with confirmation (defaults to 'false').

More MCP servers