Feat: Filter MCP server list by text. #3221 (#8820)

### What problem does this PR solve?

Feat: Filter MCP server list by text. #3221
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-14 11:46:52 +08:00
committed by GitHub
parent 504e453ae5
commit dc068bbd1e
7 changed files with 136 additions and 44 deletions

View File

@ -1,3 +1,4 @@
import { IPaginationRequestBody } from '@/interfaces/request/base';
import api from '@/utils/api';
import registerServer from '@/utils/register-server';
import request from '@/utils/request';
@ -66,3 +67,6 @@ const methods = {
const mcpServerService = registerServer<keyof typeof methods>(methods, request);
export default mcpServerService;
export const listMcpServers = (params?: IPaginationRequestBody, body?: any) =>
request.post(api.listMcpServer, { data: body || {}, params });