reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
26 lines (25 loc) • 797 B
TypeScript
import { z } from 'zod';
/**
* Schema for search_components tool parameters
*/
export declare const searchComponentsSchema: z.ZodObject<{
query: z.ZodString;
category: z.ZodOptional<z.ZodEnum<["Animations", "Backgrounds", "Components", "TextAnimations"]>>;
}, "strip", z.ZodTypeAny, {
query: string;
category?: "Animations" | "Backgrounds" | "Components" | "TextAnimations" | undefined;
}, {
query: string;
category?: "Animations" | "Backgrounds" | "Components" | "TextAnimations" | undefined;
}>;
/**
* Handle search_components tool requests
* @param params - Tool parameters
* @returns Promise with search results
*/
export declare function handleSearchComponents(params: any): Promise<{
content: Array<{
type: string;
text: string;
}>;
}>;