Back to Home
mitchchristow icon

unity-mcp

Verified Safe

by mitchchristow

Overview

Enables an AI assistant to directly control and interact with the Unity Editor for game development tasks.

Installation

Run Command
node gateway/index.js

Security 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

Stats

Interest Score45
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars5
Forks0
Last Update2025-12-07

Tags

UnityMCPAIGame DevelopmentEditor Automation