mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 08:56:42 +08:00
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>;
|
||
|
|
}
|