unity-mcp/UnityMcpBridge/Editor/Helpers
Marcus Sanatan b5e0446348
Allow the LLMs to read menu items, not just execute them (#263)
* Move the current test to a Tools folder

* feat: add env object and disabled flag handling for MCP client configuration

* Format manual config specially for Windsurf and Kiro

* refactor: extract config JSON building logic into dedicated ConfigJsonBuilder class

* refactor: extract unity node population logic into centralized helper method

* refactor: only add env property to config for Windsurf and Kiro clients

If it ain't broke with the other clients, don't fix...

* fix: write UTF-8 without BOM encoding for config files to avoid Windows compatibility issues

* fix: enforce UTF-8 encoding without BOM when writing files to disk

* refactor: replace execute_menu_item with enhanced manage_menu_item tool supporting list/exists/refresh

* Update meta files for older Unity versions

* test: add unit tests for menu item management and execution

* feat: add tips for paths, script compilation, and menu item usage in asset creation strategy

* Use McpLog functionality instead of Unity's Debug

* Add telemetry

* Annotate parameters

More info to LLMs + better validation

* Remove the refresh command

It's only ever useful in the context of listing menu items

* Updated meta files since running in Unity 2021

* Slightly better README

* fix: rename server-version.txt to server_version.txt and update menu item description
2025-09-12 11:19:58 -04:00
..
ConfigJsonBuilder.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
ConfigJsonBuilder.cs.meta Improve Windsurf MCP Config (#231) 2025-08-24 06:57:11 -04:00
ExecPath.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
ExecPath.cs.meta fix: Windows define UNITY_EDITOR_WIN; async stdout/stderr in TryRun and RepairPythonEnvironment; use EnvironmentVariables for PATH; prepend Unix PATH only on macOS/Linux; fix duplicate .meta GUIDs 2025-08-12 11:56:46 -07:00
GameObjectSerializer.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
GameObjectSerializer.cs.meta UnityMCP stability: robust auto-restart on compile/play transitions; stop on domain reload; start/stop locking; per-project sticky ports + brief release wait; Python discovery scans hashed+legacy files and probes; editor window live status refresh. 2025-08-07 15:53:53 -07:00
McpLog.cs feat: installer cleanup, auto-migration, logging normalization 2025-08-23 22:13:47 -07:00
McpLog.cs.meta feat: installer cleanup, auto-migration, logging normalization 2025-08-23 22:13:47 -07:00
PackageDetector.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
PackageDetector.cs.meta Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
PackageInstaller.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
PackageInstaller.cs.meta Add meta for PackageInstaller so Unity includes it in package cache 2025-08-07 19:09:52 -07:00
PortManager.cs Improve Windsurf MCP Config (#231) 2025-08-24 06:57:11 -04:00
PortManager.cs.meta Unity-MCP AutoConnect 2025-07-29 00:17:36 -04:00
Response.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
Response.cs.meta UnityMCP stability: robust auto-restart on compile/play transitions; stop on domain reload; start/stop locking; per-project sticky ports + brief release wait; Python discovery scans hashed+legacy files and probes; editor window live status refresh. 2025-08-07 15:53:53 -07:00
ServerInstaller.cs Add Windows legacy server cleanup for %LOCALAPPDATA%\Programs\UnityMCP\UnityMcpServer (#272) 2025-09-09 10:18:22 -07:00
ServerInstaller.cs.meta UnityMCP stability: robust auto-restart on compile/play transitions; stop on domain reload; start/stop locking; per-project sticky ports + brief release wait; Python discovery scans hashed+legacy files and probes; editor window live status refresh. 2025-08-07 15:53:53 -07:00
ServerPathResolver.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
ServerPathResolver.cs.meta fix: Windows define UNITY_EDITOR_WIN; async stdout/stderr in TryRun and RepairPythonEnvironment; use EnvironmentVariables for PATH; prepend Unix PATH only on macOS/Linux; fix duplicate .meta GUIDs 2025-08-12 11:56:46 -07:00
TelemetryHelper.cs mcp-unity: telemetry fire-and-forget; safer sender reg; defer startup/conn telemetry; writer IO logs; manage_scene tolerant params; test worker wake 2025-09-10 09:24:09 -07:00
TelemetryHelper.cs.meta added optional telemetry 2025-09-04 12:09:34 -04:00
Vector3Helper.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
Vector3Helper.cs.meta UnityMCP stability: robust auto-restart on compile/play transitions; stop on domain reload; start/stop locking; per-project sticky ports + brief release wait; Python discovery scans hashed+legacy files and probes; editor window live status refresh. 2025-08-07 15:53:53 -07:00