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>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.