MCPO: OpenAPI Proxy for MCP Servers

0.0.20 · active · verified Thu Apr 16

MCPO (Model Context Protocol to OpenAPI Proxy) is a dead-simple proxy that takes an MCP server command and makes it accessible via standard RESTful OpenAPI. It enables tools to "just work" with LLM agents and applications expecting OpenAPI servers, addressing the integration challenges of stdio-based MCP tools within the broader web ecosystem. Developed by the Open WebUI community, MCPO is an active project, with version 0.0.20 released on February 27, 2026.

Common errors

Warnings

Install

Quickstart

This quickstart demonstrates how to install `mcpo` and then run it to proxy a simple `mcp-server-time` tool. The first command installs `mcpo` and a sample MCP server. The second command starts `mcpo` on port 8000, securing it with an API key, and instructs it to proxy the `mcp-server-time` command. Your proxied API will then be available at `http://localhost:8000` with auto-generated documentation at `http://localhost:8000/docs`.

pip install mcpo uvx mcp-server-time
uvx mcpo --port 8000 --api-key "YOUR_API_KEY" -- uvx mcp-server-time --local-timezone=America/New_York

view raw JSON →