From b160c9d37b4bf0764877f056ce96560cd12ec42e Mon Sep 17 00:00:00 2001 From: Bill Date: Sat, 25 Oct 2025 20:30:20 -0400 Subject: [PATCH] Set notification manager --- src/main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.ts b/src/main.ts index 872fc79..7451535 100644 --- a/src/main.ts +++ b/src/main.ts @@ -91,6 +91,10 @@ export default class MCPServerPlugin extends Plugin { try { this.mcpServer = new MCPServer(this.app, this.settings); + // Set notification manager if notifications are enabled + if (this.notificationManager) { + this.mcpServer.setNotificationManager(this.notificationManager); + } await this.mcpServer.start(); new Notice(`MCP Server started on port ${this.settings.port}`); this.updateStatusBar();