chore: move ws support to feat-ws

This commit is contained in:
Sun-ZhenXing
2025-07-21 11:44:33 +08:00
parent 2b48a92596
commit 7941617a8f
6 changed files with 9 additions and 171 deletions

View File

@@ -50,4 +50,6 @@ for name, mcp in MCP_MAP.items():
if settings.enable_streamable_http:
app.mount(f"/{name}", mcp.streamable_http_app())
if settings.enable_websocket:
app.mount(f"/{name}/websocket", mcp.ws_app())
raise NotImplementedError(
"To use WebSocket, you need to switch to the `feat-ws` branch."
)