-
Notifications
You must be signed in to change notification settings - Fork 456
Description
✅ Working Tools:
- manage_scene: All actions work correctly (get_active, get_build_settings)
- manage_editor: All actions work correctly (get_state, get_project_root)
- manage_script: Read action works correctly
- manage_menu_item: List action works correctly
- manage_prefabs: Valid actions work correctly
❌ Parameter Type Issues Found:
-
manage_gameobject:
Boolean parameters like find_all and search_inactive are being passed as strings instead of booleans
The tool expects search_term for tag searches, not just tag -
manage_asset:
Integer parameters like page_size are being passed as strings instead of integers -
read_console:
Integer parameters like count are being passed as strings instead of integers
🔧 Root Cause:
The issue appears to be in the MCP tool parameter validation - the tools are receiving string values when they expect boolean or integer types. This suggests there might be a parameter serialization/deserialization issue in the MCP bridge.
📋 Next Steps:
The parameter type issues need to be fixed in the MCP tool implementations to properly handle string-to-type conversion.
@msanatan, current main
fails most of the pytest suite after the type refactoring (likely because tests need to be updated). I already have a fix for the parameter issue in manage_gameobject, but I can't tell if I'm undoing some of what you did to improve the typing. Let me know and I can push a PR to fix these things and you can see if it's the right direction.