IJPL-245846 adapt MCP server for RD (make stdioMcpServer command work again)

Signed-off-by: Dmitry Batkovich <dmitry.batkovich@jetbrains.com>

GitOrigin-RevId: a8c52ebfe42c457c2b651b03c5f16faa55ceb798
This commit is contained in:
Dmitry Batkovich
2026-06-01 20:33:16 +00:00
committed by intellij-monorepo-bot
parent 3997702ad0
commit 48eabca88d
@@ -8,6 +8,11 @@ import org.jetbrains.intellij.build.OsFamily
internal fun generateStdioMcpRunnerLaunchData(ideContext: BuildContext, os: OsFamily): CustomCommandLaunchData = CustomCommandLaunchData(
commands = listOf("stdioMcpServer"),
vmOptionsFilePath = "${if (os == OsFamily.MACOS) "../bin" else "bin"}/mcp-server.vmoptions",
bootClassPathJarNames = ideContext.bootClassPathJarNames + "../plugins/mcpserver/lib/mcpserver-frontend.jar",
bootClassPathJarNames = ideContext.bootClassPathJarNames + listOf(
"../plugins/mcpserver/lib/mcpserver.jar",
"../plugins/mcpserver/lib/io.modelcontextprotocol.kotlin.sdk.jar",
"../plugins/mcpserver/lib/io.github.oshai.kotlin.logging.jvm.jar",
"../plugins/mcpserver/lib/ktor-server-sse-jvm.jar",
),
mainClass = "com.intellij.mcpserver.stdio.McpStdioRunnerKt",
)