File tree Expand file tree Collapse file tree
src/Infrastructure/BotSharp.Core.MCP/Managers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ public async Task<IMcpClient> GetMcpClientAsync(string serverId)
2323 transport = new SseClientTransport ( new SseClientTransportOptions
2424 {
2525 Name = config . Name ,
26- Endpoint = new Uri ( config . SseConfig . EndPoint )
26+ Endpoint = new Uri ( config . SseConfig . EndPoint ) ,
27+ AdditionalHeaders = config . SseConfig . AdditionalHeaders ,
28+ ConnectionTimeout = config . SseConfig . ConnectionTimeout
2729 } ) ;
2830 }
2931 else if ( config . StdioConfig != null )
@@ -33,7 +35,8 @@ public async Task<IMcpClient> GetMcpClientAsync(string serverId)
3335 Name = config . Name ,
3436 Command = config . StdioConfig . Command ,
3537 Arguments = config . StdioConfig . Arguments ,
36- EnvironmentVariables = config . StdioConfig . EnvironmentVariables
38+ EnvironmentVariables = config . StdioConfig . EnvironmentVariables ,
39+ ShutdownTimeout = config . StdioConfig . ShutdownTimeout
3740 } ) ;
3841 }
3942 else
You can’t perform that action at this time.
0 commit comments