[GH-ISSUE #280] issue: Trailing Slash #125

Closed
opened 2026-10-18 21:12:00 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @fred-gb on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/280

Originally assigned to: @taylorwilsdon on GitHub.

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of mcpo.

mcpo Version

main (git-91e8f94)

Open WebUI Version (if applicable)

v0.7.2

Operating System

Ubuntu 24.04 and Docker

Browser (if applicable)

Firefox

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both MCPO and Open WebUI.
  • 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

Connect OpenWebUI to MCPO by streamable HTTP

Actual Behavior

When I try to connect, the request add a trailing slash and 404 page not found result.

Steps to Reproduce

docker compose (dev):

  mcpo:
    image: ghcr.io/open-webui/mcpo:main
    container_name: assistant.quanticware.com-mcpo
    command: ["--api-key", "Hello", "--config", "/app/config/config.json"]
    volumes:
      - type: bind
        source: "/data/mcpo/app/config"
        target: "/app/config"
    restart: unless-stopped

MCPO configuration in OpenWebUi:

Image

Logs & Screenshots

MCPO logs:

INFO:     192.168.144.3:55706 - "POST /time HTTP/1.1" 307 Temporary Redirect
INFO:     192.168.144.3:55706 - "POST /time/ HTTP/1.1" 404 Not Found

Additional Information

Related to: https://github.com/open-webui/mcpo/discussions/274 , https://github.com/open-webui/mcpo/issues/209

Originally created by @fred-gb on GitHub (Jan 21, 2026). Original GitHub issue: https://github.com/open-webui/mcpo/issues/280 Originally assigned to: @taylorwilsdon on GitHub. ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of mcpo. ### mcpo Version main (git-91e8f94) ### Open WebUI Version (if applicable) v0.7.2 ### Operating System Ubuntu 24.04 and Docker ### Browser (if applicable) Firefox ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** MCPO and Open WebUI. - [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 Connect OpenWebUI to MCPO by streamable HTTP ### Actual Behavior When I try to connect, the request add a trailing slash and 404 page not found result. ### Steps to Reproduce docker compose (dev): ``` mcpo: image: ghcr.io/open-webui/mcpo:main container_name: assistant.quanticware.com-mcpo command: ["--api-key", "Hello", "--config", "/app/config/config.json"] volumes: - type: bind source: "/data/mcpo/app/config" target: "/app/config" restart: unless-stopped ``` MCPO configuration in OpenWebUi: <img width="525" height="722" alt="Image" src="https://github.com/user-attachments/assets/876406de-682d-46fb-9b27-0df840259356" /> ### Logs & Screenshots MCPO logs: ``` INFO: 192.168.144.3:55706 - "POST /time HTTP/1.1" 307 Temporary Redirect INFO: 192.168.144.3:55706 - "POST /time/ HTTP/1.1" 404 Not Found ``` ### Additional Information Related to: https://github.com/open-webui/mcpo/discussions/274 , https://github.com/open-webui/mcpo/issues/209
bsakaguchi 2026-10-18 21:12:00 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SmileYik commented on GitHub (Mar 30, 2026):

I have same issue, but i found when i switch "MCP Streamable HTTP" to "OpenAPI", then it's works for me.

<!-- gh-comment-id:4153458190 --> @SmileYik commented on GitHub (Mar 30, 2026): I have same issue, but i found when i switch "MCP Streamable HTTP" to "OpenAPI", then it's works for me.
Author
Owner

@taylorwilsdon commented on GitHub (May 17, 2026):

mcpo is to expose mcp servers as openapi tools. you've got the type set to mcp server, which is the wrong one for this application. As smileyik said, switch streamable http to openapi :)

<!-- gh-comment-id:4472402004 --> @taylorwilsdon commented on GitHub (May 17, 2026): mcpo is to expose mcp servers as openapi tools. you've got the type set to mcp server, which is the wrong one for this application. As smileyik said, switch streamable http to openapi :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#125
No description provided.