open-webui-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@open-webui-mcplist all users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
open-webui-mcp
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:stableSpec 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.comReports 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 |
| every push to | CI |
| every | Release Image workflow |
| every | 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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TETRA-2023/open-webui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server