hestiacp-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HESTIACP_API_URL | No | HestiaCP REST API URL, e.g. https://panel.example.com:8083. | |
| HESTIACP_SSH_HOST | No | SSH host for the HestiaCP server. | |
| HESTIACP_SSH_USER | No | SSH user for the HestiaCP server. | |
| HESTIACP_TOOLSETS | No | Toolset preset: `ops`, `minimal`, `dynamic`, or `all`. Defaults to `all`. | all |
| HESTIACP_AUDIT_LOG | No | Path to the JSONL audit log. | |
| HESTIACP_TRANSPORT | Yes | Outbound transport. Set to `ssh` for OpenSSH or `api` for the HestiaCP REST API. | |
| HESTIACP_ACCESS_KEY | No | HestiaCP REST API access key. | |
| HESTIACP_SECRET_KEY | No | HestiaCP REST API secret key. | |
| HESTIACP_ALLOW_WRITE | No | Allow write actions. Defaults to `false`. | false |
| HESTIACP_OVERLAY_DIR | No | Local overlay directory. | |
| HESTIACP_ALLOW_SYSTEM | No | Allow system control actions. Defaults to `false`. | false |
| HESTIACP_HTTP_ENABLED | No | Enable optional stateless Streamable HTTP transport. Requires HESTIACP_HTTP_AUTH_TOKEN. | false |
| HESTIACP_SERVERS_FILE | No | Path to multi-server profiles file. | |
| HESTIACP_SSH_EXEC_MODE | No | SSH execution mode; `sudo` is recommended. | |
| HESTIACP_HTTP_AUTH_TOKEN | No | Bearer token for HTTP transport; required when HESTIACP_HTTP_ENABLED=true; must be at least 32 characters. | |
| HESTIACP_ALLOW_DESTRUCTIVE | No | Allow destructive actions. Defaults to `false`. | false |
| HESTIACP_SSH_KNOWN_HOSTS_PATH | No | Path to the SSH known_hosts file. | |
| HESTIACP_SSH_PRIVATE_KEY_PATH | No | Path to the SSH private key. | |
| HESTIACP_SSH_STRICT_HOST_KEY_CHECKING | No | SSH strict host key checking setting, e.g. `yes`. | |
| HESTIACP_ALLOW_NON_INTERACTIVE_CONFIRM | No | Enable 2-step single-use HMAC confirmation token instead of interactive elicitation. Defaults to `false`. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {}
} |
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"listChanged": false
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| hestia_get_system_overviewA | Read HestiaCP host overview (OS, hostname, kernel, uptime, load average, and panel version) via v-list-sys-info. Use when checking basic panel and host identity/load; prefer hestia_get_sys_config for global panel settings, hestia_list_services for per-daemon status, or hestia_deep_host_diagnostics (serverops) for PSI, inodes, mounts, and OOM telemetry. Returns { ok, targetId, command, data (system summary record) }. |
| hestia_list_servicesA | List managed HestiaCP system services and their running state, CPU, and memory usage via v-list-sys-services. Use when checking service liveness via the HestiaCP panel; prefer hestia_host_systemd_inspect (host) for raw systemd unit states over SSH. Returns { ok, targetId, command, data (map keyed by service name) }. |
| hestia_get_sys_configA | Read global HestiaCP system configuration parameters (ports, backup settings, firewall, mail/DNS/web defaults) via v-list-sys-config. Use when inspecting panel-wide configuration flags; prefer hestia_get_system_overview for runtime host/uptime overview. Returns { ok, targetId, command, data (global config parameters) }. |
| hestia_list_sys_ipsA | List IP addresses configured on the HestiaCP server via v-list-sys-ips. Use when checking panel IP allocations and NAT mappings; prefer hestia_port_exposure_audit (serverops) for live socket and IPv6 listening checks. Returns { ok, targetId, command, data (map keyed by IP address) }. |
| hestia_list_firewall_rulesA | List active HestiaCP firewall rules (action, protocol, port, IP/ipset, comment) via v-list-firewall. Use when reviewing configured HestiaCP firewall rules; prefer hestia_list_firewall_bans for active Fail2Ban bans, hestia_list_firewall_ipsets for named IP sets, or hestia_port_exposure_audit (serverops) to cross-check rules against live listening sockets. Returns { ok, targetId, command, data (map keyed by rule ID) }. |
| hestia_list_firewall_bansA | List active Fail2Ban / firewall IP bans tracked by HestiaCP via v-list-firewall-ban. Use when checking blocked IPs in HestiaCP; prefer hestia_list_firewall_rules for static port rules or hestia_fail2ban_jails (forensics) for per-jail Fail2Ban statistics over SSH. Returns { ok, targetId, command, data (map of active bans) }. |
| hestia_list_firewall_ipsetsA | List configured HestiaCP firewall IP sets and blocklist sources via v-list-firewall-ipset. Use when inspecting named IP sets referenced by firewall rules; prefer hestia_list_firewall_rules for the firewall rule table itself. Returns { ok, targetId, command, data (map keyed by ipset name) }. |
| hestia_list_sys_hestia_updatesA | List HestiaCP core package versions and available updates via v-list-sys-hestia-updates. |
| hestia_list_php_versionsB | List PHP versions installed and managed on the HestiaCP server via v-list-sys-php. |
| hestia_list_usersA | List all HestiaCP user accounts with summary quotas, packages, disk/bandwidth totals, and suspension status via v-list-users. Use when browsing all accounts or discovering usernames; prefer hestia_get_user for full configuration of one known account or hestia_get_user_stats for historical usage series. Returns { ok, targetId, command, data (map keyed by username) }. |
| hestia_get_userA | Read detailed configuration, resource limits, contact email, shell, and suspension status for a single HestiaCP user via v-list-user. Use when inspecting one known account; prefer hestia_list_users to enumerate all accounts or hestia_get_user_stats for historical disk/bandwidth metrics. Returns { ok, targetId, command, data (single user record) }. |
| hestia_list_user_packagesA | List configured HestiaCP hosting packages and resource limits via v-list-user-packages. Use when comparing package quotas or choosing a package name; prefer hestia_get_user to inspect the package assigned to a specific user. Returns { ok, targetId, command, data (map keyed by package name) }. |
| hestia_get_user_statsA | Read historical disk, bandwidth, web, mail, database, and backup usage snapshots for a single HestiaCP user via v-list-user-stats. Use when analyzing resource growth over time; prefer hestia_get_user for current account limits and configuration. Returns { ok, targetId, command, data (date-keyed usage records) }. |
| hestia_list_user_ssh_keysA | List authorized SSH public keys configured for a HestiaCP user via v-list-user-ssh-key. Use when auditing panel-managed SSH keys for one user; prefer hestia_host_access_inventory (host toolset) for host-wide SSH key SHA-256 fingerprints across system accounts. Returns { ok, targetId, command, data (map keyed by key ID) }. |
| hestia_list_user_logA | Read the HestiaCP panel action/audit log entries for a user account via v-list-user-log. Use when auditing HestiaCP control-plane actions for one user; prefer hestia_tail_log or hestia_search_logs (diagnostics/forensics) for system daemon logs over SSH. Returns { ok, targetId, command, data (chronological log entries) }. |
| hestia_list_web_domainsA | List all web domains owned by a HestiaCP user with summary IP, SSL status, PHP backend, and template info via v-list-web-domains. Use when discovering domains for a user or auditing domain summaries; prefer hestia_get_web_domain for full configuration of one domain or hestia_get_web_domain_ssl for certificate metadata. Returns { ok, targetId, command, data (map keyed by domain) }. |
| hestia_get_web_domainA | Read full web, TLS, proxy, statistics, and template configuration for one specific web domain owned by a user via v-list-web-domain. Use when inspecting one known domain in detail; prefer hestia_list_web_domains to list all domains for a user or hestia_get_web_domain_ssl for certificate dates/issuer metadata. Returns { ok, targetId, command, data (single domain record) }. |
| hestia_get_web_domain_sslA | Read SSL/TLS certificate metadata (subject, issuer, validity dates, SANs) for one specific web domain via v-list-web-domain-ssl with private keys (KEY) automatically redacted. Use when inspecting one domain HestiaCP-stored certificate details; prefer hestia_get_web_domain for general vhost settings or hestia_ssl_expiry_audit (diagnostics) for fleet-wide live TLS expiry checks over SSH. Returns { ok, targetId, command, data (redacted SSL certificate record) }. |
| hestia_list_web_templatesA | List available Nginx/Apache web domain templates installed on the HestiaCP server via v-list-web-templates. |
| hestia_list_web_backend_templatesA | List available PHP-FPM / backend templates installed on the HestiaCP server via v-list-web-templates-backend. |
| hestia_list_web_proxy_templatesB | List available Nginx reverse-proxy templates installed on the HestiaCP server via v-list-web-templates-proxy. |
| hestia_list_dns_domainsA | List DNS zones managed by a HestiaCP user with SOA, NS, template, and serial metadata via v-list-dns-domains. Use when discovering DNS zones for a user; prefer hestia_list_dns_records to inspect records inside a specific zone or hestia_dns_alignment_audit (serverops) to compare live public DNS against local zones. Returns { ok, targetId, command, data (map keyed by DNS domain) }. |
| hestia_list_dns_recordsA | List DNS resource records (A, AAAA, MX, TXT, CNAME, SRV) inside a specific DNS zone owned by a HestiaCP user via v-list-dns-records. Use when inspecting records for a known zone; prefer hestia_list_dns_domains to list all zones owned by the user. Returns { ok, targetId, command, data (map keyed by record ID) }. |
| hestia_list_dnssec_public_keyA | Read the public DNSSEC DS/DNSKEY key material for a DNS zone owned by a HestiaCP user via v-list-dnssec-public-key. Use when retrieving DS records for registrar configuration. Returns { ok, targetId, command, data }. |
| hestia_list_mail_domainsA | List all mail domains owned by a HestiaCP user with antispam, antivirus, DKIM, and catchall flags via v-list-mail-domains. Use when discovering mail domains for a user; prefer hestia_list_mail_accounts to list mailboxes under one domain or hestia_get_mail_domain_dkim_dns for DKIM DNS records. Returns { ok, targetId, command, data (map keyed by mail domain) }. |
| hestia_list_mail_accountsA | List all mailboxes in a HestiaCP mail domain with quotas, forward/autoreply flags, and status via v-list-mail-accounts (MD5 password hashes are automatically redacted). Use when browsing all accounts on a mail domain; prefer hestia_get_mail_account for full alias/quota/forward details of one mailbox or hestia_mail_forward_audit (toolkit) for forward policy compliance. Returns { ok, targetId, command, data (map keyed by mailbox name) }. |
| hestia_get_mail_domain_sslA | Read SSL/TLS certificate metadata for a specific mail domain via v-list-mail-domain-ssl with private keys (KEY) automatically redacted. Use when inspecting mail-domain TLS metadata stored in HestiaCP; prefer hestia_get_web_domain_ssl for web vhost certificates or hestia_ssl_expiry_audit (diagnostics) for live endpoint expiry checks. Returns { ok, targetId, command, data (redacted SSL certificate record) }. |
| hestia_get_mail_domain_dkim_dnsA | Read DKIM public DNS TXT records configured in HestiaCP for a specific mail domain via v-list-mail-domain-dkim-dns. Use when verifying or copying expected DKIM DNS keys; prefer hestia_mail_deliverability_audit (serverops) for live DNS SPF/DKIM/DMARC/DNSBL checks. Returns { ok, targetId, command, data (DKIM selector and TXT record) }. |
| hestia_get_mail_accountA | Read detailed configuration, aliases, forwarders, autoreply state, and quota usage for one specific mailbox via v-list-mail-account (MD5 password hashes are automatically redacted). Use when inspecting a single known mailbox; prefer hestia_list_mail_accounts to enumerate all mailboxes on the domain or hestia_mail_forward_audit (toolkit) for forward policy compliance. Returns { ok, targetId, command, data (single mailbox record) }. |
| hestia_list_databasesA | List databases owned by a HestiaCP user with engine type, host, charset, and disk usage via v-list-databases. Use when enumerating a user databases; prefer hestia_list_database_hosts for configured DB servers, hestia_get_db_status for live DB process status, or hestia_db_size_breakdown (serverops) for per-table size/fragmentation analysis over SSH. Returns { ok, targetId, command, data (map keyed by database name) }. |
| hestia_list_cron_jobsA | List scheduled cron jobs for a HestiaCP user via v-list-cron-jobs. Use when reviewing user-level HestiaCP cron tasks; prefer hestia_host_cron_inspect (host) for system-wide /etc/cron.* metadata over SSH. Returns { ok, targetId, command, data (map keyed by job ID) }. |
| hestia_list_database_hostsA | List configured MariaDB/MySQL/PostgreSQL database hosts tracked by HestiaCP via v-list-database-hosts. Use when checking which DB servers HestiaCP provisions onto; prefer hestia_list_databases for a user databases or hestia_get_db_status for live engine process state. Returns { ok, targetId, command, data (map keyed by DB host) }. |
| hestia_get_db_statusA | Read live database engine status and active process output via v-list-sys-db-status. Use when checking active database queries or panel-reported DB status; prefer hestia_mariadb_health or hestia_postgres_health (serverops) for structured SRE connection/crash telemetry over SSH, or hestia_list_database_hosts for configured DB hosts. Returns { ok, targetId, command, rawOutput }. |
| hestia_list_backupsA | List classic tar backup archives (local or remote) recorded for a HestiaCP user via v-list-user-backups. Use when inspecting classic HestiaCP tar backups; prefer hestia_list_restic_backups for incremental Restic snapshots, hestia_backup_archive_inspect (diagnostics) to list files inside a .tar archive, or hestia_backup_freshness for cross-backend age auditing. Returns { ok, targetId, command, data (map keyed by backup filename) }. |
| hestia_list_restic_backupsA | List incremental Restic backup snapshots recorded for a HestiaCP user via v-list-user-backups-restic. Use when inspecting user-level Restic snapshots in HestiaCP; prefer hestia_list_backups for classic tar archives, hestia_list_restic_files to browse files inside a snapshot, or hestia_restic_status (toolkit) for repository health. Returns { ok, targetId, command, data (map keyed by snapshot ID) }. |
| hestia_list_backup_exclusionsA | List backup exclusion rules configured for a HestiaCP user via v-list-user-backup-exclusions. Use when auditing what web, mail, DB, or user paths are skipped during backups; prefer hestia_list_backups or hestia_list_restic_backups to inspect created backups. Returns { ok, targetId, command, data (exclusion rules by subsystem) }. |
| hestia_list_restic_filesA | List files and directories inside a user Restic incremental backup snapshot via v-list-user-files-restic. Use when locating paths inside a known Restic snapshot; prefer hestia_list_restic_backups to discover snapshot IDs first or hestia_backup_archive_inspect (diagnostics) for classic .tar archives. Returns { ok, targetId, command, data (file listing) }. |
| hestia_list_backup_hostsA | List configured remote backup storage hosts (FTP, SFTP, Backblaze B2, Rclone) for classic tar backups via v-list-backup-host. Secrets and keys are redacted automatically. Returns { ok, targetId, command, data }. |
| hestia_list_backup_hosts_resticB | List configured Restic backup host/repository targets via v-list-backup-host-restic. Secrets and repository keys are redacted automatically. Returns { ok, targetId, command, data }. |
| hestia_list_access_keysA | List API access key metadata (key IDs, user, permissions, comment, timestamps) via v-list-access-keys. Never exposes secret access keys (v-list-access-key remains blocked). Returns { ok, targetId, command, data }. |
| hestia_get_guideA | List or retrieve operational HestiaCP troubleshooting and reference guides across core HestiaCP, companion toolkit, and custom overlay layers, annotated with target availability and version drift warnings. |
| hestia_search_commandsA | Search the 526-command HestiaCP 1.10.10 catalog by keyword, domain, or risk class to discover available operations and argument shapes. |
| hestia_describe_commandA | Return the full catalog specification for a single HestiaCP CLI command including positional arguments, types, JSON support, and risk classification. |
| hestia_run_readB | Execute any read-classified command from the HestiaCP catalog with strict argument validation, fail-closed policy enforcement, and automatic secret redaction. |
| hestia_get_capabilitiesA | Inspect catalog statistics, fail-closed policy defaults, and redacted target configurations for this MCP server instance. |
| hestia_manage_toolsetsA | List, enable, or disable pre-registered HestiaCP MCP toolsets at runtime without registering unapproved mutation tools. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| hestia_diagnose_exim | Step-by-step diagnostic workflow for Exim mail queues, spoofing blocks, DKIM, and Dovecot auth issues. |
| hestia_diagnose_backups | Verify classic .tar archives, Restic incremental snapshots, and backup retention status. |
| hestia_diagnose_web_php | Investigate 502/504 timeouts, PHP-FPM saturation, Nginx/Apache templates, and web permissions. |
| hestia_diagnose_ssl_dns | Audit Let's Encrypt certificates, mail SSL domains, and hosted DNS records. |
| hestia_post_upgrade_checklist | Run read-only upgrade readiness, version-hold checks, service syntax checks, and hardening verification. |
| hestia_routine_maintenance | Perform a read-only routine server maintenance sweep covering host health, SSL expiry, mail queue, backups, and hardening. |
| hestia_wordpress_security_checklist | Verify WordPress site hardening, web permissions, SSL, PHP-FPM backend, and absence of exposed backup or config artifacts. |
| hestia_incident_triage | Run a read-only incident triage across cross-log correlation, web attack spikes, CrowdSec/Fail2Ban bans, host security posture, and PHP-FPM saturation. |
| hestia_full_sre_audit | Run a comprehensive read-only host audit across system health, deep host diagnostics, security posture, threat hunting, mail deliverability, MariaDB, vhost HTTP probes, SSL expiry, and backups. |
| hestia_compromise_triage | Run a read-only post-compromise investigation across threat hunt indicators, cross-log correlation, web attack spikes, WordPress metadata, CrowdSec, and Fail2Ban. |
| hestia_host_triage | Run a read-first Linux host triage starting with hardening advisor and access inventory, then drilling into systemd units, journald logs, CPU/memory/disk hotspots, sockets, APT/cron metadata, and TLS ports before any dryRun-previewed host mutation. |
| hestia_hardening_review | Run a prioritized host hardening review with risk-scored findings, toolkit dry-run or distro-specific manual remediation, and before/after OpsSnapshot v2 comparison. |
| hestia_guided_hardening_wizard | Guide the operator to choose a server profile, audit port exposure and upgrade impact, build a 3-phase hardening plan, and verify any approved changes via OpsSnapshot and OpsDiff. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| hestia-capabilities | Catalog statistics, fail-closed policy posture, redacted target summaries, and loaded overlay counts. |
| hestia-audit-recent | Recent redacted HestiaCP MCP execution and policy decision audit events from the in-memory ring buffer. |
| hestia-targets | Redacted HestiaCP target server summaries, enabled toolsets, and audit log persistence status. |
| hestia-ui-scorecard | Interactive SEP-1865 MCP App rendering the 0-100 host posture score, grade, 6-pillar breakdown, and top findings. |
| hestia-ui-hardening-advisor | Interactive SEP-1865 MCP App rendering severity filters, sorted HX-* hardening findings, 2-way remediations, and lockout risk warnings. |
| hestia-ui-fleet-matrix | Interactive SEP-1865 MCP App rendering multi-server reachability, version drift, service counts, active bans, and issues. |
| 01-hestia-system-paths | HestiaCP operational guide (core layer, verified 1.10.10) |
| 02-hestia-troubleshooting-logs | HestiaCP operational guide (core layer, verified 1.10.10) |
| 03-hestia-cron-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 04-hestia-php-tuning | HestiaCP operational guide (core layer, verified 1.10.10) |
| 05-hestia-database-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 06-hestia-fail2ban-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 07-hestia-ssl-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 08-hestia-clamav-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 09-hestia-exim-troubleshooting | HestiaCP operational guide (core layer, verified 1.10.10) |
| 10-hestia-nginx-templates | HestiaCP operational guide (core layer, verified 1.10.10) |
| 11-hestia-backups | HestiaCP operational guide (core layer, verified 1.10.10) |
| 12-hestia-cli-reference | HestiaCP operational guide (core layer, verified 1.10.10) |
| 13-hestia-common-issues | HestiaCP operational guide (core layer, verified 1.10.10) |
| 14-hestia-dovecot-guide | HestiaCP operational guide (core layer, verified 1.10.10) |
| 15-exim-forensics | HestiaCP operational guide (core layer, verified 1.10.10) |
| 16-hestia-custom-tools-extended | HestiaCP operational guide (toolkit layer, verified 1.10.10) |
TDQS
Scored across 46 tools
Each list/get tool targets a distinct HestiaCP resource and the descriptions explicitly cross-reference sibling tools ('prefer hestia_get_user for...'), which makes boundaries unusually clear for a 46-tool set. The main ambiguity is the generic hestia_run_read, which can execute any read command and therefore overlaps every specific wrapper, plus the dense firewall/backup families that require reading the 'prefer X' notes to pick correctly.
Every tool uses the same hestia_ prefix followed by a consistent snake_case verb_noun pattern (list_*, get_*, search_commands, describe_command, run_read, manage_toolsets). Minor awkwardness like hestia_list_sys_hestia_updates does not break the convention.
46 tools is heavy and sits in the 'too many' band, even allowing for the breadth of the HestiaCP domain (users, web, DNS, mail, DB, backups, firewall, system). Much of the count is single-command v-list wrappers that could be consolidated, and the presence of hestia_search_commands/describe_command/run_read makes many specific wrappers arguably redundant.
Read/audit coverage is broad and near-complete across every HestiaCP subsystem, with catalog search/describe as a discovery backstop. However the entire mutation surface (create/update/delete for users, domains, mailboxes, DNS records, databases, cron, firewall) is absent by fail-closed policy, so agents attempting any administration task will dead-end.