Mcpo

A simple, secure MCP-to-OpenAPI proxy server

About This Project

mcpo is a proxy server that takes an MCP server command and makes it accessible over standard RESTful HTTP using the OpenAPI specification. It is intended to address limitations of MCP servers that communicate over raw stdio, which the project describes as lacking built-in security, broad tool compatibility, and standard features such as documentation and authentication. By wrapping MCP tools in OpenAPI endpoints, mcpo allows them to be used by existing OpenAPI clients, SDKs, and user interfaces without custom protocol code.

The project is written in Python and can be installed with pip or run with uv, or launched through a published Docker image. It supports API key authentication via a command-line flag and can serve multiple MCP servers at once through a configuration file that follows the Claude Desktop format, with each tool exposed under its own route and a generated interactive documentation page. The repository is MIT licensed, requires Python 3.8 or later, and includes a pytest test suite.

mcpo may be useful to developers building LLM agents or applications that need to call MCP tools through a familiar HTTP interface, and to users of Open WebUI, which the project documents as a integration target. It is also relevant to those who want to expose local MCP tools, such as memory or time utilities, to other services without writing additional glue code.

Project Details

Explore More Projects