unity-mcp/MCPForUnity/Editor/Windows
Marcus Sanatan 61284cc172
Display resources (#658)
* Add resource discovery service and UI for managing MCP resources

* Consolidate duplicate IsBuiltIn logic into StringCaseUtility.IsBuiltInMcpType

* Add resource enable/disable enforcement and improve error response handling

- Block execution of disabled resources in TransportCommandDispatcher with clear error message
- Add parse_resource_response() utility to handle error responses without Pydantic validation failures
- Replace inline response parsing with parse_resource_response() across all resource handlers
- Export parse_resource_response from models/__init__.py for consistent usage

* Block execution of disabled built-in tools in TransportCommandDispatcher with clear error message

Add tool enable/disable enforcement before command execution. Check tool metadata and enabled state, returning error response if tool is disabled. Prevents execution of disabled tools with user-friendly error message.

* Fire warning in the rare chance there are duplicate names

* Handle rare case a resource name is null

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-30 20:31:35 -04:00
..
Components Display resources (#658) 2026-01-30 20:31:35 -04:00
EditorPrefs Remote server auth (#644) 2026-01-30 18:39:21 -04:00
Components.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
EditorPrefs.meta Add EditorPrefs management window for MCP configuration debugging (#491) 2025-12-29 13:30:45 -04:00
MCPForUnityEditorWindow.cs Display resources (#658) 2026-01-30 20:31:35 -04:00
MCPForUnityEditorWindow.cs.meta Add .meta files (#472) 2025-12-19 18:59:19 -04:00
MCPForUnityEditorWindow.uss feat: improve editor window UI + add transport mismatch warning (#613) 2026-01-22 22:48:03 -08:00
MCPForUnityEditorWindow.uss.meta Add .meta files (#472) 2025-12-19 18:59:19 -04:00
MCPForUnityEditorWindow.uxml Display resources (#658) 2026-01-30 20:31:35 -04:00
MCPForUnityEditorWindow.uxml.meta Add .meta files (#472) 2025-12-19 18:59:19 -04:00
MCPSetupWindow.cs Large Cleanup and Refactor + Many new Tests added (#642) 2026-01-29 02:47:36 -08:00
MCPSetupWindow.cs.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
MCPSetupWindow.uss HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
MCPSetupWindow.uss.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
MCPSetupWindow.uxml HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
MCPSetupWindow.uxml.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00