Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

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.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 62/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Single
Confiance
Confiance : Established
Point d'entrée
README.md
Commande CLI universelle
npx tokrepo install eaf61a2b-8c25-44d1-9d40-4d06a0f7b6d2
Introduction

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 et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires