unity-mcp
Verified Safeby usmanbutt-dev
Overview
Enables AI agents to query, inspect, and control the Unity Editor through the Model Context Protocol (MCP).
Installation
node path/to/Packages/com.community.unity-mcp/Bridge/mcp-bridge.jsEnvironment Variables
- UNITY_MCP_PORT
- UNITY_MCP_HOST
Security Notes
The MCP server runs locally within the Unity Editor and the Node.js bridge connects to it via localhost (127.0.0.1:3000 by default). This design significantly limits external attack surfaces as no direct external network access is permitted. The Node.js bridge itself is simple, primarily acting as a stdio-to-HTTP proxy, and does not contain 'eval' or obvious malicious patterns. The primary security consideration is the power granted to the AI agent to modify the Unity Editor, which is its explicit purpose, and should be used with caution within controlled environments.
Similar Servers
unity-mcp
Enables AI assistants (LLMs) to control and automate tasks within the Unity Game Engine Editor through the Model Context Protocol (MCP).
cocos-mcp-server
Enables AI assistants to interact with the Cocos Creator editor through a Model Context Protocol (MCP) server, providing control over scene, node, component, asset, and project operations.
Unreal_mcp
High-performance bridge and automation server for Unreal Engine, enabling programmatic control, data processing, and asset authoring through a WebSocket API and optional WebAssembly acceleration.
UnityNaturalMCP
Integrates Unity Editor with Model Context Protocol (MCP) clients like AI coding assistants, enabling direct execution of Unity C# tools from these clients.