@rhofkens/mcp-quotes-server-claude-code
Version:
Model Context Protocol (MCP) server for managing and serving quotes
27 lines • 782 B
TypeScript
/**
* Get Quotes Tool
*
* MCP tool for retrieving quotes from a specific person
*/
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
import type { IQuote, IGetQuotesParams } from '../types/quotes.js';
/**
* Handler function for the getQuotes tool with enhanced error handling
*/
declare function getQuotesHandler(params: unknown): Promise<{
quotes: IQuote[];
}>;
/**
* Tool definition for getQuotes
*/
export declare const getQuotesTool: Tool;
/**
* Alternative handler that can be used directly (not through MCP)
*/
export declare function getQuotes(params: IGetQuotesParams): Promise<IQuote[]>;
/**
* Handler export for tool registry
*/
export declare const handleGetQuotes: typeof getQuotesHandler;
export {};
//# sourceMappingURL=getQuotes.d.ts.map