Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Mcpo

MCP server by open-webui Verified · gh:open-webui

mcpo is an MCP-to-OpenAPI proxy that serves any MCP server's tools as a standard OpenAPI HTTP server. It is for people who want to use MCP servers with Open WebUI or other apps that speak OpenAPI.

  • Score 91
  • 4.4k stars
  • MIT
  • Updated

Install Mcpo

Built from the published package, never by AI.

claude mcp add mcpo -- uvx mcpo

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Mcpo in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcpo block.

About

mcpo is an MCP-to-OpenAPI proxy. It takes any MCP server and serves its tools as a standard OpenAPI HTTP server, with interactive docs at /docs and API key authentication. Most MCP servers talk over stdio and run as a local process, so apps in the browser or on another machine cannot reach them. mcpo runs the server and puts plain HTTP in front of it. Each tool gets its own endpoint and OpenAPI schema.

mcpo can also proxy remote SSE and Streamable HTTP servers, and it can serve several servers from one instance using a config file in the Claude Desktop format. It supports OAuth 2.1 for Streamable HTTP servers that require it. Open WebUI connects to Streamable HTTP servers natively, so mcpo is mainly used for stdio and SSE servers, or when a client only speaks OpenAPI. It is released under the MIT license.

Written from the project's README and checked against it.

What you need

  • Python 3.11+ for pip install
  • uv for the uvx command
  • Docker for the container image

Try asking

  • Use the time server to get the current time in New York.
  • Connect my local MCP server to Open WebUI through mcpo.
  • Call the memory server tools through the mcpo OpenAPI docs.

Good to know

  • Listens on 127.0.0.1 by default; use --host 0.0.0.0 for other machines.
  • Open WebUI connects to Streamable HTTP servers natively, so mcpo is mainly for stdio and SSE servers.
  • Setting MCPO_API_KEY through --env or --env-path has no effect.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Expose stdio MCP servers over HTTP
  • Use MCP tools in Open WebUI
  • Proxy several MCP servers from one config

Alternatives to Mcpo

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Mcpo: common questions

Does mcpo work with Open WebUI?

Yes. The source says mcpo serves tools as OpenAPI so they work with Open WebUI and other apps that speak OpenAPI. Open WebUI can add the mcpo URL as a tool server.

How is mcpo secured?

Clients send the API key set with --api-key as a bearer token. The --strict-auth option also protects the docs and OpenAPI schema with the key.

Can mcpo connect to OAuth-protected MCP servers?

Yes. The source says mcpo supports OAuth 2.1 for Streamable HTTP servers that require it, and it uses dynamic client registration by default.

How do I install Mcpo?

In Claude Code run claude mcp add mcpo -- uvx mcpo. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Mcpo the official server?

Mcpo is published by gh:open-webui from its verified domain in the official MCP Registry.

Is Mcpo free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Mcpo safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Mcpo?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Mcpo work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.