Unity-MCP-Vibe
A native C# MCP server that gives AI agents real-time control and visual analysis of the Unity Editor, enabling dynamic code execution, scene manipulation, and debugging without external dependencies.
README
<img width="1024" height="559" alt="image" src="https://github.com/user-attachments/assets/bb47608f-f38d-443d-84c7-e496dbdb85bc" />
Unity MCP Vibe
The World's First Native C# Model Context Protocol Server
<br>
Give your AI Agent eyes, hands, and zero-latency reflexes inside the Unity Editor.
Unity MCP Vibe is not just a bridge; it's a native organ. Unlike Python-based wrappers that introduce lag and complexity, Vibe runs entirely inside Unity's memory space via native C#, enabling real-time control, visual analysis, and hot-reloading capabilities that were previously impossible.
🚀 Quick Start • 📚 Documentation • 🔧 Toolset • 🤝 Contribute
</div>
🌟 Why Vibe? The Native Advantage
Most MCP servers for Unity rely on a slow Python middleman. Unity MCP Vibe eliminates the middleman.
| Feature | 🐍 Python Bridges | ⚡ Unity MCP Vibe |
|---|---|---|
| Architecture | External Process (Socket/HTTP) | Native C# Assembly |
| Latency | High (Process Switching) | Zero (In-Memory) |
| Vision | ❌ Impossible / Limited | ✅ Native GameView Capture |
| Compilation | ❌ Triggers Domain Reload | ✅ Dynamic Hot-Execution |
| Setup | Requires Python/Pip/Venv | ✅ Plug & Play (UPM) |
🧠 State-of-the-Art Modules
We have re-engineered the core tools to support modern Unity workflows (DOTS, UI Toolkit, Input System).
👁️ The Eye (Vision Module)
Multimodal AI starts here. Vibe allows your Agent (Claude, Cursor, etc.) to see your Scene and Game View.
- Context-Aware UI Analysis: Detects buttons, labels, and layout issues in UI Toolkit.
- Visual Debugging: AI captures screenshots to diagnose shader or lighting errors instantly.
⚡ Speed Demon (Dynamic Coding)
No more waiting for progress bars.
- Execute C# logic instantly without triggering a full Domain Reload.
- Perfect for tweaking values, spawning test objects, or mass-renaming assets on the fly.
🛡️ The Guardian (Security)
Enterprise-grade safety for autonomous agents.
- Strict Mode: Requires human approval for every write operation.
- Standard Mode: Auto-approves reads, confirms writes/deletes.
- God Mode: Unrestricted access for fully autonomous loops.
📦 Installation
Option 1: Unity Package Manager (Recommended)
- Open Unity.
- Go to Window > Package Manager.
- Click + > Add package from git URL...
- Paste: https://github.com/jlceaser/Unity-MCP-Vibe.git
Option 2: manifest.json (For Power Users)
Add this line to your Packages/manifest.json:
"com.jlceaser.unity-mcp-vibe": "[https://github.com/jlceaser/Unity-MCP-Vibe.git](https://github.com/jlceaser/Unity-MCP-Vibe.git)"
🚀 Quick Start Guide1. Initialize the ServerGo to System > MCP Control Panel (or press Ctrl+Shift+M).Click Start Server.Status will change to: Listening on http://localhost:8080/sse2. Connect Your AI ClientConfigure your MCP client (Claude Desktop, Cursor, etc.) with the following config:For Claude Desktop (claude_desktop_config.json):JSON{
"mcpServers": {
"unity-vibe": {
"command": "cmd.exe", // or "sh" on Mac/Linux
"args": [
"/c",
"curl -N http://localhost:8080/sse"
]
}
}
}
(Note: Direct SSE support varies by client. Detailed connection guides are in the Wiki.)🛠️ Toolset OverviewUnity MCP Vibe comes with 110+ Production-Ready Tools.<details><summary><strong>🎮 Core & Hierarchy</strong></summary>ToolDescriptionmanage_gameobjectCreate, find, reparent, and destroy objects.inspect_componentRead and write public/private fields via Reflection.query_sceneSemantic search for objects (e.g., "Find all enemies near 0,0,0").</details><details><summary><strong>💻 Code & Compilation</strong></summary>ToolDescriptiondynamic_compile(Exclusive) Compile & run C# snippets in memory.script_architectGenerate robust MonoBehaviours with proper namespaces.refactor_assistantAnalyze script dependencies and suggest cleanups.</details><details><summary><strong>🎨 Graphics & Vision</strong></summary>ToolDescriptionvision_captureCapture Game/Scene view as Base64 for AI analysis.material_labCreate and modify URP/HDRP materials programmatically.light_studioAdjust lighting settings and bake handling.</details><details><summary><strong>🔧 Systems & DevOps</strong></summary>ToolDescriptiongit_controlCommit, push, and branch without leaving Unity.package_wizardInstall/Remove UPM packages via registry or git.log_analyzerRead Console logs and auto-suggest fixes for stack traces.</details>⚙️ ConfigurationLocated in ProjectSettings/MCPVibeSettings.asset or via the Control Panel.Port: Default 8080.Auto-Start: Start server automatically when Unity opens.Security Level:🟢 Standard (Recommended)🔴 Strict⚡ Unrestricted🤝 ContributingUnity MCP Vibe is an open ecosystem. We welcome Pull Requests!Fork the repo.Create your feature branch (git checkout -b feature/amazing-feature).Commit your changes.Push to the branch.Open a Pull Request.📜 Credits & LicenseUnity MCP Vibe is a Cedral Interactive initiative, developed by jlceaser.It stands on the shoulders of giants, integrating concepts from:CoplayDev/unity-mcp (Original Concept)RICoder72/vibe-unity (Vision Tools)Licensed under the MIT License. Use it commercially, modify it, build the future.<div align="center"><sub>Built with ❤️ for the Unity Community</sub></div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。