From ca0a1fbac4bb514116a3a5d1d4f4a7a1c4b59403 Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Wed, 23 Jul 2025 18:16:34 +0200 Subject: [PATCH] IJ-CR-170140 [mcpServer] Disable promotion notification to enable MCP server + don't suggest to autoconfigure new found clients GitOrigin-RevId: ef34527c8929378f26e732d373477f48d5c7cf8a --- plugins/mcp-server/resources/META-INF/plugin.xml | 2 +- .../intellij/mcpserver/impl/McpClientDetectionActivity.kt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/mcp-server/resources/META-INF/plugin.xml b/plugins/mcp-server/resources/META-INF/plugin.xml index bc056d39f847..a3f87caf2efc 100644 --- a/plugins/mcp-server/resources/META-INF/plugin.xml +++ b/plugins/mcp-server/resources/META-INF/plugin.xml @@ -43,7 +43,7 @@ - diff --git a/plugins/mcp-server/src/com/intellij/mcpserver/impl/McpClientDetectionActivity.kt b/plugins/mcp-server/src/com/intellij/mcpserver/impl/McpClientDetectionActivity.kt index 75c7b43997c7..6024103f2df4 100644 --- a/plugins/mcp-server/src/com/intellij/mcpserver/impl/McpClientDetectionActivity.kt +++ b/plugins/mcp-server/src/com/intellij/mcpserver/impl/McpClientDetectionActivity.kt @@ -29,13 +29,14 @@ internal class McpClientDetectionSettings : SimplePersistentStateComponent() - val detectedClients = McpClientDetector.detectMcpClients(project) if (McpServerSettings.getInstance().state.enableMcpServer) { showUnconfiguredNotificationIfNeeded(detectedClients, project) - suggestToChangePortIfNeeded(detectedClients, project) return }