MCP cover image
See in Github
2025-04-14

Una imagen de ejemplo de Docker para MCPO (con NPM, curl, NodeJS, UV pre-construido; MCP pre-construido: AMAP; Baidumap; Server-Brave-Search; Tavily; Fetch), una herramienta que expone a los servidores MCP (protocolo de contexto del modelo) como puntos finales HTTP compatibles con OpenAPI para OpenWebui.

1

Github Watches

3

Github Forks

27

Github Stars

mcpo_docker_use

An example Docker image for mcpo(with api-key environment set; npm,curl,nodejs,uv Pre-Built;Pre-Built MCP:amap;baidumap;server-brave-search; tavily;fetch), a tool that exposes MCP (Model Context Protocol) servers as OpenAPI-compatible HTTP endpoints for OpenWebUI.

Still waiting for the official mcpo docker!

Quick start

# Pull the repo
git clone https://github.com/flyfox666/mcpo_docker_use.git
cd mcpo_docker_use

# Copy sample files and edit them as you like.
cp config.example.json config.json    #remember to update the apikey for the mcp if need
cp docker-compose.example.yml docker-compose.yml  #remember to update the environment parameter

# Create a container and wait for the servers to start.
# It may take time if you have many servers enabled.
docker compose up -d

you can use docker run as follow:

docker run -d \
  --name mcpo \
  --restart unless-stopped \
  -p 8000:8000 \
  -v "$(pwd)/config.json:/app/config/config.json" \
  -v "$(pwd)/logs:/app/logs" \
  -e MCPO_API_KEY=xxx \
  --health-cmd 'curl -f http://localhost:8000/docs' \
  --health-interval=30s \
  --health-timeout=10s \
  --health-retries=3 \
  --health-start-period=40s \
  ghcr.io/flyfox666/mcpo_docker_use

Or you can build the docker from source.

docker build -t mcpo .

docker volumes & environment setting

Update the setting as your set in docker-compose.yml

volumes:
  - ./config.json:/app/config/config.json
  - ./logs:/app/logs
environment:
  - MCPO_API_KEY=xxxx  # set the API key for openwebui here
  
  # if needed ,update for your own parameter
  # - MCPO_HOST=0.0.0.0
  # - MCPO_PORT=8000
  # - MCPO_CONFIG=/app/config.json

Connect OpenWebUI to your servers

OpenAPI Tool Servers details

OpenAPI Tool Servers FAQ

  1. Open OpenWebUI > Settings > Tools
  2. Add a connection http://localhost:8000/fetch
  3. Add the apikey if you set in docker-compose.yml
  4. Check available tools on the chat page

get the API key firstly for mcp like amap-maps;brave-search;tavily from their website.

get the example and guide from mcpo.so

With mcpo, each MCP server gets a separate endpoint. For example:

  • http://localhost:8000/fetch
  • http://localhost:8000/amap-maps
  • http://localhost:8000/brave-search
  • http://localhost:8000/tavily-mcp

MCP configuration

Standard MCP configuration file, see config.example.json.

License

MIT

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • n8n-io
  • Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

    Reviews

    2 (1)
    Avatar
    user_mmravNBb
    2025-04-17

    As a loyal user of the MCP application, I find mcpo_docker_use by flyfox666 to be an incredibly efficient tool for Docker environment management. The setup is straightforward, well-documented, and immensely useful for streamlining container operations. Highly recommend checking it out on GitHub!