refactor: move mcp to pkg/mcphost

This commit is contained in:
lilong.129
2025-05-16 14:14:56 +08:00
parent 9b77bd1fd2
commit e333ba380a
13 changed files with 32 additions and 975 deletions

View File

@@ -17,7 +17,7 @@ var CmdServer = &cobra.Command{
router := server.NewRouter()
mcpConfigPath = os.ExpandEnv(mcpConfigPath)
if mcpConfigPath != "" {
router.InitMCPHub(mcpConfigPath)
router.InitMCPHost(mcpConfigPath)
}
return router.Run(port)
},