MCP server for the ISPConfig 3 hosting control panel
console applicationapt install mcp-server-ispconfigA Model Context Protocol (MCP) server that lets AI assistants manage ISPConfig 3 through its remote API.
MCP (Model Context Protocol) server for ISPConfig 3 โ manage DNS zones, mail domains, websites, databases, FTP users, cron jobs, and more through AI assistants like Claude.
From the VitexSoftware repository (http://repo.vitexsoftware.com/):
sudo apt install mcp-server-ispconfig
# optional: register the server in the local mcprack (read-only by default)
sudo apt install mcprack-mcp-server-ispconfig
An ISPConfig 3 installation with the Remote API enabled is required.
Run mcp-server-ispconfig --help for the options; the server speaks MCP over stdio.
| Variable | Required | Secret | Description |
|---|---|---|---|
ISPCONFIG_URL |
yes | no | ISPConfig panel URL, e.g. https://ispconfig.example.com:8080 |
ISPCONFIG_USER |
yes | no | Remote user name (System > Remote Users) |
ISPCONFIG_PASSWORD |
yes | secret | Remote user password |
ISPCONFIG_READ_ONLY |
no | no | Register only read-only tools |
ISPCONFIG_READONLY |
no | no | Legacy alias of ISPCONFIG_READ_ONLY |
ISPCONFIG_INSECURE |
no | no | Skip TLS certificate verification (not recommended) |
ISPCONFIG_TIMEOUT |
no | no | Request timeout in seconds |
ISPCONFIG_DEST_URL |
no | no | Destination panel URL for migrations |
ISPCONFIG_DEST_USER |
no | no | Destination remote user (default: ISPCONFIG_USER) |
ISPCONFIG_DEST_PASSWORD |
no | secret | Destination password (default: ISPCONFIG_PASSWORD) |
{
"mcpServers": {
"ispconfig": {
"command": "/usr/bin/mcp-server-ispconfig",
"env": {
"ISPCONFIG_URL": "https://your-server:8080",
"ISPCONFIG_USER": "api_user",
"ISPCONFIG_PASSWORD": "your_password",
"ISPCONFIG_READ_ONLY": "true"
}
}
}
}
With ISPCONFIG_READ_ONLY=true no tool that changes anything is registered, including api_call.
migrate_export_* with include_secrets=true returns them, and not in read-only mode.ISPCONFIG_DEST_URL.api_call escape hatch and the write tools can only reach methods this
remote user is permitted to use, so a narrow permission set is your main
guardrail. Combine with ISPCONFIG_READ_ONLY=true for read-only use.ISPCONFIG_USER / ISPCONFIG_PASSWORD| Tool | Class | Description |
|---|---|---|
dns_zone_list |
READ_ONLY | List all DNS zones |
dns_zone_get |
READ_ONLY | Get zone details by ID |
dns_zone_add |
CREATE | Create a new zone |
dns_zone_update |
MUTATE | Update zone settings |
dns_zone_delete |
MUTATE | Delete a zone |
dns_record_get |
READ_ONLY | Get a record by type and ID |
dns_record_add |
CREATE | Add a DNS record (A, AAAA, CNAME, MX, TXT, etc.) |
dns_record_update |
MUTATE | Update a DNS record |
dns_record_delete |
MUTATE | Delete a DNS record |
| Tool | Class | Description |
|---|---|---|
mail_domain_list |
READ_ONLY | List all mail domains |
mail_domain_get |
READ_ONLY | Get mail domain details |
mail_domain_add |
CREATE | Create a mail domain |
mail_domain_delete |
MUTATE | Delete a mail domain |
mail_user_get |
READ_ONLY | Get mailbox details |
mail_user_add |
CREATE | Create a mailbox |
mail_user_update |
MUTATE | Update mailbox settings |
mail_user_delete |
MUTATE | Delete a mailbox |
mail_alias_add |
CREATE | Create a mail alias |
mail_alias_delete |
MUTATE | Delete a mail alias |
mail_forward_add |
CREATE | Create a mail forward |
mail_forward_delete |
MUTATE | Delete a mail forward |
mail_catchall_add |
CREATE | Create a catchall |
mail_spamfilter_whitelist_add |
CREATE | Add to spamfilter whitelist |
mail_spamfilter_blacklist_add |
CREATE | Add to spamfilter blacklist |
| Tool | Class | Description |
|---|---|---|
web_domain_list |
READ_ONLY | List all websites |
web_domain_get |
READ_ONLY | Get website details |
web_domain_add |
CREATE | Create a website |
web_domain_update |
MUTATE | Update website settings |
web_domain_delete |
MUTATE | Delete a website |
web_subdomain_add |
CREATE | Create a subdomain |
web_subdomain_delete |
MUTATE | Delete a subdomain |
web_aliasdomain_add |
CREATE | Create an alias domain |
ftp_user_list |
READ_ONLY | List FTP users |
ftp_user_add |
CREATE | Create an FTP user |
ftp_user_update |
MUTATE | Update FTP user |
ftp_user_delete |
MUTATE | Delete an FTP user |
shell_user_add |
SIDE_EFFECT | Create a shell user |
shell_user_delete |
MUTATE | Delete a shell user |
database_list |
READ_ONLY | List databases |
database_add |
CREATE | Create a database |
database_delete |
MUTATE | Delete a database |
cron_list |
READ_ONLY | List cron jobs |
cron_add |
SIDE_EFFECT | Create a cron job |
cron_update |
SIDE_EFFECT | Update a cron job |
cron_delete |
MUTATE | Delete a cron job |
| Tool | Class | Description |
|---|---|---|
client_get |
READ_ONLY | Get client details |
client_add |
CREATE | Create a client |
client_update |
MUTATE | Update a client |
client_delete |
MUTATE | Delete a client |
server_get |
READ_ONLY | Get server info |
server_get_by_ip |
READ_ONLY | Find server by IP |
api_call |
SIDE_EFFECT | Call any ISPConfig API method directly |
| Tool | Class | Description |
|---|---|---|
migrate_plan |
READ_ONLY | Inventory all DNS/mail/sites on source โ dry run, no changes |
migrate_export_dns_zone |
READ_ONLY | Export a DNS zone + all records as JSON bundle |
migrate_export_mail_domain |
READ_ONLY | Export a mail domain + mailboxes/aliases/forwards as JSON |
migrate_export_web_domain |
READ_ONLY | Export a website + FTP/shell users/databases/cron as JSON |
migrate_export_client |
READ_ONLY | Export a client account + associated domains as JSON |
migrate_import_dns_zone |
CREATE | Import a DNS zone bundle into destination instance |
migrate_import_mail_domain |
CREATE | Import a mail domain bundle (config only โ rsync maildir separately) |
migrate_import_web_domain |
SIDE_EFFECT | Import a website bundle (config only โ rsync files separately) |
migrate_verify |
READ_ONLY | Compare source and destination after migration |
migrate_data_commands |
READ_ONLY (local) | Generate rsync/mysqldump commands for actual data transfer |
The MCP supports migrating accounts between ISPConfig instances. The workflow:
migrate_plan inventories everything on the sourcemigrate_export_* dumps config as portable JSON bundlesmigrate_import_* recreates config on the destinationmigrate_data_commands generates rsync/mysqldump commands for actual files/mail/databasesFor direct sourceโdestination migration, configure both instances:
{
"mcpServers": {
"ispconfig": {
"command": "/usr/bin/mcp-server-ispconfig",
"env": {
"ISPCONFIG_URL": "https://old-server:8080",
"ISPCONFIG_USER": "api_user",
"ISPCONFIG_PASSWORD": "password",
"ISPCONFIG_DEST_URL": "https://new-server:8080",
"ISPCONFIG_DEST_USER": "api_user",
"ISPCONFIG_DEST_PASSWORD": "password"
}
}
}
}
Without ISPCONFIG_DEST_URL, export tools still work โ you can save the JSON and import later.
The ISPConfig API manages configuration, not file data. These must be transferred separately:
rsync /var/vmail/domain/rsync /var/www/domain/mysqldump / pg_dumpThe migrate_data_commands tool generates the exact commands needed.
Once connected, you can ask your AI assistant things like:
git clone https://github.com/Spoje-NET/mcp-server-ispconfig.git
cd mcp-server-ispconfig
npm install
npm test
Fork of DayZAnder/ispconfig-mcp, based on 0.2.0 (f1ac881),
last synchronised 2026-11-23. The session-expiry fix originates from
jachim/ispconfig-mcp.
BSD 3-Clause โ same license as ISPConfig 3.
This package may not be indexed in our database yet. Please try again later or check the package repository directly.