跳过主要内容
UNI
MCP免费

MCP for Unity (CoplayDev)

A bridge between AI assistants and the Unity Editor: manage assets, control scenes, edit scripts and automate tasks.

GitHub 星数
15,255
(GitHub 星数,统计于 2026-10-21)
许可证
MIT
最近提交
2026/10/19
作者
CoplayDev
下载 ZIP

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Unity Package Manager → Add from git URL
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main

Pin a tag such as #v10.0.0 for reproducible installs, or use: openupm add com.coplaydev.unity-mcp

Connect your agent (inside Unity)
Window → MCP for Unity → Configure All Detected Clients

命令照搬项目 README。在本机运行前,请先看一眼仓库。

包含内容

  • Editor tools for assets, scenes, scripts and automation
  • Tool groups for VFX, animation, UI and testing
  • Multi-instance routing and an optional remote server with auth
  • Roslyn script validation

适合

  • Unity projects where you want the agent to act inside the open Editor
  • Teams already using Cursor, Claude or VS Code

不适合

  • Unity versions older than 2021.3 LTS

试试这条提示词

提示词
Create a cube at the origin and add a Rigidbody.

概述

MCP for Unity is the most widely used Unity MCP server on GitHub. It runs a local server that connects your MCP client to the open Unity Editor, so the agent can create objects, change components, edit C# scripts and run Editor automation, instead of only editing files on disk.

Setup has three steps: add the package from the git URL, let the Configure All Detected Clients window write the MCP config for the agents it finds, then send a prompt.

Compared with other Unity options

环境要求

  • Unity 2021.3 LTS to 6.x
  • Python 3.10+ via uv
  • Any MCP client

常见问题

相似 skills