Open WebUI's MCP-to-OpenAPI proxy: runs any stdio, SSE or Streamable HTTP MCP server and serves its tools as a standard OpenAPI HTTP API with interactive docs, API-key auth and OAuth 2.1 support.
mcp-proxy
Summary
Python transport bridge for MCP: lets stdio-only clients reach remote SSE or Streamable HTTP servers, or exposes local stdio servers over SSE and Streamable HTTP, including several named servers at once.
Features
- stdio to SSE or Streamable HTTP bridge for stdio-only clients
- Expose local stdio servers over SSE and Streamable HTTP
- Multiple named servers from flags or a JSON config
- Upstream auth: headers, OAuth2 client credentials, basic and digest
- Optional inbound bearer-token auth
- CORS, allowed-host checks and a /status endpoint
- PyPI package and multi-arch container images
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
mcp-proxy, by Sergey Parfenyuk, switches an MCP server between transports in either direction. In the first mode it runs as a local stdio server inside a client such as Claude Desktop and forwards to a remote server over SSE or Streamable HTTP, with bearer headers, OAuth2 client credentials, basic or digest auth. In the second it does the reverse: it spawns a local stdio server and publishes it over SSE and Streamable HTTP so remote clients and other machines can use it.
The server mode can host several named servers at once, each under /servers/<name>/, from repeated --named-server flags or a JSON config in the familiar mcpServers format, with a /status endpoint that reports which started. Inbound callers can be required to send a bearer token (MCP_PROXY_AUTH_TOKEN), CORS origins and allowed Host headers are configurable, and the README documents its frame and buffer limits in detail.
Install it from PyPI with uv tool install mcp-proxy or pipx, or run the multi-arch container image from GHCR or Docker Hub, which can be extended with the servers you want to expose. MIT.
Related MCP Servers
See all mcp-proxy alternativesMCP: Scrapling MCP Server
by Karim Shoair (D4Vinci)
Lets AI agents scrape the web through Scrapling, with HTTP, browser and Cloudflare-bypassing stealth fetches and CSS-narrowed, sanitized output.
Self-hosted MCP gateway with a web dashboard: connect stdio, SSE and HTTP servers once and expose them through stable endpoints per group or server, with semantic smart routing and per-user keys.
IBM's open-source MCP gateway and registry: federates MCP servers, A2A agents and REST/gRPC APIs behind one governed MCP endpoint with auth, rate limits, an admin UI and OpenTelemetry tracing.