mcp-unity

mcp-unity

MCP Unity is a plugin that connects the Unity Editor, enabling AI assistants to interact with Unity projects.

MCPDevOpen sourceUnityMCPAI 辅助
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.8k
Source
mcp-github

Overview

MCP Unity is an implementation of the Model Context Protocol (MCP) for the Unity Editor. It provides a bridge allowing AI agents such as Cursor, Windsurf, and Claude Code to perform actions within the Unity Editor. By adding the Unity project's `Library/PackedCache` folder to the workspace, the plugin enhances code intelligence and auto-completion features, and helps AI coding assistants better understand project dependencies. Additionally, it offers various tools for manipulating and querying Unity scenes and GameObjects.

Capabilities

  • Execute Unity menu items
  • Select game objects in the scene
  • Update game object properties
  • Update component fields
  • Install new packages
  • Run tests

Use cases

Create a new empty game objectSet a game object's tag and make it inactiveAdd a Rigidbody component to a game object and set its massInstall the TextMeshPro package in the project

Setup

Requires: Node.js 环境Unity 编辑器
Please refer to the README file in the GitHub repository for detailed installation steps.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I install MCP Unity?

Please refer to the README file in the GitHub repository for detailed installation steps.

Which IDEs are supported?

Supports IDEs similar to VSCode, such as Visual Studio Code, Cursor, and Windsurf.

Related skills