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.
Install Mcpo
Built from the published package, never by AI.
claude mcp add mcpo -- uvx mcpoRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcpo": {
"args": [
"mcpo"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcpo": {
"args": [
"mcpo"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcpo": {
"args": [
"mcpo"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcpo -- uvx mcpo{
"mcpServers": {
"mcpo": {
"args": [
"mcpo"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcpo uvx mcpoGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
