mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 15:36:50 +08:00
### What problem does this PR solve? This is a cherry-pick from #7781 as requested. ### Type of change - [x] New Feature (non-breaking change which adds functionality) Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
20 lines
381 B
TypeScript
20 lines
381 B
TypeScript
export enum McpServerType {
|
|
Sse = 'sse',
|
|
StreamableHttp = 'streamable-http',
|
|
}
|
|
|
|
export interface IMcpServerVariable {
|
|
key: string;
|
|
name: string;
|
|
}
|
|
|
|
export interface IMcpServerInfo {
|
|
id: string;
|
|
name: string;
|
|
url: string;
|
|
server_type: McpServerType;
|
|
description?: string;
|
|
variables?: IMcpServerVariable[];
|
|
headers: Map<string, string>;
|
|
}
|