WriteToConfig: only include type="stdio" for VSCode; omit for other clients
parent
a52ce7a219
commit
b09a86f5fb
|
|
@ -944,8 +944,11 @@ namespace UnityMcpBridge.Editor.Windows
|
|||
{
|
||||
command = uvPath,
|
||||
args = new[] { "--directory", pythonDir, "run", "server.py" },
|
||||
type = "stdio",
|
||||
};
|
||||
if (mcpClient?.mcpType == McpTypes.VSCode)
|
||||
{
|
||||
unityMCPConfig.type = "stdio";
|
||||
}
|
||||
|
||||
JsonSerializerSettings jsonSettings = new() { Formatting = Formatting.Indented };
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue