UNPKG

reactbits-mcp-server

Version:

MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements

23 lines (22 loc) 527 B
import { z } from 'zod'; /** * Schema for get_component tool parameters */ export declare const getComponentSchema: z.ZodObject<{ componentName: z.ZodString; }, "strip", z.ZodTypeAny, { componentName: string; }, { componentName: string; }>; /** * Handle get_component tool requests * @param params - Tool parameters * @returns Promise with component source code */ export declare function handleGetComponent(params: any): Promise<{ content: Array<{ type: string; text: string; }>; }>;