Unity-MCP
by IvanMurzak
Overview
Integrates AI Language Models with the Unity Editor and runtime to automate game development tasks, generate code, debug, and enable AI-driven game mechanics.
Installation
docker run -p 8080:8080 ivanmurzakdev/unity-mcp-serverEnvironment Variables
- MCP_PLUGIN_PORT
- MCP_PLUGIN_CLIENT_TIMEOUT
- MCP_PLUGIN_CLIENT_TRANSPORT
- OPENAI_API_KEY
Security Notes
The server, via the Unity Plugin, exposes a 'script-execute' tool that dynamically compiles and runs C# code using Roslyn. While Roslyn itself is managed, allowing an external AI (potentially controlled by a user) to execute arbitrary C# code within the Unity Editor or a compiled game environment presents a significant security risk. A compromised or maliciously prompted AI could execute harmful code on the system running Unity. There are no clear sandboxing mechanisms mentioned for the dynamically executed code. No hardcoded secrets were found in the provided server-side code snippets; external API keys (like OpenAI's) are expected to be provided via environment variables.
Similar Servers
dev-kit-gh-mcp-server
A GitHub Model Context Protocol (MCP) server designed for automation, bots, and AI agents to perform focused repository operations.
mcp-mineru
Implements or interacts with the Minecraft Protocol, likely for building custom Minecraft servers or client utilities.
filepuff-mcp
A Go-based MCP server enhancing Claude Code's file operations with fast, AST-aware search, LSP integration, and safe editing.
wiki_mcp_server
An MCP (Model Context Protocol) server for integrating Confluence wiki content, allowing AI models to search, retrieve, and list Confluence information.