Open Webui
FreeNot checkedExposes OpenWebUI's admin REST API as an MCP server, enabling administrative operations on OpenWebUI through natural language via MCP tools.
About
Exposes OpenWebUI's admin REST API as an MCP server, enabling administrative operations on OpenWebUI through natural language via MCP tools.
README
A vendored fork of stephanschielke/open-webui-mcp-server packaged for container deployment, with a SHA-pinned upstream snapshot, a published ghcr.io image, and a small drift-detection helper.
Vendored at upstream commit 85d88af6e3dd34183a5a0eefb85d474f3e3c2b54 (2026-04-07). The wrapper source under src/openwebui_mcp/ is byte-identical to upstream — see NOTICE for full attribution.
What it does
Exposes OpenWebUI's admin REST API as a Model Context Protocol (MCP) server. Tool definitions are generated from a bundled snapshot of OpenWebUI's OpenAPI spec via FastMCP; 317 tools survive the upstream RouteMap filter (after excluding /ollama/*, /openai/*, /api/v1/{analytics,evaluations,terminals,pipelines}/*, and any non-/api/v1/ paths).
This image is intended to run behind an authenticating MCP gateway (e.g. LiteLLM, an mTLS proxy, or anything that fronts streamable-HTTP MCP). It exposes the full OpenWebUI admin surface — including mutating and destructive operations — by design. Do not expose port 7999 to untrusted networks; always front it with bearer auth or equivalent.
Deployment
services:
open-webui-mcp:
image: ghcr.io/tetra-2023/open-webui-mcp:stable
environment:
WEBUI_URL: http://open-webui:8080 # base URL of your OpenWebUI
WEBUI_API_KEY: ${WEBUI_API_KEY} # admin token sourced from your secrets store
MCP_TRANSPORT: http
MCP_HTTP_HOST: 0.0.0.0
MCP_HTTP_PORT: "7999"
MCP_HTTP_PATH: /mcp
depends_on: [open-webui]
Pin to a specific tag (:0.2.2) or digest in production. :stable floats with the most recent release tag; :latest floats with main.
Local run (debug)
docker run --rm -p 7999:7999 \
-e WEBUI_URL=http://host.docker.internal:8080 \
-e WEBUI_API_KEY=$WEBUI_API_KEY \
-e MCP_TRANSPORT=http \
-e MCP_HTTP_HOST=0.0.0.0 \
ghcr.io/tetra-2023/open-webui-mcp:stable
Spec drift check
When upgrading OpenWebUI, run the drift check before bumping this wrapper. The bundled OpenAPI snapshot drives tool generation, so a mismatch between the snapshot and live OWUI causes the wrapper to advertise tool schemas that no longer match the running endpoints.
WEBUI_API_KEY=... ./scripts/check-spec-drift.sh https://owui.example.com
Reports added / removed / renamed operations between the bundled snapshot and the live OWUI's /openapi.json. See CONTRIBUTING.md for the full bump procedure.
Tags published on ghcr.io
| Tag | When | Source |
|---|---|---|
:latest |
every push to main |
CI docker job |
:stable |
every v*.*.* git tag |
Release Image workflow |
:<version> |
every v*.*.* git tag |
Release Image workflow |
License
MIT — see LICENSE (verbatim from upstream) and NOTICE (fork attribution + modifications).
Refs
- Upstream source: https://github.com/stephanschielke/open-webui-mcp-server
- Original fork: https://github.com/troylar/open-webui-mcp-server
- OpenWebUI upstream RFE for a first-party admin MCP: https://github.com/open-webui/open-webui/discussions/16891
Install Open Webui in Claude Desktop, Claude Code & Cursor
unyly install open-webui-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add open-webui-mcp -- uvx openwebui-mcp-serverFAQ
Is Open Webui MCP free?
Yes, Open Webui MCP is free — one-click install via Unyly at no cost.
Does Open Webui need an API key?
No, Open Webui runs without API keys or environment variables.
Is Open Webui hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Open Webui in Claude Desktop, Claude Code or Cursor?
Open Open Webui on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Open Webui with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
