UNPKG

@ankimcp/anki-mcp-server

Version:

Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards

12 lines (11 loc) • 666 B
import { LoggerService } from "@nestjs/common"; import { McpStrategy, type McpTransport } from "@rekog/mcp-nest"; import type { AppConfig } from "./config/index.js"; export declare const LOG_DESTINATION: { readonly STDOUT: 1; readonly STDERR: 2; }; export type LogDestination = (typeof LOG_DESTINATION)[keyof typeof LOG_DESTINATION]; export declare function createPinoLogger(destination: LogDestination, logLevel?: string): import("pino").Logger<never, boolean>; export declare function createLoggerService(pinoLogger: any): LoggerService; export declare function createMcpStrategy(transports: McpTransport[], identity: AppConfig["mcpServer"]): McpStrategy;