anki-mcp-http
Version:
Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards
20 lines • 780 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@nestjs/core");
const app_module_1 = require("./app.module");
const bootstrap_1 = require("./bootstrap");
async function bootstrap() {
const pinoLogger = (0, bootstrap_1.createPinoLogger)(2);
const loggerService = (0, bootstrap_1.createLoggerService)(pinoLogger);
await core_1.NestFactory.createApplicationContext(app_module_1.AppModule.forStdio(), {
logger: loggerService,
bufferLogs: true,
});
pinoLogger.info('MCP STDIO server started successfully');
await new Promise(() => { });
}
bootstrap().catch((err) => {
console.error('Failed to start MCP STDIO server:', err);
process.exit(1);
});
//# sourceMappingURL=main-stdio.js.map
;