mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
### 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:
@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user