1Panel MCP 服务器
mcp-1panel 是为 1Panel 实现的模型上下文协议 (MCP) 服务器。
快速入门
方法 1:从 Release 页面下载(推荐)
- 访问 Releases 页面,下载对应系统的可执行文件。
- 示例安装(amd64): chmod +x mcp-1panel-linux-amd64 mv mcp-1panel-linux-amd64 /usr/local/bin/mcp-1panel
方法 2:从源码构建
- 克隆仓库:git clone https://github.com/1Panel-dev/mcp-1panel.git
- 构建:make build
方法 3:使用 go install 安装
运行:go install github.com/1Panel-dev/mcp-1panel@latest
方法 4:使用 Docker
确保已安装 Docker,支持多种架构。
使用方法
支持 stdio
和 sse
模式:
- stdio 模式:在 Cursor 或 Windsurf 配置中添加 mcpServers 配置。
- sse 模式:启动命令:mcp-1panel -host http://localhost:8080 -token <your_token> -transport sse -addr http://localhost:8000