Skip to main content
Glama
klan1

Plesk MCP Server

by klan1

Plesk MCP 服务器 (v2.0.0)

Plesk MCP 服务器是一个高性能的模型上下文协议 (MCP) 实现,它将大语言模型 (LLM) 与 Plesk REST API 连接起来。通过将管理任务转换为一套标准化的工具,它允许 AI 智能体精确且安全地管理托管环境。

🚀 价值主张:V2 的飞跃

2.0.0 版本将服务器从一个简单的域名查看器演变为一套全面的管理套件。V2 的核心价值主张是主动式基础设施治理。

V2 关键增强功能:

  • 安全加固:集成的 Fail2Ban 和防火墙控制允许 AI 实时主动防御服务器免受暴力破解攻击和未经授权的访问。

  • 健康可观测性:对 CPU、内存和磁盘使用情况的实时监控,使 AI 能够检测资源瓶颈并预测潜在的停机故障。

  • 服务可靠性:直接访问 DNS 记录和邮件队列状态,简化了投递失败和解析问题的故障排除。

  • 数据保障:触发手动备份的能力确保了在进行关键更改之前可以先创建安全快照。

Related MCP server: whm-mcp-server

🛠️ 工具集概览

🛡️ 安全管理

  • plesk_fail2ban_check_ip:验证 IP 是否被封禁。

  • plesk_fail2ban_unban_ip:恢复被封禁 IP 的访问权限。

  • plesk_fail2ban_whitelist_ip:防止受信任的 IP 未来被封禁。

  • plesk_firewall_list_rules:审计当前的流量规则。

  • plesk_firewall_add_rule:部署新的安全规则。

  • plesk_firewall_remove_rule:清理过时的规则。

📊 健康监控

  • plesk_server_health:获取当前的资源利用率(CPU/内存/磁盘)。

  • plesk_server_status:检查系统的整体运行时间和稳定性。

🌐 DNS 与电子邮件

  • plesk_dns_get_records:检索并分析 DNS 配置。

  • plesk_mail_queue_status:监控出站邮件的投递性能。

📦 备份与核心

  • plesk_backup_trigger:执行即时域名备份。

  • plesk_list_domains:列出所有托管的域名。

  • plesk_get_domain_details:深入了解域名配置。

  • plesk_restart_service:管理系统服务(Apache、Nginx、MySQL)。

⚙️ 配置

环境变量

服务器需要以下环境变量:

  • PLESK_URL:您的 Plesk 服务器的基础 URL(例如 https://plesk.example.com:8443/)。

  • PLESK_API_KEY:您的 Plesk REST API 密钥。

🏗️ 实现细节

  • 传输方式:Stdio

  • API:Plesk REST API v2

  • 语言:Node.js (ES Modules)

  • 客户端:Axios


Alejandro Trujillo Jiménez

Klan1 Labs - 研发团队

网站:klan1.com

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage WHM hosting accounts and server administration tasks including account management, server stats, updates, SSL, backups, and email through a secure API.
    10
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to administrate WHMCS installations through the External API, providing ~50 tools for clients, billing, orders, services, domains, support, and aggregators with safety features and governance.
    26 npm
    2
    ISC
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI tools to perform server operations such as log inspection, system monitoring, code management, Nginx and certificate management, with support for local and remote SSH modes and built-in security controls.
    23
    72 npm
    MIT