HestiaCP MCP
MCP server by webxtekstudio Community
Fail-closed TypeScript MCP server for HestiaCP and Linux host administration.
Install HestiaCP MCP
Built from the published package, never by AI.
claude mcp add hestiacp-mcp -e HESTIACP_MODE=YOUR_HESTIACP_MODE -- npx -y @webxtekstudio/hestiacp-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hestiacp-mcp": {
"command": "npx",
"args": [
"-y",
"@webxtekstudio/hestiacp-mcp"
],
"env": {
"HESTIACP_MODE": "YOUR_HESTIACP_MODE"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hestiacp-mcp": {
"command": "npx",
"args": [
"-y",
"@webxtekstudio/hestiacp-mcp"
],
"env": {
"HESTIACP_MODE": "YOUR_HESTIACP_MODE"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hestiacp-mcp": {
"command": "npx",
"args": [
"-y",
"@webxtekstudio/hestiacp-mcp"
],
"env": {
"HESTIACP_MODE": "YOUR_HESTIACP_MODE"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add hestiacp-mcp --env HESTIACP_MODE=YOUR_HESTIACP_MODE -- npx -y @webxtekstudio/hestiacp-mcp{
"mcpServers": {
"hestiacp-mcp": {
"command": "npx",
"args": [
"-y",
"@webxtekstudio/hestiacp-mcp"
],
"env": {
"HESTIACP_MODE": "YOUR_HESTIACP_MODE"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add hestiacp-mcp npx -y @webxtekstudio/hestiacp-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hestiacp-mcp block.
What you need
| Setting | Needed | What it is |
|---|---|---|
HESTIACP_Environment variable | Required | Access mode preset: 'basic' (read-only audit, safest default), 'medium' (safe daily hosting writes), 'pro' (recommended for sysadmins: SRE system control & guided hardening with confirmation), or 'ultra' (full unrestricted lifecycle includi |
HESTIACP_Environment variable | Optional | Transport mode: 'ssh' (recommended for host + HestiaCP tools) or 'api' (HestiaCP REST API). |
HESTIACP_Environment variable | Optional | Target SSH hostname or IP address when HESTIACP_TRANSPORT=ssh. |
HESTIACP_Environment variable | Optional | SSH login username (use a dedicated unprivileged account such as hestia-mcp with sudo mode). |
HESTIACP_Environment variable | Optional | SSH privilege mode: 'sudo' (recommended least-privilege) or 'direct'. |
HESTIACP_Environment variable | Optional | Path to the SSH private key file used for key-based authentication. |
HESTIACP_Environment variable | Optional | Path to a pinned OpenSSH known_hosts file for StrictHostKeyChecking=yes. |
HESTIACP_Environment variable | Optional | HestiaCP REST API base URL (https://...) when HESTIACP_TRANSPORT=api. |
HESTIACP_Environment variable, secret | Optional | HestiaCP REST API access key when HESTIACP_TRANSPORT=api. |
HESTIACP_Environment variable, secret | Optional | HestiaCP REST API secret key when HESTIACP_TRANSPORT=api. |
HESTIACP_Environment variable | Optional | Optional path to a multi-server JSON profile (0600/0400 permissions on POSIX). |
HESTIACP_Environment variable | Optional | Context budget preset ('dynamic' default in basic, 'all' default in medium+, 'ops', 'minimal') or comma-separated toolsets. |
HESTIACP_Environment variable | Optional | Enable runtime toolset toggling via hestia_manage_toolsets ('true' or 'false'). |
HESTIACP_Environment variable | Optional | Optional path for symlink-safe JSONL execution audit logs. |
HESTIACP_Environment variable | Optional | Opt-in flag to allow write-tier tools (defaults to 'false'). |
HESTIACP_Environment variable | Optional | Opt-in flag to allow destructive-tier tools with confirmation (defaults to 'false'). |
HESTIACP_Environment variable | Optional | Opt-in flag to allow system-tier tools with confirmation (defaults to 'false'). |
HESTIACP_Environment variable | Optional | Require explicit HESTIACP_MODE (or per-target policy.mode) on startup ('true' or 'false', defaults to 'false'). |
HESTIACP_Environment variable | Optional | Suppress non-error startup stderr log lines when set to 'true' (defaults to 'false'). |
HESTIACP_Environment variable | Optional | Enable optional Streamable HTTP transport instead of stdio ('true' or 'false', defaults to 'false'). |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Alternatives to HestiaCP MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
HestiaCP MCP: common questions
How do I install HestiaCP MCP?
In Claude Code run claude mcp add hestiacp-mcp -e HESTIACP_MODE=YOUR_HESTIACP_MODE -- npx -y @webxtekstudio/hestiacp-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is HestiaCP MCP the official server?
HestiaCP MCP is a community project by webxtekstudio, not verified by a company domain.
Is HestiaCP MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is HestiaCP MCP safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to HestiaCP MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does HestiaCP MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
