Skip to content

Commit 8d0539b

Browse files
committed
docs: update README.md with improved installation paths, documentation, and logo
1 parent 4553641 commit 8d0539b

File tree

1 file changed

+30
-74
lines changed

1 file changed

+30
-74
lines changed

README.md

Lines changed: 30 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MCP for Unity
1+
<img width="676" height="380" alt="MCP for Unity" src="https://github.com/user-attachments/assets/b712e41d-273c-48b2-9041-82bd17ace267" />
22

33
#### Proudly sponsored and maintained by [Coplay](https://www.coplay.dev/?ref=unity-mcp) -- the best AI assistant for Unity. [Read the backstory here.](https://www.coplay.dev/blog/coplay-and-open-source-unity-mcp-join-forces)
44

@@ -15,9 +15,9 @@
1515

1616
MCP for Unity acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via a local **MCP (Model Context Protocol) Client**. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
1717

18-
## 💬 Join Our Community
18+
---
1919

20-
### [Discord](https://discord.gg/y4p8KfzrN4)
20+
### 💬 Join Our [Discord](https://discord.gg/y4p8KfzrN4)
2121

2222
**Get help, share ideas, and collaborate with other MCP for Unity developers!**
2323

@@ -37,7 +37,7 @@ MCP for Unity acts as a bridge, allowing AI assistants (like Claude, Cursor) to
3737

3838
* `read_console`: Gets messages from or clears the console.
3939
* `manage_script`: Manages C# scripts (create, read, update, delete).
40-
* `manage_editor`: Controls and queries the editor\'s state and settings.
40+
* `manage_editor`: Controls and queries the editor's state and settings.
4141
* `manage_scene`: Manages scenes (load, save, create, get hierarchy, etc.).
4242
* `manage_asset`: Performs asset operations (import, create, modify, delete, etc.).
4343
* `manage_shader`: Performs shader CRUD operations (create, read, modify, delete).
@@ -50,21 +50,19 @@ MCP for Unity acts as a bridge, allowing AI assistants (like Claude, Cursor) to
5050

5151
---
5252

53-
## How It Works 🤔
53+
## How It Works
5454

5555
MCP for Unity connects your tools using two components:
5656

5757
1. **MCP for Unity Bridge:** A Unity package running inside the Editor. (Installed via Package Manager).
5858
2. **MCP for Unity Server:** A Python server that runs locally, communicating between the Unity Bridge and your MCP Client. (Installed automatically by the package on first run or via Auto-Setup; manual setup is available as a fallback).
5959

60-
**Flow:** `[Your LLM via MCP Client] <-> [MCP for Unity Server (Python)] <-> [MCP for Unity Bridge (Unity Editor)]`
60+
<img width="562" height="121" alt="image" src="https://github.com/user-attachments/assets/9abf9c66-70d1-4b82-9587-658e0d45dc3e" />
6161

6262
---
6363

6464
## Installation ⚙️
6565

66-
> **Note:** The setup is constantly improving as we update the package. Check back if you randomly start to run into issues.
67-
6866
### Prerequisites
6967

7068
* **Python:** Version 3.12 or newer. [Download Python](https://www.python.org/downloads/)
@@ -74,13 +72,8 @@ MCP for Unity connects your tools using two components:
7472
pip install uv
7573
# Or see: https://docs.astral.sh/uv/getting-started/installation/
7674
```
77-
* **An MCP Client:**
78-
* [Claude Desktop](https://claude.ai/download)
79-
* [Claude Code](https://github.com/anthropics/claude-code)
80-
* [Cursor](https://www.cursor.com/en/downloads)
81-
* [Visual Studio Code Copilot](https://code.visualstudio.com/docs/copilot/overview)
82-
* [Windsurf](https://windsurf.com)
83-
* *(Others may work with manual config)*
75+
* **An MCP Client:** : [Claude Desktop](https://claude.ai/download) | [Claude Code](https://github.com/anthropics/claude-code) | [Cursor](https://www.cursor.com/en/downloads) | [Visual Studio Code Copilot](https://code.visualstudio.com/docs/copilot/overview) | [Windsurf](https://windsurf.com) | Others work with manual config
76+
8477
* <details> <summary><strong>[Optional] Roslyn for Advanced Script Validation</strong></summary>
8578

8679
For **Strict** validation level that catches undefined namespaces, types, and methods:
@@ -102,7 +95,8 @@ MCP for Unity connects your tools using two components:
10295

10396
**Note:** Without Roslyn, script validation falls back to basic structural checks. Roslyn enables full C# compiler diagnostics with precise error reporting.</details>
10497

105-
### 🌟Step 1: Install the Unity Package🌟
98+
---
99+
### 🌟Install the Unity Package🌟
106100

107101
#### To install via Git URL
108102

@@ -118,7 +112,7 @@ MCP for Unity connects your tools using two components:
118112

119113
#### To install via OpenUPM
120114

121-
1. Instal the [OpenUPM CLI](https://openupm.com/docs/getting-started-cli.html)
115+
1. Install the [OpenUPM CLI](https://openupm.com/docs/getting-started-cli.html)
122116
2. Open a terminal (PowerShell, Terminal, etc.) and navigate to your Unity project directory
123117
3. Run `openupm add com.coplaydev.unity-mcp`
124118

@@ -134,7 +128,7 @@ Connect your MCP Client (Claude, Cursor, etc.) to the Python server set up in St
134128
135129
1. In Unity, go to `Window > MCP for Unity`.
136130
2. Click `Auto-Setup`.
137-
3. Look for a green status indicator 🟢 and "Connected ✓". *(This attempts to modify the MCP Client\'s config file automatically).*
131+
3. Look for a green status indicator 🟢 and "Connected ✓". *(This attempts to modify the MCP Client's config file automatically).*
138132

139133
<details><summary><strong>Client-specific troubleshooting</strong></summary>
140134

@@ -147,7 +141,7 @@ Connect your MCP Client (Claude, Cursor, etc.) to the Python server set up in St
147141
148142
If Auto-Setup fails or you use a different client:
149143
150-
1. **Find your MCP Client\'s configuration file.** (Check client documentation).
144+
1. **Find your MCP Client's configuration file.** (Check client documentation).
151145
* *Claude Example (macOS):* `~/Library/Application Support/Claude/claude_desktop_config.json`
152146
* *Claude Example (Windows):* `%APPDATA%\Claude\claude_desktop_config.json`
153147
2. **Edit the file** to add/update the `mcpServers` section, using the *exact* paths from Step 1.
@@ -236,7 +230,7 @@ On Windows, set `command` to the absolute shim, e.g. `C:\\Users\\YOU\\AppData\\L
236230

237231
**For Claude Code**
238232

239-
If you\'re using Claude Code, you can register the MCP server using these commands:
233+
If you're using Claude Code, you can register the MCP server using these commands:
240234
241235
**macOS:**
242236
@@ -261,58 +255,19 @@ claude mcp add UnityMCP -- "C:/Users/USERNAME/AppData/Roaming/Python/Python313/S
261255
262256
3. **Interact!** Unity tools should now be available in your MCP Client.
263257
264-
Example Prompt: `Create a 3D player controller`, `Create a yellow and bridge sun`, `Create a cool shader and apply it on a cube`.
258+
Example Prompt: `Create a 3D player controller`, `Create a tic-tac-toe game in 3D`, `Create a cool shader and apply to a cube`.
265259
266260
---
267261
268-
## Future Dev Plans (Besides PR) 📝
269-
270-
### 🔴 High Priority
271-
272-
- [ ] **Asset Generation Improvements** - Enhanced server request handling and asset pipeline optimization
273-
- [ ] **Code Generation Enhancements** - Improved generated code quality and error handling
274-
- [ ] **Robust Error Handling** - Comprehensive error messages, recovery mechanisms, and graceful degradation
275-
- [ ] **Remote Connection Support** - Enable seamless remote connection between Unity host and MCP server
276-
- [ ] **Documentation Expansion** - Complete tutorials for custom tool creation and API reference
277-
278-
### 🟡 Medium Priority
279-
280-
- [ ] **Custom Tool Creation GUI** - Visual interface for users to create and configure their own MCP tools
281-
- [ ] **Advanced Logging System** - Logging with filtering, export, and debugging capabilities
282-
283-
### 🟢 Low Priority
284-
285-
- [ ] **Mobile Platform Support** - Extended toolset for mobile development workflows and platform-specific features
286-
- [ ] **Easier Tool Setup**
287-
- [ ] **Plugin Marketplace** - Community-driven tool sharing and distribution platform
288-
289-
<details open>
290-
<summary><strong>✅ Completed Features<strong></summary>
291-
292-
- [x] **Shader Generation** - Generate shaders using CGProgram template
293-
- [x] **Advanced Script Validation** - Multi-level validation with semantic analysis, namespace/type checking, and Unity best practices (Will need Roslyn Installed, see [Prerequisite](#prerequisites)).
294-
</details>
262+
## Development & Contributing 🛠️
295263
296-
### 🔬 Research & Exploration
264+
### For Developers
297265
298-
- [ ] **AI-Powered Asset Generation** - Integration with AI tools for automatic 3D models, textures, and animations
299-
- [ ] **Real-time Collaboration** - Live editing sessions between multiple developers *(Currently in progress)*
300-
- [ ] **Analytics Dashboard** - Usage analytics, project insights, and performance metrics
301-
- [ ] **Voice Commands** - Voice-controlled Unity operations for accessibility
302-
- [ ] **AR/VR Tool Integration** - Extended support for immersive development workflows
303-
304-
---
305-
306-
## For Developers 🛠️
307-
308-
### Development Tools
309-
310-
If you\'re contributing to MCP for Unity or want to test core changes, we have development tools to streamline your workflow:
266+
If you're contributing to MCP for Unity or want to test core changes, we have development tools to streamline your workflow:
311267

312268
- **Development Deployment Scripts**: Quickly deploy and test your changes to MCP for Unity Bridge and Python Server
313269
- **Automatic Backup System**: Safe testing with easy rollback capabilities
314270
- **Hot Reload Workflow**: Fast iteration cycle for core development
315-
- **More coming!**
316271

317272
📖 **See [README-DEV.md](README-DEV.md)** for complete development setup and workflow documentation.
318273

@@ -321,15 +276,10 @@ If you\'re contributing to MCP for Unity or want to test core changes, we have d
321276
Help make MCP for Unity better!
322277

323278
1. **Fork** the main repository.
324-
325279
2. **Create a branch** (`feature/your-idea` or `bugfix/your-fix`).
326-
327280
3. **Make changes.**
328-
329281
4. **Commit** (feat: Add cool new feature).
330-
331282
5. **Push** your branch.
332-
333283
6. **Open a Pull Request** against the main branch.
334284

335285
---
@@ -344,12 +294,18 @@ Help make MCP for Unity better!
344294
- Check the status window: Window > MCP for Unity.
345295
- Restart Unity.
346296
- **MCP Client Not Connecting / Server Not Starting:**
347-
- **Verify Server Path:** Double-check the --directory path in your MCP Client\'s JSON config. It must exactly match the location where you cloned the UnityMCP repository in Installation Step 1 (e.g., .../Programs/UnityMCP/UnityMcpServer/src).
348-
- **Verify uv:** Make sure `uv` is installed and working (pip show uv).
349-
- **Run Manually:** Try running the server directly from the terminal to see errors: `# Navigate to the src directory first! cd /path/to/your/UnityMCP/UnityMcpServer/src uv run server.py`
350-
- **Permissions (macOS/Linux):** If you installed the server in a system location like /usr/local/bin, ensure the user running the MCP client has permission to execute uv and access files there. Installing in ~/bin might be easier.
297+
- **Verify Server Path:** Double-check the --directory path in your MCP Client's JSON config. It must exactly match the installation location:
298+
- **Windows:** `%USERPROFILE%\AppData\Local\UnityMCP\UnityMcpServer\src`
299+
- **macOS:** `~/Library/AppSupport/UnityMCP/UnityMcpServer\src`
300+
- **Linux:** `~/.local/share/UnityMCP/UnityMcpServer\src`
301+
- **Verify uv:** Make sure `uv` is installed and working (`uv --version`).
302+
- **Run Manually:** Try running the server directly from the terminal to see errors:
303+
```bash
304+
cd /path/to/your/UnityMCP/UnityMcpServer/src
305+
uv run server.py
306+
```
351307
- **Auto-Configure Failed:**
352-
- Use the Manual Configuration steps. Auto-configure might lack permissions to write to the MCP client\'s config file.
308+
- Use the Manual Configuration steps. Auto-configure might lack permissions to write to the MCP client's config file.
353309

354310
</details>
355311

@@ -373,4 +329,4 @@ MIT License. See [LICENSE](LICENSE) file.
373329
<a href="https://www.coplay.dev/?ref=unity-mcp" target="_blank" rel="noopener noreferrer">
374330
<img src="logo.png" alt="Coplay Logo" width="100%">
375331
</a>
376-
</p>
332+
</p>

0 commit comments

Comments
 (0)