What is ⚡️ mcpo?
⚡️ mcpo is a proxy that takes any MCP server command and exposes it as an OpenAPI‑compatible HTTP server. It converts stdio or SSE‑based MCP tools into standard RESTful endpoints, making them usable by LLM agents and applications that expect OpenAPI servers—no custom protocol or glue code required.
How to use ⚡️ mcpo?
Run uvx mcpo --port 8000 --api-key "top-secret" -- your_mcp_server_command (or pip install mcpo then mcpo). For SSE servers use --server-type "sse". You can also start with a config file via mcpo --config /path/to/config.json, which follows the Claude Desktop format and serves each tool on a separate route (e.g. /memory). Docker is also supported: docker run -p 8000:8000 ghcr.io/open-webui/mcpo:main ....
Key features of ⚡️ mcpo
- Expose any MCP tool as an OpenAPI HTTP server instantly
- Works with both stdio and SSE MCP servers
- Auto‑generates interactive docs for every tool, no config needed
- Serve multiple tools via a single config file, each on its own route
- Run via
uvx, pip, or Docker with zero installation hassle
- Adds security, stability, and scalability using trusted web standards
Use cases of ⚡️ mcpo
- Integrate MCP tools with LLM agents and apps that require OpenAPI endpoints
- Replace insecure, incompatible stdio MCP servers with standard HTTP APIs
- Expose multiple MCP tools behind one server with separate, documented routes
- Enable MCP tools to work with OpenAPI‑compatible SDKs, UIs, and automation
Comments