@kyaniiii/google-search-mcp
Version:
MCP server for Google Search with API key rotation
25 lines • 660 B
TypeScript
export interface GoogleApiKey {
id: string;
apiKey: string;
searchEngineId: string;
dailyUsage: number;
dailyLimit: number;
lastReset: string;
isActive: boolean;
}
export declare class GoogleSearchConfig {
private globalConfig;
constructor();
private checkConfiguration;
getAvailableKey(): GoogleApiKey | null;
incrementUsage(keyId: string): void;
getQuotaStatus(): {
totalUsed: number;
totalLimit: number;
keysStatus: any[];
};
disableKey(keyId: string, reason: string): void;
hasValidConfig(): boolean;
getConfigPath(): string;
}
//# sourceMappingURL=config.d.ts.map