Loop4UnityMCPServer
Verified Safeby Signal-Loop
Overview
Provides a Model Context Protocol (MCP) server for Unity Editor, enabling AI assistants to execute C# code for scene manipulation, asset management, and configuration within Unity.
Installation
uv run --directory "/path/to/Assets/Plugins/Loop4UnityMcpServer/Editor/STDIO~" loop-mcp-stdio --host localhost --port 21088Security Notes
The server is designed to allow AI clients to execute arbitrary C# code in the Unity Editor, granting significant power over the project and potentially the local system. While the Python bridge itself uses safe JSON deserialization and defaults to localhost for TCP communication, the inherent power of executing C# makes it a high-privilege system. The provided source code for the server and bridge does not show obvious vulnerabilities like direct `eval` on untrusted external data, hardcoded secrets, or obfuscation. Running this server requires a high degree of trust in the MCP client connecting to it.