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

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install eaf61a2b-8c25-44d1-9d40-4d06a0f7b6d2 --target codex

Stages files first; activation requires review of the staged README and plan.

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