What is ⚡️ mcpo?
⚡️ mcpo is a proxy that takes any MCP server command and exposes it as an OpenAPI-compatible HTTP server instantly. It converts MCP tools into standard RESTful endpoints so they work with LLM agents and apps expecting OpenAPI servers.
How to use ⚡️ mcpo?
Use the uvx mcpo command (recommended) or pip install mcpo && mcpo to start the proxy. Specify a port, API key, and the MCP server command. For SSE or Streamable HTTP servers, use --server-type flags. Multiple tools can be served from a single JSON config file with optional hot-reload.
Key features of ⚡️ mcpo
- Instantly exposes any MCP tool as a RESTful OpenAPI server
- Supports stdio, SSE, and Streamable HTTP MCP transports
- Auto‑generates interactive OpenAPI documentation for every tool
- Adds security via API keys and OAuth 2.1 authentication
- Allows serving multiple MCP tools from one config file
- Hot‑reload keeps servers updated without downtime
Use cases of ⚡️ mcpo
- Make MCP tools accessible to OpenAPI‑compatible LLM agents and tools
- Replace insecure stdio MCP servers with secure, documented HTTP endpoints
- Run multiple MCP servers behind a single HTTP port with unique routes
- Integrate with Open WebUI by launching an OpenAPI proxy for MCP tools
コメント