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

@@ -74,7 +74,7 @@ func TestTapHandler(t *testing.T) {
func TestInvokeToolHandler(t *testing.T) {
router := NewRouter()
router.InitMCPHub("../internal/mcp/testdata/test.mcp.json")
router.InitMCPHost("../internal/mcp/testdata/test.mcp.json")
tests := []struct {
name string