Cover image
Try Now
2025-04-06

Un paquete de unidad mejorado para comunicarse con un cliente MCP local a través de un servidor de Python, con características extendidas de material, partículas, iluminación, interfaz de usuario y física.

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Unity MCP Package

A Unity package that focuses on enhanced material editing, building upon the original MCP functionality. Currently, only material enhancement is implemented, but the project is under active development with frequent updates. Upcoming features include lighting effects, advanced material properties, physics integration, terrain enhancements, and more. This package enables seamless communication between Unity and Large Language Models (LLMs) via the Model Context Protocol (MCP), acting as a bridge that allows Unity to send commands and receive responses from MCP-compliant tools.

Overview

The Unity MCP Server provides a bidirectional communication channel between Unity (via C#) and a Python server, enabling:

  • Asset Management: Create, import, and manipulate Unity assets programmatically.
  • Scene Control: Manage scenes, objects, and their properties.
  • Enhanced Material Editing: Apply and modify materials with improved lighting and shader support.
  • Script Integration: Create, view, and update C# scripts within Unity.
  • Editor Automation: Control Unity Editor functions like undo, redo, play mode, and build processes.
  • Additional Unity Features: Leverage new experimental functions such as advanced lighting controls and post-processing effects.

This project is perfect for developers who want to leverage LLMs to enhance their Unity projects or automate repetitive tasks.

Installation

To use the Unity MCP Package, ensure you have the following installed:

  • Unity 2020.3 LTS or newer (⚠️ Currently only works in URP projects)
  • Python 3.12 or newer
  • uv package manager

Step 1: Install Python

Download and install Python 3.12 or newer from python.org. Make sure to add Python to your system’s PATH during installation.

Step 2: Install uv

uv is a Python package manager that simplifies dependency management. Install it using the command below based on your operating system:

  • Mac:

    brew install uv
    
  • Windows:

    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    

    Then, add uv to your PATH:

    set Path=%USERPROFILE%\.local\bin;%Path%
    
  • Linux:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    

For alternative installation methods, see the uv installation guide.

Important: Do not proceed without installing uv.

Step 3: Install the Unity Package

  1. Open Unity and go to Window > Package Manager.
  2. Click the + button and select Add package from git URL.
  3. Enter: https://github.com/HuangChILun/reavorse-mcp.git

Once installed, the Unity MCP Package will be available in your Unity project. The server will start automatically when used with an MCP client like Claude Desktop or Cursor.

Features

  • Bidirectional Communication: Seamlessly send and receive data between Unity and LLMs.
  • Asset Management: Import assets, instantiate prefabs, and create new prefabs programmatically.
  • Scene Control: Open, save, and modify scenes, plus create and manipulate game objects.
  • Enhanced Material Editing & Lighting: Improved controls for material properties, advanced lighting, shader integration, and post-processing effects.
  • Script Integration: Create, view, and update C# scripts within Unity.
  • Editor Automation: Automate Unity Editor tasks like building projects or entering play mode.
  • Experimental Features: Additional Unity functionalities are under testing; feedback is appreciated.

Troubleshooting

Encountering issues? Try these fixes:

  • Unity Bridge Not Running
    Ensure the Unity Editor is open and the MCP window is active. Restart Unity if needed.

  • Python Server Not Connected
    Verify that Python and uv are correctly installed and that the Unity MCP package is properly set up.

  • Configuration Issues with Claude Desktop or Cursor
    Ensure your MCP client is configured to communicate with the Unity MCP server.

  • Connection Stuck or No Progress In some special situations where the process seems stuck with no progress, try closing both Claude and the Unity project, then reconnecting to re-establish the connection.

Contact

Have questions about the project? Reach out!

Acknowledgments

Original Author: A huge thank you to justinpbarnett for creating the original Unity MCP Package. This enhanced version builds upon his work.

Special thanks to Unity Technologies for their excellent Editor API and to the community for continuous feedback.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • JackKuo666
  • 🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

    Reviews

    3 (1)
    Avatar
    user_bskYX0tU
    2025-04-17

    Reavorse-mcp is a fantastic tool created by HuangChILun that I highly recommend! This project, available on GitHub, showcases excellent craftsmanship and provides invaluable utility. It's user-friendly and seamlessly integrates into my workflow. A must-try for any MCP application enthusiast!