
Plesk Mcp
io.github.FlayedOne由 GitHub 账号 FlayedOne 发布v0.1.1更新于 Oct 24, 2026
Manage your Plesk hosting server using AI assistants.
概览
一个本地 MCP 服务器,让 AI 助手通过 Plesk 和 WP Toolkit REST API 管理 Plesk 主机服务器。
- 可以做什么
- 通过 Plesk REST API 和 WP Toolkit REST API 执行 Plesk 服务器管理,涵盖核心管理操作与 WordPress 工具包操作。在服务器上执行 shell 命令。向服务器上传文件。可同时连接多台 Plesk 服务器进行多机管理。README 建议搭配 Plesk 文档 MCP 服务器以获得更准确的指导。
- 适用场景
- 当你管理 Plesk 主机服务器,希望助手代为完成日常管理、WordPress 工具包操作、shell 命令或文件上传,而不必在 Plesk 界面中手动操作时使用。
- 运行要求
- 以 Python 包形式在本地运行,需用 uv 包管理器启动(例如 uvx plesk-mcp)。需要可访问且已启用 API 访问的 Plesk 服务器,并设置 PLESK_HOST,以及 PLESK_API_KEY 或 PLESK_USERNAME 与 PLESK_PASSWORD。仅在 Plesk Obsidian 18.0.76 上测试过。
安装
在 SourceWeft 中
- 打开 控制台中的 Plesk Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Plesk MCP Server
This MCP server for Plesk allows administrators to manage their Plesk servers using various AI agents and apps. It builds on top of Plesk REST API and WP Toolkit REST API, and provides core administration capabilities, as well as ability to manage the server through shell commands and upload files to the server.
The MCP server runs locally on your machine, so important information doesn't leave your environment.
Plesk Requirements
The MCP server is expected to support any sufficiently recent Plesk version (there are no strict limitations) and any OS (Linux or Windows) that Plesk supports. However, it was tested only on Plesk Obsidian 18.0.76, so prefer using a supported Plesk version.
Obviously, API access must not be disabled on the server.
MCP Server Requirements
You will need uv Python package manager to run the server. Refer to the official documentation for installation instructions.
Usage
Configure the server in your VS Code mcp.json or equivalent (in other agents or apps) using a configuration like:
You may want to use env file (e.g. via "envFile" parameter) if your agent or app supports it. This will avoid putting credentials directly in the config file.
See uvx plesk-mcp@latest --help for details on available options and environment variables.
Recommended Usage
For better behavior, it's recommended to use this MCP server in combination with a documentation MCP server. Select either plesk-local-docs-mcp or plesk-remote-docs-mcp. This will allow the agent to get more accurate information about Plesk usage when needed.
You may also attach several Plesk servers at once if needed (e.g. for managing multiple servers).
Here's an example configuration:
Development
MCP server run command:
Before commit:
Publish:
Testing
Using Plesk Docker Image
If you don't have a Plesk instance but want to test this MCP server, you may use Plesk Docker image instead:
The Docker image startup is not instant, so give it a minute or so before trying to connect.
And then configure the MCP server as:
Without Plesk Server (Demo Mode)
Alternatively, run in demo mode from sources (with mocked responses):
Automated tests
Unit tests run with uv run pytest (in the project root and in each sub-project). Smoke tests that exercise real services are skipped by default and selected via -m smoke:
来源:README.md,提交 fcf4fd5
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分