refactor: move uixt mcp server

This commit is contained in:
lilong.129
2025-05-24 10:38:52 +08:00
parent 014140ccc7
commit 0a68701faa
4 changed files with 52 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/httprunner/httprunner/v5/mcphost"
"github.com/httprunner/httprunner/v5/uixt"
"github.com/spf13/cobra"
)
@@ -10,7 +10,7 @@ var CmdMCPServer = &cobra.Command{
Short: "Start MCP server for UI automation",
Long: `Start MCP server for UI automation, expose device driver via MCP protocol`,
RunE: func(cmd *cobra.Command, args []string) error {
mcpServer := mcphost.NewMCPServer()
mcpServer := uixt.NewMCPServer()
return mcpServer.Start()
},
}