宝塔面板 Mcp,支持日志查询、一键建站、网站管理 MCP Server

让支持 MCP 的 AI 助手安全地操作宝塔面板(BT Panel)。它既提供适合日常运维的高层工具,也内置当前官方 API 文档中的完整操作目录:先检索接口定义,再以受控方式调用。

Local serverstdioMIT

What is the 宝塔面板 Mcp,支持日志查询、一键建站、网站管理 MCP Server?

宝塔面板 Mcp,支持日志查询、一键建站、网站管理 is an MCP project maintained in the suxyee/bt-panel-mcp-server repository. The maintainer describes its purpose as “让支持 MCP 的 AI 助手安全地操作宝塔面板(BT Panel)。它既提供适合日常运维的高层工具,也内置当前官方 API 文档中的完整操作目录:先检索接口定义,再以受控方式调用。”. Read the project documentation for the complete scope.

Installation

The documented npm package is bt-panel-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares BT_PANEL_URL, BT_API_KEY, BT_MODE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the 宝塔面板 Mcp,支持日志查询、一键建站、网站管理 MCP Server

{
  "mcpServers": {
    "bt-panel": {
      "command": "npx",
      "args": [
        "-y",
        "bt-panel-mcp-server"
      ],
      "env": {
        "BT_PANEL_URL": "https://服务器IP:面板端口/安全入口",
        "BT_API_KEY": "YOUR_BT_API_KEY",
        "BT_MODE": "readonly"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
BT_PANEL_URLDeclared in the maintainer’s client configuration.Check documentation
BT_API_KEYDeclared in the maintainer’s client configuration.Check documentation
BT_MODEDeclared in the maintainer’s client configuration.Check documentation