
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 分