mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
committed by
intellij-monorepo-bot
parent
3997702ad0
commit
48eabca88d
+6
-1
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user