MCP.so
登录

Unity MCP ✨

@justinpbarnett

关于 Unity MCP ✨

Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

基本信息

分类

其他

许可证

MIT

运行时

c#

传输方式

stdio

发布者

justinpbarnett

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Unity MCP ✨?

Unity MCP ✨ bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with the Unity Editor via Model Context Protocol. It gives large language models the tools to manage assets, control scenes, edit C# scripts, run tests, and automate game development workflows.

How to use Unity MCP ✨?

Requires Unity 2021.3 LTS to 6.x and Python 3.10+ (via uv). Install the Unity package from the Package Manager using the git URL or via OpenUPM, then open Window → MCP for Unity → Configure All Detected Clients. Once configured, prompt any MCP‑compatible client (e.g., "Create a cube at the origin and add a Rigidbody") and the result appears in the Editor.

Key features of Unity MCP ✨

  • 47 focused MCP tool entry points, any client, free & MIT.
  • Manage assets, control scenes, edit C# scripts, run tests, profile, and build.
  • Works with Claude, Codex, VS Code, Windsurf, Cline, Gemini CLI, and more.
  • Supports multiple Unity instances with multi-instance routing.
  • Tool groups for VFX, animation, UI, testing, and others.
  • Roslyn script validation for safe code changes.

Use cases of Unity MCP ✨

  • Create and modify Unity scenes entirely through natural language prompts.
  • Edit and refactor C# scripts using an AI assistant in real time.
  • Automate routine asset management, build configurations, and testing.
  • Rapidly prototype gameplay logic without leaving the chat interface.
  • Run unit tests and profiling directly from an AI conversation.

FAQ from Unity MCP ✨

What Unity versions are supported?

Unity 2021.3 LTS through Unity 6.x.

Which AI clients can I use with Unity MCP ✨?

Any MCP client: Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more.

Is Unity MCP ✨ free to use?

Yes, it is available under the MIT open‑source license.

How do I install Unity MCP ✨?

Add the package via Unity Package Manager from the git URL https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main or via OpenUPM with openupm add com.coplaydev.unity-mcp. Then run the configuration window.

Does Unity MCP ✨ support multiple Unity instances?

Yes, through the Multi‑Instance Routing guide detailed in the project’s wiki.

评论

其他 分类下的更多 MCP 服务器