fix: mcp card

This commit is contained in:
wangcham
2025-10-23 22:30:53 +08:00
parent 6ba9b6973d
commit d0a3dee083
2 changed files with 17 additions and 7 deletions
@@ -23,6 +23,8 @@ import {
SelectValue,
} from '@/components/ui/select';
import { httpClient, HttpClient } from '@/app/infra/http/HttpClient';
export default function MCPMarketComponent({
askInstallServer,
}: {
@@ -71,7 +73,15 @@ export default function MCPMarketComponent({
sortBy: string = sortByValue,
sortOrder: string = sortOrderValue,
) {
setLoading(true);
// setLoading(true);
// 获取后端的 MCP Market 服务器列表
httpClient.getMCPServers().then(
);
// spaceClient
// .getMCPMarketServers(page, pageSize, keyword, sortBy, sortOrder)
// .then((res) => {