Skip to content

Commit 9397c46

Browse files
committed
update changelog and server name
1 parent d13692d commit 9397c46

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ All notable changes to "Azure Toolkit for IntelliJ IDEA" will be documented in t
119119
- [3.0.6](#306)
120120

121121
## 3.96.0
122+
- Configure Azure MCP server for GitHub Copilot
122123
- Integrate azd to Azure Explorer
123-
- Fix some known issues.
124+
- Fix some known issues
124125

125126
## 3.95.0
126127
- Update function cdn uri

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-azuremcp/src/main/java/com/microsoft/azure/toolkit/intellij/azuremcp/GithubCopilotMcpInitializer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ private void configureMcpServer(File azMcpExe) throws Exception {
113113
final McpServer azureMcpServer = new McpServer();
114114
azureMcpServer.setCommand(azMcpExe.getAbsolutePath());
115115
azureMcpServer.setArgs(Arrays.asList("server", "start"));
116-
servers.put("Azure MCP Server", azureMcpServer);
116+
if (servers.containsKey("Azure MCP Server")) {
117+
servers.remove("Azure MCP Server");
118+
}
119+
servers.put("Azure MCP Server IntelliJ", azureMcpServer);
117120
Files.writeString(mcpConfigPath, OBJECT_MAPPER.writeValueAsString(mcpConfig));
118121
logTelemetryEvent("azmcp-copilot-initialization-success");
119122
}

0 commit comments

Comments
 (0)