Unity MCP
Drive the Unity Editor from an agent through RQL queries, C# scripts, tests and screenshots
Lets an assistant control the Unity Editor: build scenes, edit C# scripts, manage assets, run tests.
By Coplay Python Developer toolsDesign
60 popularity score ★ 16k
MCP for Unity (CoplayDev) connects MCP clients to the Unity Editor so an assistant can make games in natural language. Its 48 tools create and edit scenes, GameObjects, components, prefabs, materials, cameras, lighting and physics, create and edit C# scripts with validation, manage assets and packages, read the console, run menu items, trigger player builds and run tests.
Optional tool groups cover animation, ProBuilder modelling, UI Toolkit, shaders, textures and VFX, profiling, running arbitrary C# in the Editor, Unity documentation lookup and API reflection, and asset generation (images, audio and 3D models from providers such as fal.ai, OpenRouter, Tripo, Meshy and Sketchfab, plus a bridge to Blender). It supports several Unity instances at once.
It needs Unity 2021.3 LTS to 6.x and Python 3.10+ with uv. Install the package in Unity's Package Manager from the Git URL https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main (or openupm add com.coplaydev.unity-mcp), then use Window, MCP for Unity, Configure All Detected Clients, which sets up the Python server (PyPI package mcpforunityserver) for your MCP clients. It is not affiliated with Unity Technologies.
apply_text_editsbatch_executecreate_scriptdebug_request_contextdelete_scriptexecute_custom_toolexecute_menu_itemfind_gameobjectsfind_in_fileget_shamanage_assetmanage_buildmanage_cameramanage_componentsmanage_editormanage_gameobjectmanage_graphicsmanage_materialmanage_packagesmanage_physicsmanage_prefabsmanage_scenemanage_scriptmanage_script_capabilitiesmanage_toolsread_consolerefresh_unityscript_apply_editsset_active_instancevalidate_scriptmanage_animationblender_bridgegenerate_audiogenerate_imagegenerate_modelimport_modelimport_model_fileunity_docsunity_reflectmanage_probuildermanage_profilerexecute_codemanage_scriptable_objectget_test_jobrun_testsmanage_uimanage_shadermanage_texturemanage_vfx