Unity MCP 工具模板 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Unity MCP 工具模板 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Unity MCP 工具模板 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/IvanMurzak/Unity-AI-Tools-Template
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"unity-mcp-----": {
"command": "npx",
"args": ["-y", "unity-ai-tools-template"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Unity MCP 工具模板 执行以下任务... Claude: [自动调用 Unity MCP 工具模板 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"unity_mcp_____": {
"command": "npx",
"args": ["-y", "unity-ai-tools-template"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<img width="100%" alt="Stats" src="https://github.com/IvanMurzak/Unity-AI-Tools-Template/raw/main/docs/img/ai-template-glitch.gif"/>
Template for AI MCP Tools for AI Game Developer (Unity-MCP). Use this template to create your custom MCP tools for Unity Engine in 30 minutes. Read more about custom MCP tools here.
This template repository is designed to be easily updated into a real Unity package. Please follow the instruction bellow, it will help you to go through the entire process of package creation, distribution and installing.
To enable automatic testing and deployment:
1. Configure GitHub Secrets Go to Settings > Secrets and variables > Actions > New repository secret and add: - UNITY_EMAIL: Your Unity account email. - UNITY_PASSWORD: Your Unity account password. - UNITY_LICENSE: Content of your Unity_lic.ulf file. - Windows: C:/ProgramData/Unity/Unity_lic.ulf - Mac: /Library/Application Support/Unity/Unity_lic.ulf - Linux: ~/.local/share/unity3d/Unity/Unity_lic.ulf
2. Enable Workflows Rename the sample workflow files to enable them: - .github/workflows/release.yml-sample ➡️ .github/workflows/release.yml - .github/workflows/test_pull_request.yml-sample ➡️ .github/workflows/test_pull_request.yml
3. Update Unity Version Open both .yml files and update the UNITY_VERSION (or similar variable) to match your project's Unity Editor version.
4. Automatic Deployment The release workflow triggers automatically when you push to the main branch with an incremented version in package.json.
When your package is distributed, you can install it into any Unity project.
Don't install into the same Unity project, please use another one.
Assets)OpenUPM hosted package) openupm add YOUR_PACKAGE_NAME
Open Unity-Package/Assets/root/package.json and update: - description - author - keywords - unity (minimum supported Unity version)
2. Generate Meta Files To ensure all Unity meta files are correctly generated: - Open Unity Hub. - Add the Installer folder as a project. - Add the Unity-Package folder as a project. - Open both projects in Unity Editor. This will generate the necessary .meta files.
Unity guidelines about organizing files into the package root directory
<root>
├── package.json
├── README.md
├── CHANGELOG.md
├── LICENSE.md
├── Third Party Notices.md
├── Editor
│ ├── [company-name].[package-name].Editor.asmdef
│ └── EditorExample.cs
├── Runtime
│ ├── [company-name].[package-name].asmdef
│ └── RuntimeExample.cs
├── Tests
│ ├── Editor
│ │ ├── [company-name].[package-name].Editor.Tests.asmdef
│ │ └── EditorExampleTest.cs
│ └── Runtime
│ ├── [company-name].[package-name].Tests.asmdef
│ └── RuntimeExampleTest.cs
├── Samples~
│ ├── SampleFolder1
│ ├── SampleFolder2
│ └── ...
└── Documentation~
└── [package-name].md

该项目提供了一个可扩展的框架,帮助开发者快速创建和部署自己的 MCP 工具。它的开源特性使得开发者可以自由地修改和扩展该项目,适应自己的需求。然而,该项目的文档和示例代码可能需要进一步完善。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Unity MCP 工具模板 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | Unity-AI-Tools-Template |
| Topics | aigamedevmcpunityc# |
| GitHub | https://github.com/IvanMurzak/Unity-AI-Tools-Template |
| License | MIT |
| 语言 | C# |
收录时间:2026-05-23 · 更新时间:2026-05-23 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端