unity-mcp/UnityMcpBridge/UnityMcpServer~/src
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
..
tools Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
Dockerfile Bridge: deferred init, stop-before-reload, breadcrumb logs; stable rebinds. 2025-08-09 15:09:49 -07:00
__init__.py Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
config.py telemetry: use Cloud Run default, reject localhost overrides, add startup diagnostics, and normalize logging 2025-09-10 11:57:43 -07:00
port_discovery.py Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
pyproject.toml chore: bump version to 3.4.0 2025-09-10 20:03:48 +00:00
pyrightconfig.json Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
reload_sentinel.py feat: Automatic Background Compile and Domain Reload for MCP Script Edits and New Script Creation (#248) 2025-09-02 09:36:50 -07:00
server.py Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
server_version.txt Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
telemetry.py telemetry: use Cloud Run default, reject localhost overrides, add startup diagnostics, and normalize logging 2025-09-10 11:57:43 -07:00
telemetry_decorator.py telemetry_decorator: guard record_tool_usage and milestone emits (sync/async) 2025-09-10 09:38:53 -07:00
test_telemetry.py tests green: align SDK outputs + harden inputs\n\n- find_in_file: start/end positions with 1-based exclusive endCol\n- read_resource: metadata-only default + lengthBytes; selection returns text\n- read_console: strip stacktrace when include_stacktrace=false\n- validate_script: summary counts; get_sha: minimal fields\n- silence stdout in test_telemetry helper 2025-09-08 20:14:49 -07:00
unity_connection.py Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
uv.lock feat: Automatic Background Compile and Domain Reload for MCP Script Edits and New Script Creation (#248) 2025-09-02 09:36:50 -07:00