mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-22 11:45:46 -04:00
issue: cannot connect to multiple mcp server with mcpo #27
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 @tom-cat-mao on GitHub (Apr 8, 2025).
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.2
Ollama Version (if applicable)
No response
Operating System
Archlinux 6.12.21
Browser (if applicable)
chromium 135.0
Confirmation
README.md.Expected Behavior
use the mcpo --config /path/to/config.json to connect to multiple mcp server with mcpo
my config.jsonn is here
config.json
Actual Behavior
the http://localhost:8000/fetch give me 404
but the localhost:8000/fetch/docs can give me the document
and other tools have the same problem
but if i use the uvx mcpo --port 8000 it can connect to the mcp server
Steps to Reproduce
Logs & Screenshots
❯ mcpo --config ~/bin/open-webui/config.json
Starting MCP OpenAPI Proxy with config file: /home/tomcat/bin/open-webui/config.json
INFO: Started server process [7629]
INFO: Waiting for application startup.
2025-04-08 14:08:28,936 - BlenderMCPServer - INFO - BlenderMCP server starting up
2025-04-08 14:08:28,936 - BlenderMCPServer - ERROR - Failed to connect to Blender: [Errno 111] Connection refused
2025-04-08 14:08:28,936 - BlenderMCPServer - ERROR - Failed to connect to Blender
2025-04-08 14:08:28,936 - BlenderMCPServer - WARNING - Could not connect to Blender on startup: Could not connect to Blender. Make sure the Blender addon is running.
2025-04-08 14:08:28,936 - BlenderMCPServer - WARNING - Make sure the Blender addon is running before using Blender resources or tools
2025-04-08 14:08:28,940 - mcp.server.lowlevel.server - INFO - Processing request of type ListToolsRequest
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 127.0.0.1:47984 - "POST /fetch HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:47984 - "POST /fetch/ HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:48000 - "POST /fetch HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:48000 - "POST /fetch/ HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:57152 - "GET /openapi.json HTTP/1.1" 200 OK
INFO: 127.0.0.1:40014 - "GET /fetch/docs HTTP/1.1" 200 OK
INFO: 127.0.0.1:40014 - "GET /fetch/openapi.json HTTP/1.1" 200 OK
INFO: 127.0.0.1:51510 - "POST /fetch HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:51510 - "POST /fetch/ HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46798 - "POST /fetch HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:46798 - "POST /fetch/ HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55094 - "OPTIONS /openapi.json HTTP/1.1" 200 OK
INFO: 127.0.0.1:55094 - "GET /openapi.json HTTP/1.1" 200 OK
INFO: 127.0.0.1:57612 - "GET /docs HTTP/1.1" 200 OK
Additional Information
No response
@tjbck commented on GitHub (Apr 8, 2025):
You need to add in multiple endpoints.
@tjbck commented on GitHub (Apr 8, 2025):
Could you share a screenshot of your tool server configuration?
@tjbck commented on GitHub (Apr 8, 2025):
http://localhost:8000/memoryshould be the url.@tom-cat-mao commented on GitHub (Apr 8, 2025):
Fix it with the endpoint change. Thank you for your help.
@iwongta commented on GitHub (Apr 13, 2025):
@tom-cat-mao How can it be specifically solved?
@tom-cat-mao commented on GitHub (Apr 15, 2025):
@iwongta
in the settings>>tools and add a mcp server using the server name as the endpoint
@bklebel commented on GitHub (Jan 30, 2026):
@tom-cat-mao I have this same issue. No matter what I do, I get the "307 Temporary Redirect" and then "404 Not Found" errors. OpenWebUI v0.7.2 - could you provide a screenshot? :S