MCP ConfigsMay 12, 2026·2 min read

MCPO — MCP-to-OpenAPI Proxy Server

MCPO proxies an MCP tool as an OpenAPI HTTP server (with /docs), so non-MCP clients can call tools via HTTP, with uvx/pip/Docker run modes.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Needs Confirmation · 62/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Single
Trust
Trust: Established
Entrypoint
README.md
Universal CLI install command
npx tokrepo install eaf61a2b-8c25-44d1-9d40-4d06a0f7b6d2
Intro

MCPO proxies an MCP tool as an OpenAPI HTTP server (with /docs), so non-MCP clients can call tools via HTTP, with uvx/pip/Docker run modes.

  • Best for: teams who want to expose MCP tooling as an HTTP/OpenAPI surface (with auth) to integrate with existing API clients
  • Works with: uvx or pip install, Docker run, OpenAPI schema + /docs UI, optional SSE or streamable-http MCP backends
  • Setup time: 10–15 minutes

Practical Notes

  • README quick usage shows --port 8000 and an --api-key gate; docs UI is at /docs.
  • README documents subpath hosting via --root-path and multi-tool configs via a Claude Desktop-style config.json (with optional hot reload).

How to Use MCPO Without Over-Exposing Tools

The moment you publish an OpenAPI surface, you should think like an API owner:

  • Put MCPO behind auth (--api-key) and rotate keys.
  • Prefer running it inside your private network; if public, add rate limits at a reverse proxy.
  • Keep your MCP server command minimal and pinned to known versions.

A Useful Pattern: “Adapter Layer”

If your internal tools are MCP-based but your consumers are not, MCPO becomes a clean adapter:

  • MCP tool stays local/agent-friendly.
  • OpenAPI surface is stable for integrations and monitoring.

FAQ

Q: Is uv required? A: No. README shows uvx as recommended, but also documents pip install and Docker run.

Q: Can it proxy non-stdio MCP servers? A: Yes—README includes --server-type options like sse and streamable-http.

Q: How do I serve multiple tools? A: Use a config file in Claude Desktop format; README shows mcpo --config ... and --hot-reload.

🙏

Source & Thanks

Source: https://github.com/open-webui/mcpo > License: MIT > GitHub stars: 4,185 · forks: 459

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets