MCP Unity Editor (Game Engine)
@CoderGamester
关于 MCP Unity Editor (Game Engine)
Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-unity": {
"command": "node",
"args": [
"ABSOLUTE/PATH/TO/mcp-unity/Server/build/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Unity Editor (Game Engine)?
MCP Unity Editor (Game Engine) is an implementation of the Model Context Protocol for the Unity Editor, providing a bridge between Unity and a Node.js server. It enables AI assistants such as Cursor, Windsurf, Claude Code, Copilot, and others to execute operations within the Unity Editor, including scene manipulation, asset management, and package control.
How to use MCP Unity Editor (Game Engine)?
Install the MCP Unity package into your Unity project and run the Node.js server. Once configured, AI agents can call MCP tools like execute_menu_item, update_gameobject, create_prefab, or load_scene by sending natural language prompts through supported IDEs (VSCode, Cursor, Windsurf, etc.). The README provides example prompts for each tool.
Key features of MCP Unity Editor (Game Engine)
- 30+ MCP tools for Unity scene and GameObject manipulation
- IDE integration for Unity package cache access
- MCP resources for querying menus, hierarchy, logs, packages, and assets
- Pre-configured prompts for guided Unity workflows
- Supports play mode control (play, pause, stop, step)
- Batch execution with atomic rollback on failure
Use cases of MCP Unity Editor (Game Engine)
- Creating and positioning GameObjects in a scene via AI prompts
- Building prefabs with scripts and serialized fields from scratch
- Running Unity tests and reviewing console logs through an AI assistant
- Managing Unity packages (add, list) without opening the editor manually
- Automating scene loading, saving, and hierarchy reorganization
FAQ from MCP Unity Editor (Game Engine)
What IDEs does it integrate with?
It supports VSCode, Cursor, Windsurf, Google Antigravity, and other VSCode-like IDEs by adding the Unity Library/PackedCache folder to the workspace for improved code intelligence.
What runtime is required?
A Node.js server is required to bridge Unity and the MCP protocol. The Unity Editor itself is needed for all scene and asset operations.
Can it create GameObjects and components?
Yes. Tools like update_gameobject and update_component can create GameObjects or add components if they don’t exist, and modify their properties.
Where does data live?
All data resides in the local Unity project. The MCP server reads from and writes to the project’s scenes, assets, and package manager—no external storage is used.
Does it support batch operations?
Yes, the batch_execute tool runs multiple operations atomically with optional rollback on failure, reducing round‑trips.
开发工具 分类下的更多 MCP 服务器
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
MCP Framework
QuantGeekDevThe Typescript MCP Framework
评论