[Add] Unity MCP

This commit is contained in:
2026-03-29 01:25:56 +07:00
parent cfe04c18a1
commit 1cff234df1
455 changed files with 50327 additions and 0 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();
}
}
}