feat: add argument --with-uixt to start built-in uixt MCP server

This commit is contained in:
lilong.129
2025-05-20 22:36:46 +08:00
parent 037e69315e
commit 0c20fe7b02
11 changed files with 84 additions and 31 deletions

View File

@@ -25,7 +25,7 @@ type Router struct {
}
func (r *Router) InitMCPHost(configPath string) error {
mcpHost, err := mcphost.NewMCPHost(configPath)
mcpHost, err := mcphost.NewMCPHost(configPath, false)
if err != nil {
log.Error().Err(err).Msg("init MCP host failed")
return err