Fix OpenWebUI GitHub MCP session expiry
This commit is contained in:
1 parent
80b73fe136
commit
933d2a6e7d
4 files changed
+16
-1
No files matched your search
@@ -9,4 +9,7 @@ COPY --from=github /server/github-mcp-server /usr/local/bin/github-mcp-server
|
||||
|
||||
USER 65532:65532
|
||||
ENTRYPOINT ["supergateway"]
|
||||
CMD ["--stdio", "/usr/local/bin/github-mcp-server stdio", "--outputTransport", "streamableHttp", "--stateful", "--sessionTimeout", "600000", "--streamableHttpPath", "/mcp", "--port", "8000", "--logLevel", "info"]
|
||||
# Open WebUI can retain an MCP session longer than a stateful gateway keeps it
|
||||
# alive. A later call then fails although both the token and server are healthy.
|
||||
# Stateless mode provides a fresh auto-initialized stdio server per request.
|
||||
CMD ["--stdio", "/usr/local/bin/github-mcp-server stdio", "--outputTransport", "streamableHttp", "--protocolVersion", "2025-11-25", "--streamableHttpPath", "/mcp", "--port", "8000", "--logLevel", "info"]
|
||||
Reference in new issue
Block a user