Skip to content
mcpo

mcpoMCP Server

Released
v0.0.21
MIT

Summary

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.

Features

  • Serve any MCP server's tools as an OpenAPI HTTP API
  • Interactive docs and generated schema per server
  • API-key auth, optionally covering docs and schema
  • Proxy stdio, SSE and Streamable HTTP servers, with custom headers
  • OAuth 2.1 with dynamic client registration
  • Multi-server config file with hot reload and disabled tools
  • uvx, pip or Docker image

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "mcpo" tools will be available.
{
  "mcpServers": {
    "mcpo": {
      "command": "uvx",
      "args": [
        "mcpo",
        "--port",
        "8000",
        "--api-key",
        "<your-api-key>",
        "--",
        "uvx",
        "mcp-server-time",
        "--local-timezone=America/New_York"
      ]
    }
  }
}

Description

mcpo is a small proxy from the Open WebUI project that makes MCP tools usable by anything that speaks plain HTTP. Most MCP servers run over stdio as a local process that a browser app or another machine cannot reach; mcpo starts the server for you and puts an OpenAPI server in front of it, with one endpoint per tool, an auto-generated schema and interactive docs at /docs.

It was built so Open WebUI could call MCP tools as OpenAPI tool servers, and it is still the recommended route there for stdio and SSE servers (Open WebUI talks to Streamable HTTP servers natively), but any OpenAPI client works. It also proxies remote SSE and Streamable HTTP servers with custom headers, and handles OAuth 2.1 for protected servers with dynamic client registration and stored tokens. A config file in the Claude Desktop mcpServers format serves several servers from one instance, each on its own route, with per-server disabled tools and hot reload.

Run it with uvx mcpo --port 8000 --api-key "top-secret" -- <your MCP server command>, install it with pip (Python 3.11+), or use the GHCR Docker image. It is a proxy you run from a terminal, not a server you add to an MCP client. MIT.

Related MCP Servers

See all mcpo alternatives

MCP: mcp-proxy

by Sergey Parfenyuk

New

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.

MCP: AKTools

by AKFamily

New

Official MCP server and HTTP API for AKShare, the open-source financial data library: an assistant searches nearly a thousand data interfaces, reads their parameters and fetches stock, fund and macro data.

Featured

Postman's official MCP server — reach your workspaces, collections, specs and environments from Claude Code, Cursor, VS Code or Copilot, in four tool tiers.

Browse all MCP servers →