mcpo
A self-hosted MCP-to-OpenAPI proxy that exposes MCP tools to compatible AI apps through HTTP, with generated interactive docs and OAuth 2.1 support.
mcpo is a self-hosted proxy for developers connecting MCP tools to AI agents and apps that accept OpenAPI servers. It exposes existing MCP servers through HTTP, avoiding a separate adapter for each tool.
- OpenAPI access: The proxy turns MCP tools into HTTP endpoints that OpenAPI-compatible tools, SDKs and interfaces can use.
- Interactive documentation: It generates browser-based documentation for inspecting tools and trying their calls.
- Multiple MCP servers: One proxy can serve several servers using the Claude Desktop configuration format, and reload server configuration without downtime.
- Remote connections: It supports SSE-compatible MCP servers and can send headers required by those connections.
- OAuth authentication: It supports OAuth 2.1 for MCP servers that require it, with dynamic client registration by default and token storage in files or memory.
mcpo runs locally or on your own server with Python and uses the MIT license. It can sit behind a reverse proxy under a URL subpath. The proxy's location doesn't determine where a connected tool runs: requests to a remote MCP server go to that server.