A Unity MCP server that allows MCP clients like Claude Desktop or Cursor to perform Unity Editor actions.
Overview
What is Unity MCP?
Unity MCP is a Unity package that facilitates communication between Unity and Large Language Models (LLMs) like Claude Desktop through the Model Context Protocol (MCP). It serves as a bridge for developers to automate workflows and control the Unity Editor programmatically.
How to use Unity MCP?
To use Unity MCP, download the package via the Unity package manager and set up a Python server. Configure the MCP server in Unity to connect with tools like Claude Desktop or Cursor, and start sending commands to interact with LLMs.
Key features of Unity MCP?
- Bidirectional communication between Unity and LLMs.
- Asset management for creating and manipulating Unity assets.
- Scene control for managing scenes and objects.
- Material editing capabilities.
- Script integration for viewing and updating Unity scripts.
- Automation of Unity Editor functions.
Use cases of Unity MCP?
- Automating repetitive tasks in Unity projects.
- Enhancing game development workflows with LLMs.
- Programmatically managing assets and scenes in Unity.
FAQ from Unity MCP?
- Can Unity MCP work with any LLM?
Yes, Unity MCP is designed to work with any MCP-compliant LLM, including Claude Desktop.
- Is Unity MCP free to use?
Yes, Unity MCP is an open-source project and is free to use.
- What programming languages are required?
Unity MCP primarily uses C# for Unity and Python for the server-side implementation.