mcpforunityserver 8.2.3__py3-none-any.whl → 8.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpforunityserver
3
- Version: 8.2.3
3
+ Version: 8.3.0
4
4
  Summary: MCP for Unity Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP).
5
5
  Author-email: Marcus Sanatan <msanatan@gmail.com>, David Sarno <david.sarno@gmail.com>, Wu Shutong <martinwfire@gmail.com>
6
6
  License-Expression: MIT
@@ -28,7 +28,7 @@ License-File: LICENSE
28
28
  Requires-Dist: httpx>=0.27.2
29
29
  Requires-Dist: fastmcp<2.13.2,>=2.13.0
30
30
  Requires-Dist: mcp>=1.16.0
31
- Requires-Dist: pydantic>=2.12.0
31
+ Requires-Dist: pydantic>=2.12.5
32
32
  Requires-Dist: tomli>=2.3.0
33
33
  Requires-Dist: fastapi>=0.104.0
34
34
  Requires-Dist: uvicorn>=0.35.0
@@ -50,24 +50,20 @@ Model Context Protocol server for Unity Editor integration. Control Unity throug
50
50
 
51
51
  💬 **Join our community:** [Discord Server](https://discord.gg/y4p8KfzrN4)
52
52
 
53
- **Required:** Install the [Unity MCP Plugin](https://github.com/CoplayDev/unity-mcp?tab=readme-ov-file#-step-1-install-the-unity-package) to connect Unity Editor with this MCP server.
53
+ **Required:** Install the [Unity MCP Plugin](https://github.com/CoplayDev/unity-mcp?tab=readme-ov-file#-step-1-install-the-unity-package) to connect Unity Editor with this MCP server. You also need `uvx` (requires [uv](https://docs.astral.sh/uv/)) to run the server.
54
54
 
55
55
  ---
56
56
 
57
57
  ## Installation
58
58
 
59
- ### Option 1: Using uvx (Recommended)
59
+ ### Option 1: PyPI
60
60
 
61
- Run directly from GitHub without installation:
61
+ Install and run directly from PyPI using `uvx`.
62
62
 
63
- ```bash
64
- # HTTP (default)
65
- uvx --from git+https://github.com/CoplayDev/unity-mcp@v8.2.3#subdirectory=Server \
66
- mcp-for-unity --transport http --http-url http://localhost:8080
63
+ **Run Server (HTTP):**
67
64
 
68
- # Stdio
69
- uvx --from git+https://github.com/CoplayDev/unity-mcp@v8.2.3#subdirectory=Server \
70
- mcp-for-unity --transport stdio
65
+ ```bash
66
+ uvx --from mcpforunityserver mcp-for-unity --transport http --http-url http://localhost:8080
71
67
  ```
72
68
 
73
69
  **MCP Client Configuration (HTTP):**
@@ -91,55 +87,29 @@ uvx --from git+https://github.com/CoplayDev/unity-mcp@v8.2.3#subdirectory=Server
91
87
  "command": "uvx",
92
88
  "args": [
93
89
  "--from",
94
- "git+https://github.com/CoplayDev/unity-mcp@v8.2.3#subdirectory=Server",
90
+ "mcpforunityserver",
95
91
  "mcp-for-unity",
96
92
  "--transport",
97
93
  "stdio"
98
- ],
99
- "type": "stdio"
94
+ ]
100
95
  }
101
96
  }
102
97
  }
103
98
  ```
104
99
 
105
- ### Option 2: Using uv (Local Installation)
106
-
107
- For local development or custom installations:
108
-
109
- ```bash
110
- # Clone the repository
111
- git clone https://github.com/CoplayDev/unity-mcp.git
112
- cd unity-mcp/Server
113
-
114
- # Run with uv (HTTP)
115
- uv run server.py --transport http --http-url http://localhost:8080
116
-
117
- # Run with uv (stdio)
118
- uv run server.py --transport stdio
119
- ```
100
+ ### Option 2: From GitHub Source
120
101
 
121
- **MCP Client Configuration (HTTP):**
122
- ```json
123
- {
124
- "mcpServers": {
125
- "UnityMCP": {
126
- "url": "http://localhost:8080/mcp"
127
- }
128
- }
129
- }
130
- ```
102
+ Use this to run the latest released version from the repository. Change the version to `main` to run the latest unreleased changes from the repository.
131
103
 
132
- **MCP Client Configuration (stdio – Windows):**
133
104
  ```json
134
105
  {
135
106
  "mcpServers": {
136
107
  "UnityMCP": {
137
- "command": "uv",
108
+ "command": "uvx",
138
109
  "args": [
139
- "run",
140
- "--directory",
141
- "C:\\path\\to\\unity-mcp\\Server",
142
- "server.py",
110
+ "--from",
111
+ "git+https://github.com/CoplayDev/unity-mcp@v8.3.0#subdirectory=Server",
112
+ "mcp-for-unity",
143
113
  "--transport",
144
114
  "stdio"
145
115
  ]
@@ -148,33 +118,35 @@ uv run server.py --transport stdio
148
118
  }
149
119
  ```
150
120
 
151
- **MCP Client Configuration (stdio – macOS/Linux):**
152
- ```json
153
- {
154
- "mcpServers": {
155
- "UnityMCP": {
156
- "command": "uv",
157
- "args": [
158
- "run",
159
- "--directory",
160
- "/path/to/unity-mcp/Server",
161
- "server.py",
162
- "--transport",
163
- "stdio"
164
- ]
165
- }
166
- }
167
- }
121
+ ### Option 3: Docker
122
+
123
+ **Use Pre-built Image:**
124
+
125
+ ```bash
126
+ docker run -p 8080:8080 msanatan/mcp-for-unity-server:latest --transport http --http-url http://0.0.0.0:8080
168
127
  ```
169
128
 
170
- ### Option 3: Using Docker
129
+ **Build Locally:**
171
130
 
172
131
  ```bash
173
132
  docker build -t unity-mcp-server .
174
133
  docker run -p 8080:8080 unity-mcp-server --transport http --http-url http://0.0.0.0:8080
175
134
  ```
176
135
 
177
- Configure your MCP client with `"url": "http://localhost:8080/mcp"`. For stdio-in-docker (rare), run the container with `--transport stdio` and use the same `command`/`args` pattern as the uv examples, wrapping it in `docker run -i ...` if needed.
136
+ Configure your MCP client with `"url": "http://localhost:8080/mcp"`.
137
+
138
+ ### Option 4: Local Development
139
+
140
+ For contributing or modifying the server code:
141
+
142
+ ```bash
143
+ # Clone the repository
144
+ git clone https://github.com/CoplayDev/unity-mcp.git
145
+ cd unity-mcp/Server
146
+
147
+ # Run with uv
148
+ uv run src/main.py --transport stdio
149
+ ```
178
150
 
179
151
  ---
180
152
 
@@ -5,7 +5,7 @@ core/config.py,sha256=czkTtNji1crQcQbUvmdx4OL7f-RBqkVhj_PtHh-w7rs,1623
5
5
  core/logging_decorator.py,sha256=D9CD7rFvQz-MBG-G4inizQj0Ivr6dfc9RBmTrw7q8mI,1383
6
6
  core/telemetry.py,sha256=eHjYgzd8f7eTwSwF2Kbi8D4TtJIcdaDjKLeo1c-0hVA,19829
7
7
  core/telemetry_decorator.py,sha256=ycSTrzVNCDQHSd-xmIWOpVfKFURPxpiZe_XkOQAGDAo,6705
8
- mcpforunityserver-8.2.3.dist-info/licenses/LICENSE,sha256=bv5lDJZQEqxBgjjc1rkRbkEwpSIHF-8N-1Od0VnEJFw,1066
8
+ mcpforunityserver-8.3.0.dist-info/licenses/LICENSE,sha256=bv5lDJZQEqxBgjjc1rkRbkEwpSIHF-8N-1Od0VnEJFw,1066
9
9
  models/__init__.py,sha256=JlscZkGWE9TRmSoBi99v_LSl8OAFNGmr8463PYkXin4,179
10
10
  models/models.py,sha256=heXuvdBtdats1SGwW8wKFFHM0qR4hA6A7qETn5s9BZ0,1827
11
11
  models/unity_response.py,sha256=oJ1PTsnNc5VBC-9OgM59C0C-R9N-GdmEdmz_yph4GSU,1454
@@ -58,8 +58,8 @@ transport/legacy/stdio_port_registry.py,sha256=j4iARuP6wetppNDG8qKeuvo1bJKcSlgEh
58
58
  transport/legacy/unity_connection.py,sha256=ujUX9WX7Gb-fxQveHts3uiepTPzFq8i7-XG7u5gSPuM,32668
59
59
  utils/module_discovery.py,sha256=My48ofB1BUqxiBoAZAGbEaLQYdsrDhMm8MayBP_bUSQ,2005
60
60
  utils/reload_sentinel.py,sha256=s1xMWhl-r2XwN0OUbiUv_VGUy8TvLtV5bkql-5n2DT0,373
61
- mcpforunityserver-8.2.3.dist-info/METADATA,sha256=OgSQ7AOFOMi03YLWBKxF0jB-96_4RCTcegiXj23njII,6313
62
- mcpforunityserver-8.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
- mcpforunityserver-8.2.3.dist-info/entry_points.txt,sha256=vCtkqw-J9t4pj7JwUZcB54_keVx7DpAR3fYzK6i-s6g,44
64
- mcpforunityserver-8.2.3.dist-info/top_level.txt,sha256=YKU5e5dREMfCnoVpmlsTm9bku7oqnrzSZ9FeTgjoxJw,58
65
- mcpforunityserver-8.2.3.dist-info/RECORD,,
61
+ mcpforunityserver-8.3.0.dist-info/METADATA,sha256=D3tTiaXi3mylMJ6TFcVdAc0w4VMQPc70B2ZroLkNiIY,5720
62
+ mcpforunityserver-8.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
+ mcpforunityserver-8.3.0.dist-info/entry_points.txt,sha256=vCtkqw-J9t4pj7JwUZcB54_keVx7DpAR3fYzK6i-s6g,44
64
+ mcpforunityserver-8.3.0.dist-info/top_level.txt,sha256=YKU5e5dREMfCnoVpmlsTm9bku7oqnrzSZ9FeTgjoxJw,58
65
+ mcpforunityserver-8.3.0.dist-info/RECORD,,