mcp-unity
If you are the rightful owner of mcp-unity and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP Unity is an implementation of the Model Context Protocol for Unity Editor, allowing AI assistants to interact with Unity projects.
MCP Unity is a bridge between the Unity Editor and a Node.js server implementing the Model Context Protocol (MCP). It enables AI agents like Claude, Windsurf, and Cursor to execute operations within the Unity Editor. This integration allows for enhanced automation and interaction with Unity projects, facilitating tasks such as creating objects, modifying components, and running tests through natural language prompts. MCP Unity is designed to improve productivity and accessibility by allowing users to leverage AI capabilities directly within the Unity environment.
Features
- IDE Integration - Package Cache Access: Automatic integration with VSCode-like IDEs, improving code intelligence and autocompletion for Unity packages.
- MCP Server Tools: Tools for manipulating and querying Unity scenes and GameObjects, such as executing menu items, selecting game objects, and updating components.
- MCP Server Resources: Resources for retrieving information about Unity Editor elements, including menu items, scene hierarchies, and console logs.
- WebSocket Server: Runs a WebSocket server inside Unity, allowing AI assistants to send commands and receive information.
- Extensibility: Ability to define new tools and resources to expose more project-specific or Unity functionalities to AI.
Tools
execute_menu_item
Executes Unity menu items.
select_gameobject
Selects game objects in the Unity hierarchy.
update_gameobject
Updates a GameObject's core properties or creates it if it does not exist.
update_component
Updates component fields on a GameObject or adds it if not present.
add_package
Installs new packages in the Unity Package Manager.