perplexity-mcp-server
Version:
A Perplexity API Model Context Protocol (MCP) server that unlocks Perplexity's search-augmented AI capabilities for LLM agents. Features robust error handling, secure input validation, and transparent reasoning with the showThinking parameter. Built with
16 lines (15 loc) • 580 B
TypeScript
type LogLevel = "debug" | "info" | "warn" | "error";
declare class Logger {
private static instance;
private logger;
private isInitialized;
private constructor();
initialize(logLevel?: LogLevel): void;
static getInstance(): Logger;
debug(message: string, context?: Record<string, unknown>): void;
info(message: string, context?: Record<string, unknown>): void;
warn(message: string, context?: Record<string, unknown>): void;
error(message: string, context?: Record<string, unknown>): void;
}
export declare const logger: Logger;
export {};