Add files via upload

This commit is contained in:
公明
2026-01-09 19:44:59 +08:00
committed by GitHub
parent c3a1d95a92
commit 2c973f8c3b
6 changed files with 63 additions and 31 deletions
+1
View File
@@ -81,6 +81,7 @@ type ExternalMCPServerConfig struct {
// stdio模式配置
Command string `yaml:"command,omitempty" json:"command,omitempty"`
Args []string `yaml:"args,omitempty" json:"args,omitempty"`
Env map[string]string `yaml:"env,omitempty" json:"env,omitempty"` // 环境变量(用于stdio模式)
// HTTP模式配置
Transport string `yaml:"transport,omitempty" json:"transport,omitempty"` // "http" 或 "stdio"