https://github.com/lkoujiu/mcpo-docker
An example Docker image for mcpo, a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for OpenWebUI.
https://github.com/lkoujiu/mcpo-docker
Last synced: 7 days ago
JSON representation
An example Docker image for mcpo, a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for OpenWebUI.
- Host: GitHub
- URL: https://github.com/lkoujiu/mcpo-docker
- Owner: lkoujiu
- License: mit
- Created: 2025-04-09T11:41:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T12:03:45.000Z (7 months ago)
- Last Synced: 2025-04-09T12:34:37.528Z (7 months ago)
- Language: Dockerfile
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **mcpo-docker** - An example Docker image for mcpo, a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for OpenWebUI. `dockerfile` `mcp` `server` `api` `web` `git clone https://github.com/lkoujiu/mcpo-docker` (🔌 API)
README
# mcpo-docker
The source from [alephpiece](https://github.com/alephpiece/mcpo-docker) .
An example Docker image for [mcpo](https://github.com/open-webui/mcpo), a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for [OpenWebUI](https://github.com/open-webui/open-webui).
> Still waiting for the official mcpo docker!
## Quick start
```shell
# Pull the repo
git clone https://github.com/lkoujiu/mcpo-docker.git
cd mcpo-docker
# Copy sample files and edit them as you like.
cp config.example.json config.json
cp docker-compose.example.yml docker-compose.yml
# Create a container and wait for the servers to start.
# It may take time if you have many servers enabled.
docker compose up -d
```
Or you can build the docker from source.
```shell
docker build -t mcpo .
```
### Connect OpenWebUI to your servers
> See [OpenAPI Tool Servers](https://docs.openwebui.com/openapi-servers/) for details.
1. Open OpenWebUI > Settings > Tools
2. Add a connection `http://localhost:8000/memory`
3. Check available tools on the chat page
With mcpo, each MCP server gets a separate endpoint. For example:
- `http://localhost:8000/sequential-thinking`
- `http://localhost:8000/memory`
- `http://localhost:8000/time`
## MCP configuration
Standard MCP configuration file, see [config.example.json](./config.example.json).
## License
MIT