You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ MCP for Unity connects your tools using two components:
102
102
**Note:** Without Roslyn, script validation falls back to basic structural checks. Roslyn enables full C# compiler diagnostics with precise error reporting.</details>
103
103
104
104
---
105
-
### Step 1: 🌟Install the Unity Package🌟
105
+
### 🌟 Step 1: Install the Unity Package
106
106
107
107
#### To install via Git URL
108
108
@@ -124,7 +124,7 @@ MCP for Unity connects your tools using two components:
124
124
125
125
**Note:** If you installed the MCP Server before Coplay's maintenance, you will need to uninstall the old package before re-installing the new one.
126
126
127
-
### 🛠️ Step 2: Configure Your MCP Client 🛠️
127
+
### 🛠️ Step 2: Configure Your MCP Client
128
128
Connect your MCP Client (Claude, Cursor, etc.) to the Python server set up in Step 1 (auto) or via Manual Configuration (below).
@@ -154,6 +154,23 @@ If Auto-Setup fails or you use a different client:
154
154
<details>
155
155
<summary><strong>Click for Client-Specific JSON Configuration Snippets...</strong></summary>
156
156
157
+
---
158
+
**Claude Code**
159
+
160
+
If you're using Claude Code, you can register the MCP server using the below commands:
161
+
🚨**make sure to run these from your Unity project's home directory**🚨
162
+
163
+
**macOS:**
164
+
165
+
```bash
166
+
claude mcp add UnityMCP -- uv --directory /Users/USERNAME/Library/AppSupport/UnityMCP/UnityMcpServer/src run server.py
167
+
```
168
+
169
+
**Windows:**
170
+
171
+
```bash
172
+
claude mcp add UnityMCP -- "C:/Users/USERNAME/AppData/Local/Microsoft/WinGet/Links/uv.exe" --directory "C:/Users/USERNAME/AppData/Local/UnityMCP/UnityMcpServer/src" run server.py
173
+
```
157
174
**VSCode (all OS)**
158
175
159
176
```json
@@ -233,21 +250,7 @@ On Windows, set `command` to the absolute shim, e.g. `C:\\Users\\YOU\\AppData\\L
233
250
234
251
(Replace YOUR_USERNAME)
235
252
236
-
**For Claude Code**
237
253
238
-
If you're using Claude Code, you can register the MCP server using these commands:
239
-
240
-
**macOS:**
241
-
242
-
```bash
243
-
claude mcp add UnityMCP -- uv --directory /Users/USERNAME/Library/AppSupport/UnityMCP/UnityMcpServer/src run server.py
244
-
```
245
-
246
-
**Windows:**
247
-
248
-
```bash
249
-
claude mcp add UnityMCP -- "C:/Users/USERNAME/AppData/Local/Microsoft/WinGet/Links/uv.exe" --directory "C:/Users/USERNAME/AppData/Local/UnityMCP/UnityMcpServer/src" run server.py
0 commit comments