I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
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
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have listed steps to reproduce the bug in detail.
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 server
FROMpython:3.11-slimWORKDIR/appRUN pip install mcpo uv# Replace with your MCP server command; example: uvx mcp-server-timeCMD["uvx","mcpo","--host","0.0.0.0","--port","8000","--","uvx","mcp-server-time","--local-timezone=America/New_York"]
docker-compose up
go to Settings > Tools > Manage Tool Servers add http://mcp:8000, press Save
Logs & Screenshots
When I open the MCP container, I have these logs and I can open /openapi.json file and I can see the MCP tools for time MCP Server listed:
mcp | Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=America/New_York
mcp | INFO: 192.168.65.1:56027 - "GET /docs HTTP/1.1" 200 OK
mcp | INFO: 192.168.65.1:56027 - "GET /openapi.json HTTP/1.1" 200 OK
mcp | INFO: 192.168.65.1:56027 - "GET /openapi.json HTTP/1.1" 200 OK
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.json with: curl http://mcp:8000/openapi.json
Originally created by @qdrddr on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12498
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### 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
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have listed steps to reproduce the bug in detail.
### 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 server`
### Steps to Reproduce
My Docker-compose
```yaml
services:
open-webui:
#build:
# context: .
# args:
# OLLAMA_BASE_URL: '/ollama'
# dockerfile: Dockerfile
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- open-webui:/app/backend/data
ports:
- ${OPEN_WEBUI_PORT-3053}:8080
environment:
- 'OLLAMA_BASE_URL=http://ollama:11434'
- 'WEBUI_SECRET_KEY='
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
mcp:
image: mcp-proxy-server
container_name: mcp
ports:
- ${MCP_PORT-3054}:8000
volumes:
ollama: {}
open-webui: {}
```
My Dockerfile:
```Dockerfile
FROM python:3.11-slim
WORKDIR /app
RUN pip install mcpo uv
# Replace with your MCP server command; example: uvx mcp-server-time
CMD ["uvx", "mcpo", "--host", "0.0.0.0", "--port", "8000", "--", "uvx", "mcp-server-time", "--local-timezone=America/New_York"]
```
1. docker-compose up
2. go to Settings > Tools > Manage Tool Servers add `http://mcp:8000`, press Save
### Logs & Screenshots


When I open the MCP container, I have these logs and I can open `/openapi.json` file and I can see the MCP tools for time MCP Server listed:
```
mcp | Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=America/New_York
mcp | INFO: 192.168.65.1:56027 - "GET /docs HTTP/1.1" 200 OK
mcp | INFO: 192.168.65.1:56027 - "GET /openapi.json HTTP/1.1" 200 OK
mcp | INFO: 192.168.65.1:56027 - "GET /openapi.json HTTP/1.1" 200 OK
```
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.json` with: `curl http://mcp:8000/openapi.json`

GiteaMirror
added the bug label 2026-05-13 03:11:30 -05:00
Please read the docs. If you want to use internal device address you should add them from admin tool servers settings
<!-- gh-comment-id:2781141608 -->
@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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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