vibe-tools
Version:
CLI tools for AI agents
45 lines (44 loc) • 1.24 kB
TypeScript
import { Config } from '../../types.js';
export interface MCPServer {
mcpId: string;
githubUrl: string;
name: string;
author: string;
description: string;
codiconIcon: string;
logoUrl: string;
category: string;
tags: string[];
requiresApiKey: boolean;
isRecommended: boolean;
githubStars: number;
downloadCount: number;
createdAt: string;
updatedAt: string;
readme?: string;
command: 'uvx' | 'npx';
args: string[];
}
export interface MarketplaceData {
servers: MCPServer[];
}
export declare class MarketplaceManager {
private config;
private githubSearch;
constructor(config: Config);
private getOverrides;
getMarketplaceData(): Promise<MarketplaceData>;
findServersForIntent(query: string, options: {
debug: boolean;
}): Promise<MCPServer[]>;
private fetchReadmeContent;
/**
* Convert GitHub repositories to MCP server format, including fetching READMEs
* @param repos GitHub repositories
* @returns Array of MCP servers converted from GitHub repositories
*/
private convertGitHubReposToMcpServers;
searchServers(query: string, options: {
debug: boolean;
}): Promise<MCPServer[]>;
}