mcpo
A simple, secure MCP-to-OpenAPI proxy server
Exposing an existing MCP server over standard REST and OpenAPI so agents and apps that expect an OpenAPI server can call its tools unchanged.
About mcpo
mcpo 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.
That’s it. Your MCP tool is now available at http://localhost:8000 with a generated OpenAPI schema — test it live at http://localhost:8000/docs.
If you need to serve mcpo behind a reverse proxy or under a subpath (e.g., /api/mcpo), use the --root-path argument:
mcpo is listed in this index written primarily in Python, with 4.4k stars on GitHub. Its latest recorded repository push was in May 2026; that is not an ASE editorial review date.
uvx mcpo --port 8000 --api-key "top-secret" -- your_mcp_server_command