[Add] Unity MCP

This commit is contained in:
2026-02-27 03:43:41 +07:00
parent 9557633ff3
commit 15608d4994
457 changed files with 50433 additions and 55 deletions
+21
View File
@@ -0,0 +1,21 @@
using System;
using MCPForUnity.Editor.Constants;
using MCPForUnity.Editor.Services.Transport.Transports;
using UnityEditor;
namespace MCPForUnity.Editor
{
public static class McpCiBoot
{
public static void StartStdioForCi()
{
try
{
EditorPrefs.SetBool(EditorPrefKeys.UseHttpTransport, false);
}
catch { /* ignore */ }
StdioBridgeHost.StartAutoConnect();
}
}
}