mcpo

mcpo

Convert an MCP server into an OpenAPI-compatible HTTP server.

MCPDevOpen sourceMCPOpenAPI代理服务器
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 4.3k
Source
mcp-github

Overview

mcpo is a simple proxy server that exposes any MCP tool as a standard RESTful OpenAPI service. It addresses security, compatibility, and missing functionality issues in the original MCP server, enabling seamless integration with LLM agents and applications. With mcpo, you can easily transform MCP tools into secure, stable, and scalable HTTP services, complete with automatically generated interactive documentation.

Capabilities

  • Convert MCP servers into OpenAPI services
  • Support multiple transport protocols (e.g., SSE and Streamable HTTP)
  • Automatically generate interactive documentation
  • Provide OAuth 2.1 authentication support

Use cases

Integrate MCP tools into existing OpenAPI ecosystemsImprove the security and stability of MCP serversSimplify deployment and usage of MCP tools

Setup

Requires: API KeyNode 环境
pip install mcpo or docker run -p 8000:8000 ghcr.io/open-webui/mcpo:main --api-key "top-secret" -- your_mcp_server_command

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What transport protocols does mcpo support?

Supports stdio, SSE, and Streamable HTTP.

How do I enable OAuth 2.1 authentication?

Add OAuth configuration options in the config file, such as server_url and client_metadata.

Related skills