[GH-ISSUE #7] No endpoint loaded when using config file #4

Closed
opened 2026-10-18 21:10:09 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @sle78 on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/7

While It works fine when using the command syntax:

uvx mcpo --port 8000 -- uvx mcp-server-time --local-timezone=Europe/London

Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=Europe/London
INFO:     Started server process [7424]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     127.0.0.1:51609 - "GET /docs HTTP/1.1" 200 OK
INFO:     127.0.0.1:51609 - "GET /openapi.json HTTP/1.1" 200 OK

config.json

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    }
  }
}

uvx mcpo --port 8000 --config config.json

Starting MCP OpenAPI Proxy with config file: config.json
INFO:     Started server process [7499]
INFO:     Waiting for application startup.
Knowledge Graph MCP Server running on stdio
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     127.0.0.1:51627 - "GET /docs HTTP/1.1" 200 OK

Image

Originally created by @sle78 on GitHub (Apr 1, 2025). Original GitHub issue: https://github.com/open-webui/mcpo/issues/7 While It works fine when using the command syntax: `uvx mcpo --port 8000 -- uvx mcp-server-time --local-timezone=Europe/London` ```bash Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=Europe/London INFO: Started server process [7424] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:51609 - "GET /docs HTTP/1.1" 200 OK INFO: 127.0.0.1:51609 - "GET /openapi.json HTTP/1.1" 200 OK ``` `config.json` ```json { "mcpServers": { "memory": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-memory"] } } } ``` `uvx mcpo --port 8000 --config config.json` ```bash Starting MCP OpenAPI Proxy with config file: config.json INFO: Started server process [7499] INFO: Waiting for application startup. Knowledge Graph MCP Server running on stdio INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:51627 - "GET /docs HTTP/1.1" 200 OK ``` ![Image](https://github.com/user-attachments/assets/d8d5a49d-af63-4143-b49c-ff4577f1492a)
Author
Owner

@tjbck commented on GitHub (Apr 1, 2025):

Each with a dedicated OpenAPI schema and proxy handler. Access full schema UI at: http://localhost:8000/[tool]/docs (e.g. /memory/docs, /time/docs)

<!-- gh-comment-id:2768937573 --> @tjbck commented on GitHub (Apr 1, 2025): > Each with a dedicated OpenAPI schema and proxy handler. Access full schema UI at: http://localhost:8000/[tool]/docs (e.g. /memory/docs, /time/docs)
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#4
No description provided.