
masterno12/webui-mcpo 是从 https://github.com/masterno12/webui-mcpo. 导入的 MCP 服务器候选
概览
masterno12/webui-mcpo 是从 https://github.com/masterno12/webui-mcpo. 导入的 MCP 服务器候选
概述(AI 翻译)
Docker 集线器镜像: masterno12/webui-mcpo:latest
该 Docker 镜像提供了一个现成的 MCPO 实例,MCPO 是一款轻量级、可组合的 MCP(模型上下文协议)服务器,设计用于在一个统一的 API 服务器中代理多个 MCP 工具——使用一个简单的 Claude Desktop 格式配置文件。
🔗 什么是MCP? 在 Open WebUI MCP 服务器文档中了解更多信息 支持的官方MCP服务器:https://github.com/modelcontextprotocol/servers
💡 为什么选择这种方式?
刚开始时,我发现官方 OpenUI 文档经常突出显示一句启动命令(例如直接使用 npx 或 uvx),并提供从 Claude 配置翻译成一句话的翻译。
不过,我注意到两件事:
- MCP 服务器注册表(https://github.com/modelcontextprotocol/servers))几乎总是给出Claude风格的JSON配置,而非单行代码。
- MCPO,作为枢纽时,直接接收Claude配置——手动转换成一行代码没有任何好处。
所以我没有手动把 JSON 块转换成 CLI 命令,而是完全采用了 Claude 配置格式。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
🧠 webui-mcpo: Run Multiple MCP Tools with a Single Config on Open WebUI
Docker Hub Image: masterno12/webui-mcpo:latest
This Docker image provides a ready-to-use instance of MCPO, a lightweight, composable MCP (Model Context Protocol) server designed to proxy multiple MCP tools in one unified API server — using a simple config file in the Claude Desktop format.
🔗 What is MCP?
Learn more at the Open WebUI MCP Server docs
Supported official MCP servers: https://github.com/modelcontextprotocol/servers
💡 Why this approach?
When starting out, I found that the official Open WebUI documentation often highlights one-liner launch commands (e.g. using npx or uvx directly) and provides translations from Claude configs to one-liners.
However, I noticed two things:
- The MCP server registry (https://github.com/modelcontextprotocol/servers) nearly always gives the Claude-style JSON configuration, not the one-liners.
- MCPO, when acting as a hub, expects Claude configs directly—there is no benefit in converting them to one-liners manually.
So instead of manually translating JSON blocks to CLI commands, I embraced the Claude config format fully. This makes the setup clearer, easier to maintain, and perfectly compatible with mcpo.
🚀 Quick Start (with Docker Hub)
1. Pull the image
docker pull masterno12/webui-mcpo:latest
2. Create a config.json
You must provide a config.json in a local folder (e.g., mcpo/). If mcpo/config.json does not exist, the container will automatically generate a minimal default one.
The local folder mcpo/ must be in the same directory where docker-compose.yml is.
📄 Example config.json:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
},
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=America/New_York"]
},
"mcp_sse": {
"type": "sse",
"url": "http://127.0.0.1:8001/sse"
},
"mcp_streamable_http": {
"type": "streamable_http",
"url": "http://127.0.0.1:8002/mcp"
}
}
}
🐳 Run with Docker Compose
services:
mcpo:
image: masterno12/webui-mcpo:latest
container_name: webui-mcpo
ports:
- "8000:8000"
volumes:
- ./mcpo:/opt/mcpo
restart: unless-stopped
Start the server:
docker-compose up -d
🔨 Build the Image from Dockerfile
Clone the repo:
git clone https://github.com/masterno12/webui-mcpo.git
cd webui-mcpo
Build the image locally:
docker build -t webui-mcpo:latest .
Then either run it directly:
docker run -d -p 8000:8000 -v "$PWD/mcpo:/opt/mcpo" webui-mcpo:latest
安装
npx -y @modelcontextprotocol/server-memory配置
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
},
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=America/New_York"]
},
"mcp_sse": {
"type": "sse",
"url": "http://127.0.0.1:8001/sse"
},
"mcp_streamable_http": {
"type": "streamable_http",
"url": "http://127.0.0.1:8002/mcp"
}
}
}