mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
refactor: move mcp to pkg/mcphost
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user