Unity-MCP: extern benannten Server in headless-Allowlist zulassen
Ergänzt mcp__UnityMCP__* neben mcp__unity__* in der --allowed-tools-Liste (innerhalb von hasUnityMcp), damit ein unter dem Namen "UnityMCP" statt "unity" laufender MCP-Server im headless -p-Pfad nicht still abgelehnt wird. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
418a22d18d
commit
1032cd5c63
1 file changed
+1
@@ -348,6 +348,7 @@ public class ClaudeCliService
|
|||||||
if (hasUnityMcp)
|
if (hasUnityMcp)
|
||||||
{
|
{
|
||||||
tools.Add("mcp__unity__*");
|
tools.Add("mcp__unity__*");
|
||||||
|
tools.Add("mcp__UnityMCP__*");
|
||||||
}
|
}
|
||||||
args.Add("--allowed-tools");
|
args.Add("--allowed-tools");
|
||||||
args.Add(tools.Count > 0 ? string.Join(" ", tools) : "\"\"");
|
args.Add(tools.Count > 0 ? string.Join(" ", tools) : "\"\"");
|
||||||
|
|||||||
Reference in new issue
Block a user