All files / src/objects MCPServer.tsx

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39                                                                             
export type MCPConnectionType = "stdio" | "http" | "sse";
 
export interface MCPConfigField {
  key: string;
  label: string;
  type: "string" | "password" | "array" | "object";
  description: string;
  required: boolean;
  default: unknown;
  placeholder: string;
}
 
export interface MCPServerTemplate {
  key: string;
  name: string;
  description: string;
  connection_type: MCPConnectionType;
  icon_hint: string;
  category: string;
  config_fields: MCPConfigField[];
  tools_preview: string[];
  docs_url: string;
}
 
export interface MCPServer {
  id: string;
  name: string;
  description?: string;
  template_key?: string;
  connection_type: MCPConnectionType;
  connection_config: Record<string, unknown>;
  tools_cache?: string[] | null;
  is_active: boolean;
  owner_user_id?: string | null;
  owner_organisation_id?: string | null;
  owner_project_id?: string | null;
  created_at: string;
}