|
| 1 | +{ |
| 2 | + "permissions": { |
| 3 | + "allow": [ |
| 4 | + "Bash(python3 -c \"import uuid; print\\(uuid.uuid4\\(\\).hex[:32]\\)\" 2>/dev/null || python -c \"import uuid; print\\(uuid.uuid4\\(\\).hex[:32]\\)\")", |
| 5 | + "Bash(python -c \"\nimport uuid\nfiles = ['Editor', 'package.json', 'CHANGELOG.md', 'LICENSE.md']\nfor f in files:\n guid = uuid.uuid4\\(\\).hex[:32]\n print\\(f'{f}: {guid}'\\)\n\")", |
| 6 | + "Bash(python -c \"import uuid; print\\(uuid.uuid4\\(\\).hex[:32]\\)\")", |
| 7 | + "Bash(find \"D:/_Personal/Project/unity-mcp/Packages/com.aiacats.unity-mcp\" -name \"*.cs\" -type f | xargs wc -l | sort -rn)", |
| 8 | + "Bash(find \"D:/_Personal/Project/unity-mcp/Packages/com.aiacats.unity-mcp\" -name \"*.cs\" -type f | xargs grep -l \"class\\\\|struct\\\\|interface\" | sort)", |
| 9 | + "Bash(grep -n \"namespace\" \"D:/_Personal/Project/unity-mcp/Packages/com.aiacats.unity-mcp/Editor/\"*.cs)", |
| 10 | + "Bash(cd \"D:/_Personal/Project/unity-mcp/Packages/com.aiacats.unity-mcp\" && rm Editor/Core/MCPUnityServer.cs && rm Editor/Core/MCPUnityServerTest.cs && rm Editor/TestCubeCreator.cs && mv Editor/ClaudeCodeMCPWindow.cs Editor/UI/ && mv Editor/ClaudeCodeMCPStatusBar.cs Editor/UI/ && echo \"Done\")", |
| 11 | + "Bash(cd \"D:/_Personal/Project/unity-mcp/Packages/com.aiacats.unity-mcp\" && rm Editor/Core/MCPUnityServer.cs.meta Editor/Core/MCPUnityServerTest.cs.meta Editor/TestCubeCreator.cs.meta && mv Editor/ClaudeCodeMCPWindow.cs.meta Editor/UI/ && mv Editor/ClaudeCodeMCPStatusBar.cs.meta Editor/UI/ && echo \"Done\")", |
| 12 | + "Bash(python -c \"\nimport uuid\nfiles = [\n 'Editor/UI',\n 'Editor/Core/Handlers',\n 'Editor/Core/MCPHttpServer.cs',\n 'Editor/Core/Handlers/IMCPHandler.cs',\n 'Editor/Core/Handlers/HandlerBase.cs',\n 'Editor/Core/Handlers/GameObjectHandler.cs',\n 'Editor/Core/Handlers/ComponentHandler.cs',\n 'Editor/Core/Handlers/SceneHandler.cs',\n 'Editor/Core/Handlers/CompilationHandler.cs',\n 'Editor/Core/Handlers/ConsoleHandler.cs',\n 'Editor/Core/Handlers/EditorHandler.cs',\n]\nfor f in files:\n guid = uuid.uuid4\\(\\).hex[:32]\n print\\(f'{f}|{guid}'\\)\n\")", |
| 13 | + "Bash(curl -s http://localhost:8090/mcp/ping 2>&1)", |
| 14 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/hot_reload -H \"Content-Type: application/json\" -d '{\"saveAssets\": true, \"optimized\": true}' 2>&1)", |
| 15 | + "Bash(sleep 5 && curl -s -X POST http://localhost:8090/mcp/tools/check_compilation_status -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 16 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/force_compilation -H \"Content-Type: application/json\" -d '{\"forceUpdate\": true}' 2>&1)", |
| 17 | + "Bash(sleep 10 && curl -s -X POST http://localhost:8090/mcp/tools/check_compilation_status -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 18 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/get_compilation_errors -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 19 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/get_console_logs -H \"Content-Type: application/json\" -d '{\"limit\": 20, \"includeStackTrace\": false}' 2>&1)", |
| 20 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/update_gameobject -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\", \"gameObjectData\": {\"name\": \"MCP_TestCube\"}}' 2>&1)", |
| 21 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/get_gameobject_info -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\"}' 2>&1)", |
| 22 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/select_gameobject -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\"}' 2>&1)", |
| 23 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/update_component -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\", \"componentName\": \"Rigidbody\", \"componentData\": {\"mass\": 5.0}}' 2>&1)", |
| 24 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/get_component_properties -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\", \"componentName\": \"Rigidbody\"}' 2>&1)", |
| 25 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/remove_component -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\", \"componentName\": \"Rigidbody\"}' 2>&1)", |
| 26 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/play_mode_control -H \"Content-Type: application/json\" -d '{\"action\": \"status\"}' 2>&1)", |
| 27 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/send_console_log -H \"Content-Type: application/json\" -d '{\"message\": \"Verification test from Claude Code\", \"type\": \"info\"}' 2>&1)", |
| 28 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/find_assets -H \"Content-Type: application/json\" -d '{\"type\": \"Scene\", \"limit\": 5}' 2>&1)", |
| 29 | + "Bash(curl -s -X POST http://localhost:8090/mcp/tools/save_scene -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 30 | + "Bash(curl -s http://localhost:8090/mcp/resources/scenes_hierarchy 2>&1)", |
| 31 | + "Bash(sleep 3 && curl -s http://localhost:8090/mcp/resources/scenes_hierarchy 2>&1)", |
| 32 | + "Bash(curl -s -m 10 http://localhost:8090/mcp/ping 2>&1)", |
| 33 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/resources/scenes_hierarchy -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 34 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/check_compilation_status -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 35 | + "Bash(curl -s -m 15 -X POST http://localhost:8090/mcp/tools/hot_reload -H \"Content-Type: application/json\" -d '{\"saveAssets\": true, \"optimized\": true}' 2>&1)", |
| 36 | + "Bash(sleep 10 && curl -s -m 10 -X POST http://localhost:8090/mcp/tools/get_compilation_errors -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 37 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/save_scene -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 38 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/execute_menu_item -H \"Content-Type: application/json\" -d '{\"menuPath\": \"Window/General/Console\"}' 2>&1)", |
| 39 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/run_tests -H \"Content-Type: application/json\" -d '{\"queryOnly\": true}' 2>&1)", |
| 40 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/delete_gameobject -H \"Content-Type: application/json\" -d '{\"objectPath\": \"MCP_TestCube\"}' 2>&1)", |
| 41 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/screenshot -H \"Content-Type: application/json\" -d '{}' 2>&1)", |
| 42 | + "Bash(curl -s -m 10 -X POST http://localhost:8090/mcp/tools/create_material -H \"Content-Type: application/json\" -d '{\"name\": \"MCP_TestMaterial\", \"shader\": \"Standard\", \"color\": {\"r\": 1, \"g\": 0, \"b\": 0, \"a\": 1}}' 2>&1)", |
| 43 | + "Bash(cd \"D:\\\\_Personal\\\\Project\\\\unity-mcp\" && rm -rf Assets/Screenshots Assets/MCP_TestMaterial.mat Assets/MCP_TestMaterial.mat.meta Assets/Screenshots.meta 2>&1)", |
| 44 | + "Skill(update-config)", |
| 45 | + "Edit(.claude/claudeLog.txt)", |
| 46 | + "Write(.claude/claudeLog.txt)" |
| 47 | + ] |
| 48 | + } |
| 49 | +} |
0 commit comments