From 3b080ab4f4e1b25d536cea759260d4df511ed0c3 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 7 May 2025 17:49:48 +0800 Subject: [PATCH] add mcpo --- README.md | 1 + mcpo/README.md | 8 ++++++++ mcpo/data/config.json | 12 ++++++++++++ mcpo/docker-compose.yml | 9 +++++++++ 4 files changed, 30 insertions(+) create mode 100644 mcpo/README.md create mode 100644 mcpo/data/config.json create mode 100644 mcpo/docker-compose.yml diff --git a/README.md b/README.md index 5d556da..9343a46 100644 --- a/README.md +++ b/README.md @@ -427,6 +427,7 @@ A collection of delicious docker recipes. - [x] mailhog/mailhog - [x] 42wim/matterbridge :octocat: - [x] matrixconduit/matrix-conduit +- [x] ghcr.io/open-webui/mcpo - [x] getmeili/meilisearch :mag: - [x] mitmproxy/mitmproxy - [x] mariadb :bucket: diff --git a/mcpo/README.md b/mcpo/README.md new file mode 100644 index 0000000..fb77c4e --- /dev/null +++ b/mcpo/README.md @@ -0,0 +1,8 @@ +mcpo +==== + +[mcpo][1] is a dead-simple proxy that takes an MCP server command and makes it +accessible via standard RESTful OpenAPI, so your tools "just work" with LLM +agents and apps expecting OpenAPI servers. + +[1]: https://github.com/open-webui/mcpo diff --git a/mcpo/data/config.json b/mcpo/data/config.json new file mode 100644 index 0000000..4d3dbe5 --- /dev/null +++ b/mcpo/data/config.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "memory": { + "command": "npx", + "args": ["-y", "@modelcontextprotocol/server-memory"] + }, + "time": { + "command": "uvx", + "args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"] + } + } +} diff --git a/mcpo/docker-compose.yml b/mcpo/docker-compose.yml new file mode 100644 index 0000000..351469e --- /dev/null +++ b/mcpo/docker-compose.yml @@ -0,0 +1,9 @@ +services: + mcpo: + image: ghcr.io/open-webui/mcpo:main + command: ["--config", "/app/etc/config.json", "--api-key", "top-secret"] + ports: + - "8000:8000" + volumes: + - ./data:/app/etc + restart: unless-stopped