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