@nestjs-mcp/server
Version:
Modular library for building scalable MCP servers with NestJS, providing decorators and integration patterns as a wrapper for the official MCP TypeScript SDK.
17 lines (16 loc) • 649 B
TypeScript
import { LoggerService } from '@nestjs/common';
import { McpLoggingOptions } from '../mcp.types';
export declare class McpLoggerService implements LoggerService {
private readonly logger;
private readonly options;
constructor(options?: McpLoggingOptions);
debug(message: string, context?: string): void;
verbose(message: string, context?: string): void;
log(message: string, context?: string): void;
warn(message: string, context?: string): void;
error(message: string, trace?: string, context?: string): void;
isEnabled(): boolean;
getLevel(): string;
private formatContext;
private getLevelValue;
}