Open WebUI MCP server: connect Sume's hosted MCP
Add Sume's hosted MCP to Open WebUI as an admin: type MCP (Streamable HTTP), then OAuth 2.1 per user or one shared Bearer key.

Open WebUI (v0.6.31 and later) connects to MCP servers over Streamable HTTP, and only an admin can add one: Settings > Admin > Integrations, + Add Connection under External Tool Servers, Type MCP (Streamable HTTP). For Sume's hosted MCP server, enter https://mcp.sume.com/mcp and pick the auth: OAuth 2.1 lets each user sign in to their own Sume account, while Bearer with a Sume API key puts everyone the connection is shared with on one key.
Open WebUI's side comes from its MCP docs; Sume's side comes from MCP OAuth and API keys, MCP quickstart, and MCP tools and gates, all read on 2026-09-27. Sume has no official Open WebUI integration, and Sume's basics page says hosted MCP still works but is not part of the primary path today.
How do I add an MCP server to Open WebUI?
- Set the
WEBUI_SECRET_KEYenvironment variable first. Without it, OAuth-connected MCP tools break every time you restart or recreate the container (Error decrypting tokens). - Open Settings > Admin > Integrations and, under External Tool Servers, click + Add Connection.
- Set Type to MCP (Streamable HTTP), not OpenAPI. MCP-style JSON in an OpenAPI connection can crash the UI or leave it loading forever.
- Enter
https://mcp.sume.com/mcpas the Server URL, choose the auth mode, and Save. Restart Open WebUI if prompted. - MCP servers are admin-only by design. To give users the tools, add the connection once and scope it to users or groups with Access Control.
Should I use OAuth 2.1 or a Bearer key?
Open WebUI's docs say to start with OAuth 2.1 if the server supports dynamic client registration (DCR), and Sume's current server advertises a registration endpoint. With OAuth 2.1, each user connects their own account: the first time someone enables the tool from the Integrations menu in a chat, Open WebUI sends them to Sume, and the grant is stored against their account alone.
Sume's consent page shows Read locked on and Write off by default. A user who leaves Write off gets read tools only, and paid tools such as generate_image return insufficient_scope. If you override OAuth Scopes with custom scopes, Sume's current server accepts only mcp:read and mcp:write.
| Auth mode | What Open WebUI does | With Sume |
|---|---|---|
| None | No token; for servers that require none | Not usable: Sume answers with an OAuth challenge |
| Bearer | Sends Authorization: Bearer with the Key, which must be filled in | A Sume API key; full hosted tool set, paid tools included |
| OAuth 2.1 | Dynamic Client Registration | Each user consents on mcp.sume.com; Write is off by default |
| OAuth 2.1 (Static) | Pre-created client ID and client secret | Sume's docs describe no pre-created client; use OAuth 2.1 |
Who pays when chat users call Sume tools?
With Bearer, every call runs on one Sume API key. Sume API keys and spend resolve to a workspace, and an admin-added connection is shared with the users you scope it to, so all of them spend from that one workspace. Neither set of docs says so in one sentence; it follows from the two together.
With OAuth 2.1, each user signs in and consents for their own Sume account. Don't set an OAuth 2.1 tool as a default tool on a model: the sign-in needs a browser redirect that can't happen mid-request. And while Open WebUI refreshes tokens automatically after the first sign-in, Sume's current server issues one-hour access tokens and no refresh token, so users authorize again after an hour.
How do I limit which Sume tools chat can use?
Fill in the connection's Function Name Filter List, which restricts which tools are exposed to the model; Open WebUI's docs say leaving it empty exposes all tools in most cases. List Sume's read tools, such as mcp_health, tools_list, jobs_wait, and jobs_result, plus only the paid tools you want users to reach. Each paid call needs an idempotency_key, dry_run=true previews the cost, and max_spend_usd caps a call only when it is sent.
What are the limits?
- Open WebUI's native MCP support is Streamable HTTP only.
- Check OAuth Discovery only fetches and parses the discovery document. It never contacts the MCP server or lists tools, so a green result doesn't prove tool calls work.
- Sume's current OAuth server accepts a plain
httpredirect address only atlocalhostor127.0.0.1;httpsaddresses are accepted. Open WebUI finishes sign-in at the address inWEBUI_URL, so serve it over HTTPS when users reach it at any other address. - Hosted MCP cannot read files from a user's laptop, and reference images for
generate_imagemust be public HTTPS URLs.
Sources
Related posts
More in Integrations
- OpenAI Agents SDK MCP server: Sume and the 5-second timeout
Connect the OpenAI Agents SDK to Sume's hosted MCP server with an API key, and raise the 5-second client timeouts above jobs_wait's 55 seconds.
- OpenAI Responses API MCP tool: call Sume's hosted tools
Add Sume's hosted MCP server to the Responses API as an mcp tool, send your Sume key in headers, and approve paid tool calls before they run.
- MCP server for OpenClaw: add Sume's image and video tools
Save Sume's hosted MCP server in OpenClaw with openclaw mcp add, sign in with OAuth or an API-key header, and set requestTimeoutMs above 55,000.
- MCP server for OpenCode: add Sume in opencode.json
Add Sume's hosted MCP server to OpenCode as a remote entry in opencode.json, then sign in with OAuth or send an API key, and keep paid tools in check.
Written by Sume