unity-mcp/MCPForUnity/Editor/Windows/Components
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
..
Advanced feat: Add beta server mode with PyPI pre-release support (#640) 2026-01-27 11:34:11 -08:00
ClientConfig Remote server auth (#644) 2026-01-30 18:39:21 -04:00
Connection Remote server auth (#644) 2026-01-30 18:39:21 -04:00
Resources Display resources (#658) 2026-01-30 20:31:35 -04:00
Tools feat: improve editor window UI + add transport mismatch warning (#613) 2026-01-22 22:48:03 -08:00
Validation feat: improve editor window UI + add transport mismatch warning (#613) 2026-01-22 22:48:03 -08:00
Advanced.meta feat: improve editor window UI + add transport mismatch warning (#613) 2026-01-22 22:48:03 -08:00
ClientConfig.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Common.uss fix: resolve Unknown pseudo class last-child USS warnings (#624) 2026-01-25 11:45:48 -08:00
Common.uss.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Connection.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Resources.meta Display resources (#658) 2026-01-30 20:31:35 -04:00
Tools.meta [FEATURE] Custom Tool Fix and Add inspection window for all the tools (#414) 2025-12-07 19:38:32 -05:00
Validation.meta feat: improve editor window UI + add transport mismatch warning (#613) 2026-01-22 22:48:03 -08:00