File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Unity-MCP-Plugin/Assets/root/Editor/Scripts/UI Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,13 @@ public static void LaunchMcpInspector()
8181 }
8282
8383 // Run command in a terminal window: npx @modelcontextprotocol/inspector http://localhost:8080 --transport http
84- var arguments = $ "-y @modelcontextprotocol/inspector { UnityMcpPlugin . Host } --transport http";
85- Debug . Log ( $ "Launching MCP Inspector with command: npx { arguments } ") ;
84+ var npxArgs = $ "-y @modelcontextprotocol/inspector { UnityMcpPlugin . Host } --transport http";
85+ Debug . Log ( $ "Launching MCP Inspector with command: npx { npxArgs } ") ;
8686
8787 var processInfo = new System . Diagnostics . ProcessStartInfo
8888 {
8989 FileName = "npx" ,
90- Arguments = arguments ,
91- RedirectStandardOutput = false ,
92- RedirectStandardError = false ,
90+ Arguments = npxArgs ,
9391 UseShellExecute = true ,
9492 CreateNoWindow = false ,
9593 } ;
You can’t perform that action at this time.
0 commit comments