MCP for Unity: install and connect Claude Code

Learn to install MCP for Unity through a Git URL, add Python and uv, start the server, and check the connection in Claude Code.

Player not loading? Watch on YouTube

This short tutorial explains how to connect an AI agent to the Unity Editor with CoplayDev's MCP for Unity. The source description links the open-source CoplayDev/unity-mcp repository, and the speaker walks through installing the plugin and checking its connection.

Setup begins in Unity's Package Manager. Choose the option to install a package from a Git URL and paste the repository URL supplied in the description: https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main. The speaker says the MCP setup window should appear and that Python and uv are required. The walkthrough also points to the Window menu's MCP for Unity local setup entry and the Toggle MCP Window option.

In the MCP window, preconfigure the agent, then start the server. Check the connection by asking the agent to verify the Unity MCP connection. For Claude Code, the speaker gives the /mcp command as another way to check. The tutorial ends at connection setup; it does not demonstrate project edits or establish whether the connected model runs locally.