File tree Expand file tree Collapse file tree
crates/mcpmux-gateway/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ pub struct McpMuxGatewayHandler {
2929}
3030
3131impl McpMuxGatewayHandler {
32- pub fn new (
33- services : Arc < ServiceContainer > ,
34- notification_bridge : Arc < MCPNotifier > ,
35- ) -> Self {
32+ pub fn new ( services : Arc < ServiceContainer > , notification_bridge : Arc < MCPNotifier > ) -> Self {
3633 Self {
3734 services,
3835 notification_bridge,
Original file line number Diff line number Diff line change @@ -238,10 +238,8 @@ impl GatewayServer {
238238 }
239239
240240 // Create MCP handler
241- let handler = McpMuxGatewayHandler :: new (
242- Arc :: new ( self . services . clone ( ) ) ,
243- notification_bridge. clone ( ) ,
244- ) ;
241+ let handler =
242+ McpMuxGatewayHandler :: new ( Arc :: new ( self . services . clone ( ) ) , notification_bridge. clone ( ) ) ;
245243
246244 // Create STATEFUL MCP service (full Streamable HTTP per spec 2025-11-25)
247245 // stateful_mode: true means:
You can’t perform that action at this time.
0 commit comments