MCPO-Dockerized demonstrates how to run MCPO in a Docker container, making it easy to integrate with your Open-WebUI stack or Docker Compose setup.
This project uses the official ghcr.io/open-webui/mcpo:main image, with added support for Docker as a container backend. This enables you to launch MCP servers via Docker, configurable through config.json. See the included example for connecting to a Minio Example Play Database using a Docker-launched MCP server.
You can install any MCP server you prefer. By default, the setup supports:
- uvx
- npx
- docker
To build the image, run:
docker compose up --buildOr, to build manually:
docker build -t mcpo:latest .From a cloned Open-WebUI repository, you can start your stack with:
docker compose -f docker-compose.yaml -f docker-compose.jupytr.yaml -f docker-compose.playwright.yaml -f docker-compose.mcpo.yml up -dAn alternative version using Podman is also available.