unity-mcp
Verified Safeby mitchchristow
Overview
Enables an AI assistant to directly control and interact with the Unity Editor for game development tasks.
Installation
node gateway/index.jsSecurity Notes
The Node.js gateway acts as a local proxy between the IDE and the Unity Editor. It connects to the Unity Editor's RPC server and WebSocket server, both hardcoded to localhost (127.0.0.1:17890 for HTTP RPC, 127.0.0.1:17891 for WebSocket events). This local-only network interaction significantly reduces external attack surface. No 'eval' or direct execution of arbitrary code from user input is observed in the provided gateway code. Tool inputs are defined via schemas, and parameters are mapped to specific Unity RPC methods, limiting arbitrary command injection on the Node.js side. The primary security considerations would be the robustness and input sanitization of the Unity Editor's internal MCP server implementation (not provided in this source code).
Similar Servers
unity-mcp
Enables AI assistants (LLMs) to interact directly with the Unity Editor to manage assets, control scenes, edit scripts, and automate tasks.
XcodeBuildMCP
A Model Context Protocol (MCP) server that provides Xcode-related tools for integrating AI assistants with Apple development workflows.
Unity-MCP
AI-powered game development and automation within the Unity Editor and runtime environments, connecting Large Language Models (LLMs) to Unity via 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.