unity-mcp

unity-mcp

3.8

If you are the rightful owner of unity-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Unity MCP connects your Unity Editor to LLMs using the Model Context Protocol, enabling AI assistants to interact with Unity for asset management, scene control, script editing, and task automation.

Unity MCP serves as a bridge between AI assistants and the Unity Editor, allowing for seamless interaction through a local MCP Client. This integration empowers AI models to manage assets, control scenes, edit scripts, and automate various tasks within Unity. The system is composed of two main components: the Unity MCP Bridge, a Unity package that runs inside the Editor, and the Unity MCP Server, a Python server that facilitates communication between the Unity Bridge and the MCP Client. This setup allows developers to leverage natural language processing to control Unity tasks, making the development process more efficient and intuitive. The installation process involves setting up the Unity package and configuring the MCP Client to connect to the Python server, with options for auto-configuration or manual setup. Unity MCP is designed to be extensible and compatible with various MCP Clients, enhancing its utility across different development environments.

Features

  • Natural Language Control: Instruct your LLM to perform Unity tasks.
  • Powerful Tools: Manage assets, scenes, materials, scripts, and editor functions.
  • Automation: Automate repetitive Unity workflows.
  • Extensible: Designed to work with various MCP Clients.

Tools

  1. uv 包管理器

    Simplify Python dependency management

  2. Python 3.12 或更高版本

    A must-have environment for running an MCP server

  3. Unity 2020.3 LTS 或更高版本

    Supports Unity versions of URP projects