@rhofkens/mcp-quotes-server
Version:
A Model Context Protocol (MCP) server that provides quotes based on user requests
13 lines (12 loc) • 444 B
TypeScript
import { QuoteSearchParams } from "../types/serper-types.js";
export declare class SerperService {
private readonly axiosInstance;
private readonly apiKey;
private readonly baseUrl;
constructor(apiKey: string);
private createAxiosInstance;
private setupRetryLogic;
private constructSearchQuery;
private parseQuoteFromResponse;
getQuote(params: QuoteSearchParams, numberOfQuotes?: number): Promise<string>;
}