mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #12498] issue: Cannot connect OpenAPI proxy with MCP #32152
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qdrddr on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12498
Check Existing Issues
Installation Method
Git Clone, docker compose
Open WebUI Version
v0.6.1
Ollama Version (if applicable)
No response
Operating System
macOS 15
Browser (if applicable)
Edge
Confirmation
README.md.Expected Behavior
Be able to utilize tools proxied via OpenAPI for my MCP Server:
Actual Behavior
open-webui cannot connet to the openAPI proxy to use the tools. getting the message in UI:
Failed to connect to http://mcp:8000/openapi.json OpenAPI tool serverSteps to Reproduce
My Docker-compose
My Dockerfile:
http://mcp:8000, press SaveLogs & Screenshots
When I open the MCP container, I have these logs and I can open
/openapi.jsonfile and I can see the MCP tools for time MCP Server listed:The open-webui container does not produce any error messages in the terminal.
Additional Information
When I open terminal in the open-webui container, I can using curl successfully access
http://mcp:8000/openapi.jsonwith:curl http://mcp:8000/openapi.json@tjbck commented on GitHub (Apr 6, 2025):
Please read the docs. If you want to use internal device address you should add them from admin tool servers settings