mcpo-docker logo

mcpo-docker

by lkoujiu

An example Docker image for mcpo, a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for OpenWebUI. It allows you to easily connect OpenWebUI to your MCP servers.

View on GitHub

Last updated: N/A

What is mcpo-docker?

mcpo-docker provides a Docker image for mcpo, which transforms MCP servers into OpenAPI-compatible HTTP endpoints, making them accessible to OpenWebUI.

How to use mcpo-docker?

  1. Clone the repository. 2. Copy and configure the sample configuration files (config.json and docker-compose.yml). 3. Use docker compose up -d to create and start the container. Alternatively, build the Docker image using docker build -t mcpo .. 4. In OpenWebUI, add a connection to the mcpo server (e.g., http://localhost:8000/memory) under Settings > Tools.

Key features of mcpo-docker

  • Dockerized mcpo

  • OpenAPI-compatible endpoints

  • Easy integration with OpenWebUI

  • Separate endpoints for each MCP server

  • Configuration via JSON file

Use cases of mcpo-docker

  • Connecting OpenWebUI to MCP servers

  • Exposing MCP servers as HTTP endpoints

  • Simplifying the deployment of mcpo

  • Testing and development of MCP-based applications

FAQ from mcpo-docker

What is mcpo?

mcpo is a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints.

What is OpenWebUI?

OpenWebUI is a user interface that can connect to various tools and services, including those exposed via OpenAPI.

How do I configure mcpo?

mcpo is configured using a JSON file (config.json) that specifies the MCP servers and their corresponding endpoints.

How do I connect OpenWebUI to mcpo?

In OpenWebUI, navigate to Settings > Tools and add a new connection pointing to the mcpo server's endpoint (e.g., http://localhost:8000/memory).

What license is mcpo-docker released under?

mcpo-docker is released under the MIT License.