From 862ad9d122c3b2c1d44aa65b8cea8738475dd25c Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 28 Oct 2025 19:44:07 -0400 Subject: [PATCH] fix: update command names per plugin guidelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove 'MCP Server' prefix from command display names to comply with Obsidian plugin guidelines. Command IDs remain unchanged for API stability. - Start MCP Server → Start server - Stop MCP Server → Stop server - Restart MCP Server → Restart server --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 8d9bc10..eaeb2bc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,7 +51,7 @@ export default class MCPServerPlugin extends Plugin { // Register commands this.addCommand({ id: 'start-mcp-server', - name: 'Start MCP Server', + name: 'Start server', callback: async () => { await this.startServer(); } @@ -59,7 +59,7 @@ export default class MCPServerPlugin extends Plugin { this.addCommand({ id: 'stop-mcp-server', - name: 'Stop MCP Server', + name: 'Stop server', callback: async () => { await this.stopServer(); } @@ -67,7 +67,7 @@ export default class MCPServerPlugin extends Plugin { this.addCommand({ id: 'restart-mcp-server', - name: 'Restart MCP Server', + name: 'Restart server', callback: async () => { await this.stopServer(); await this.startServer(); @@ -76,7 +76,7 @@ export default class MCPServerPlugin extends Plugin { this.addCommand({ id: 'view-notification-history', - name: 'View MCP Notification History', + name: 'View notification history', callback: () => { this.showNotificationHistory(); }