UNPKG

@n8n-plus/n8n-plus

Version:

n8n Workflow Automation Tool (plus edition)

44 lines (43 loc) 1.47 kB
import type { McpRegistryServerEntity } from './mcp-registry-server.entity'; type McpRegistryServerUpsertRow = Pick<McpRegistryServerEntity, 'slug' | 'status' | 'version' | 'registryUpdatedAt' | 'data'>; declare const serverStatuses: readonly ["active", "deprecated"]; type McpRegistryServerStatus = (typeof serverStatuses)[number]; export type McpRegistryServer = { name: string; slug: string; title: string; description: string; tagline: string; version: string; updatedAt: string; icons: McpRegistryIcon[]; websiteUrl?: string; authType: 'oauth2'; remotes: McpRegistryRemote[]; tools: McpRegistryTool[]; isOfficial: boolean; origin: 'registry'; status: McpRegistryServerStatus; tags?: string[]; }; export type McpRegistryIcon = { src: string; mimeType?: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/svg+xml' | 'image/webp'; theme?: 'light' | 'dark'; }; export type McpRegistryRemoteType = 'streamable-http' | 'sse'; export type McpRegistryRemote = { type: McpRegistryRemoteType; url: string; }; export type McpRegistryToolAnnotations = { readOnlyHint?: boolean; }; export type McpRegistryTool = { name: string; title?: string; annotations?: McpRegistryToolAnnotations; }; export declare function toEntity(server: McpRegistryServer): McpRegistryServerUpsertRow; export declare function fromEntity(entity: McpRegistryServerEntity): McpRegistryServer; export {};