Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-01-09 19:44:59 +08:00
1 parent c3a1d95a92
commit 2c973f8c3b
6 files changed
+63 -31

No files matched your search

+1 -1
View File
@@ -738,7 +738,7 @@ func (m *ExternalMCPManager) createClient(serverCfg config.ExternalMCPServerConf
if serverCfg.Command == "" {
return nil
}
return NewStdioMCPClient(serverCfg.Command, serverCfg.Args, timeout, m.logger)
return NewStdioMCPClient(serverCfg.Command, serverCfg.Args, serverCfg.Env, timeout, m.logger)
case "sse":
if serverCfg.URL == "" {
return nil