MCP Unity currently provides the following tools:
execute_menu_item: Executes Unity menu items (functions tagged with the MenuItem attribute) select_object: Selects game objects in the Unity hierarchy package_manager: Installs, removes, and updates packages in the Unity Package Manager run_tests: Runs tests using the Unity Test Runner notify_message: Displays messages in the Unity Editor MCP Unity currently provides the following resources:
get_menu_items: Retrieves a list of all available menu items in the Unity Editor to facilitate execute_menu_item tool get_hierarchy: Retrieves a list of all game objects in the Unity hierarchy get_console_logs: Retrieves a list of all logs from the Unity console get_packages: Retrieves information about installed and available packages from the Unity Package Manager get_assets: Retrieves information about assets in the Unity Asset Database
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Executes Unity menu items (functions tagged with the MenuItem attribute). Example prompt: 'Execute the menu item "GameObject/Create Empty" to create a new empty GameObject'
Selects game objects in the Unity hierarchy by path or instance ID. Example prompt: 'Select the Main Camera object in my scene'
Updates a GameObject's core properties (name, tag, layer, active/static state), or creates the GameObject if it does not exist. Example prompt: 'Set the Player object's tag to "Enemy" and make it inactive'
Updates component fields on a GameObject or adds it to the GameObject if it does not contain the component. Example prompt: 'Add a Rigidbody component to the Player object and set its mass to 5'
Installs new packages in the Unity Package Manager. Example prompt: 'Add the TextMeshPro package to my project'
Runs tests using the Unity Test Runner. Example prompt: 'Run all the EditMode tests in my project'
Send a console log to Unity. Example prompt: 'Send a console log to Unity Editor'
Adds an asset from the AssetDatabase to the Unity scene. Example prompt: 'Add the Player prefab from my project to the current scene'
Retrieves a list of all available menu items in the Unity Editor to facilitate `execute_menu_item` tool. Example prompt: 'Show me all available menu items related to GameObject creation'
Retrieves a list of all game objects in the current Unity scene hierarchy. Example prompt: 'Show me the current scenes hierarchy structure'
Retrieves detailed information about a specific GameObject by instance ID or object path in the scene hierarchy, including all GameObject components with its serialized properties and fields. Example prompt: 'Get me detailed information about the Player GameObject'
Retrieves a list of all logs from the Unity console. Example prompt: 'Show me the recent error messages from the Unity console'
Retrieves information about installed and available packages from the Unity Package Manager. Example prompt: 'List all the packages currently installed in my Unity project'
Retrieves information about assets in the Unity Asset Database. Example prompt: 'Find all texture assets in my project'
Retrieves information about tests in the Unity Test Runner. Example prompt: 'List all available tests in my Unity project'