UNPKG

tremor-ui-mcp-server

Version:

A Model Context Protocol (MCP) server providing AI assistants with access to Tremor UI components, blocks, and templates for React dashboard development

31 lines 1.2 kB
import { TremorComponent, TremorBlock, TremorTemplate, ComponentMetadata } from '../types'; export declare class TremorService { private github; private cache; private cacheExpiry; private readonly cacheTimeout; constructor(githubApiKey?: string); private loadRegistry; private loadComponents; private parseComponent; private getPredefinedComponents; private loadBlocks; private getPredefinedBlocks; private loadTemplates; private getPredefinedTemplates; private extractCategory; private extractDescription; private extractProps; private extractDependencies; getComponent(name: string): Promise<TremorComponent | null>; getComponentDemo(name: string): Promise<string | null>; listComponents(): Promise<TremorComponent[]>; getComponentMetadata(name: string): Promise<ComponentMetadata | null>; getBlock(name: string): Promise<TremorBlock | null>; listBlocks(): Promise<TremorBlock[]>; getTemplate(name: string): Promise<TremorTemplate | null>; listTemplates(): Promise<TremorTemplate[]>; getDirectoryStructure(): Promise<any>; private generateComponentDemo; } //# sourceMappingURL=tremor.d.ts.map