reactbits-dev-mcp-server
Version:
MCP server providing access to 135+ animated React components from ReactBits.dev
35 lines • 872 B
TypeScript
interface GitHubFile {
name: string;
path: string;
sha: string;
size: number;
url: string;
html_url: string;
git_url: string;
download_url: string;
type: string;
content?: string;
encoding?: string;
}
export declare class GitHubService {
private api;
private cache;
private repo;
constructor(token?: string);
getFileContent(path: string): Promise<string>;
listFiles(path?: string): Promise<GitHubFile[]>;
searchComponents(query: string): Promise<string[]>;
getComponentFromGitHub(componentPath: string): Promise<{
code: string;
dependencies: string[];
hasCSS: boolean;
hasTailwind: boolean;
}>;
getRateLimit(): Promise<{
limit: number;
remaining: number;
reset: Date;
}>;
}
export {};
//# sourceMappingURL=GitHubService.d.ts.map