跳过主要内容
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 和安装步骤以作者文档为准。

安装

告诉你的 AI

Install the skill from https://gameskill.dev/skills/unity-mcp-coplay/install.md

这些 skill 要配合 MCP for Unity (CoplayDev) MCP 服务器使用。只复制 skill 不会安装服务器,请先按下方「完整仓库安装」里作者的步骤装好服务器。

或者手动安装

.claude/skills/
git clone --depth 1 https://github.com/CoplayDev/unity-mcp.git /tmp/gameskill-CoplayDev-unity-mcp
rm -rf /tmp/gameskill-CoplayDev-unity-mcp/.git
mkdir -p .claude/skills
cp -R /tmp/gameskill-CoplayDev-unity-mcp/unity-mcp-skill/ .claude/skills/unity-mcp-skill
cp -R /tmp/gameskill-CoplayDev-unity-mcp/.claude/skills/blender-to-unity/ .claude/skills/blender-to-unity
cp -R /tmp/gameskill-CoplayDev-unity-mcp/.claude/skills/mcp-source/ .claude/skills/mcp-source
rm -rf /tmp/gameskill-CoplayDev-unity-mcp
完整仓库安装
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

常见问题

同赛道 PRO 商业源码$8.25/mo

游戏打磨流程 Game Polish Workflow

让 AI 把游戏真正改好的可复用流程:10 步打磨循环、中英双语提示词、AI 做游戏常见问题排障清单,以及试玩和发布检查表。

  • 10 步打磨循环,每步有完成标准
  • 14 条中文 + 14 条英文提示词

相似 skills