145 tools across 24 categories connecting Claude, Cursor, and any MCP-compatible AI assistant directly to your Unity editor. Full Undo/Redo. Real-time WebSocket. Production-grade.
Real-time bidirectional communication between AI and Unity editor
The Unity plugin runs a WebSocket server inside the editor. The MCP server connects to it and translates MCP tool calls into editor commands. All mutations go through Unity's Undo system — press Ctrl+Z to revert any AI change.
Three steps to AI-powered Unity development
Import the Unity MCP Pro plugin into your project via Unity Package Manager or copy to Assets.
Navigate to the server directory and build:
cd server && npm install && npm run build
Add the server to your .mcp.json and start using Claude, Cursor, or any MCP client to build your game.
Every tool AI needs to build complete Unity games
get_project_info
get_project_settings
get_asset_tree
search_assets
search_in_files
set_project_setting
get_resource_preview
get_hierarchy
create_scene
open_scene
save_scene
play_scene
stop_scene
add_gameobject
delete_gameobject
rename_gameobject
get_components
update_component
add_component
set_transform
duplicate_gameobject
move_gameobject
select_gameobject
find_gameobjects
list_scripts
read_script
create_script
edit_script
attach_script
get_compilation_errors
get_console_logs
clear_console
refresh_asset_db
execute_menu_item
get_performance_monitors
create_prefab
instantiate_prefab
get_prefab_info
apply_prefab_overrides
revert_prefab_overrides
unpack_prefab
create_material
get_material_properties
set_material_property
assign_material
list_shaders
create_shader
add_collider
setup_rigidbody
get_physics_layers
set_collision_matrix
raycast_test
add_joint
add_light
set_lighting_settings
set_skybox
bake_lighting
add_reflection_probe
create_animation_clip
add_animation_keyframe
get_animation_clip_info
create_animator_controller
add_animator_state
add_animator_transition
set_animator_parameter
create_canvas
add_ui_element
set_rect_transform
set_ui_text
set_ui_image
add_ui_layout
add_audio_source
get_audio_clips
get_audio_mixer_info
set_audio_mixer_param
add_audio_listener
create_particle_system
set_particle_module
get_particle_info
add_particle_sub_emitter
set_particle_renderer
bake_navmesh
add_navmesh_agent
add_navmesh_obstacle
add_offmesh_link
get_navmesh_info
create_terrain
set_terrain_heightmap
add_terrain_layer
set_terrain_trees
get_build_settings
set_build_scenes
build_player
get_scripting_defines
set_scripting_defines
batch_rename
batch_set_layer
batch_set_tag
batch_set_static
batch_add_component
batch_execute
list_packages
add_package
remove_package
search_packages
get_scene_statistics
find_missing_references
find_unused_assets
get_asset_dependencies
get_memory_profile
analyze_scripts
find_script_references
detect_circular_dependencies
get_project_statistics
analyze_scene_complexity
get_play_state
inspect_runtime
call_method
find_objects_of_type
debug_log_inject
simulate_key
simulate_mouse
simulate_axis
get_input_state
simulate_sequence
start_recording
stop_recording
replay_recording
get_editor_screenshot
get_game_screenshot
compare_screenshots
capture_frames
monitor_properties
execute_editor_script
execute_game_script
find_ui_elements
click_button_by_text
wait_for_node
find_nearby_objects
run_tests
run_test_scenario
assert_node_state
assert_screen_text
run_stress_test
get_test_report
What makes Unity MCP Pro the professional choice
Every AI operation goes through Unity's Undo system. Press Ctrl+Z to revert any change, just like manual edits. No fear of AI breaking your project.
Heartbeat monitoring, exponential backoff auto-reconnect, port scanning (6605-6609), and Domain Reload survival. Never loses connection.
Automatically converts strings to Vector3, Color, Quaternion, LayerMask, and other Unity types. AI can set position: "1, 2, 3" naturally.
Create, instantiate, inspect, apply overrides, revert, and unpack Prefabs. The only Unity MCP with full Prefab lifecycle support.
AI can configure build scenes, set scripting defines, switch platforms, and trigger builds. End-to-end from scene creation to final build.
AI reads C# compilation errors with structured error codes and context, enabling self-correction without manual intervention.
Create controllers, add states, set up transitions, and configure parameters. Complete animation state machine management.
Add colliders, configure Rigidbodies, set up collision matrices, perform raycasts, and add joints. AI handles complex physics setups.
Create terrains, sculpt heightmaps, paint texture layers, and place trees. AI can build landscapes from natural language descriptions.
Inspect running games, call methods on live objects, find objects by type, and inject debug logging — all while in Play Mode.
Find missing references, detect unused assets, analyze script dependencies, and profile memory usage. AI-powered project health checks.
Rename, tag, layer, static flag, and add components to multiple GameObjects at once. Ideal for large scene organization.
Simulate keyboard, mouse, and axis input during Play Mode. Record and replay input sequences for automated testing and reproducible demos.
Capture editor and game view screenshots, compare images for visual regression testing, and record frame sequences for analysis.
Run Unity Test Runner tests, execute test scenarios, assert game state and screen text, stress-test performance, and generate test reports — all from AI.
Monitor properties in real-time, execute custom editor and game scripts, find UI elements, click buttons by text, and wait for nodes to appear.
Real workflows enabled by Unity MCP Pro
AI creates the scene, GameObjects, scripts, physics, and prefabs. A playable prototype from a single conversation.
create_sceneadd_gameobjectcreate_scriptattach_scriptadd_collidersetup_rigidbodycreate_prefab
AI generates terrain, paints layers, places trees, adds lights, configures skybox, and bakes lighting.
create_terrainset_terrain_heightmapadd_terrain_layerset_terrain_treesadd_lightset_skyboxbake_lighting
AI reads error logs, inspects scripts, applies fixes, and verifies the project compiles cleanly.
get_compilation_errorsread_scriptedit_scriptget_console_logsrefresh_asset_db
AI creates Canvas, layouts, UI elements, text, images, and attaches interaction scripts.
create_canvasadd_ui_elementset_rect_transformset_ui_textadd_ui_layoutcreate_script
AI creates animation clips, builds the Animator Controller, adds states, transitions, and parameters.
create_animation_clipadd_animation_keyframecreate_animator_controlleradd_animator_stateadd_animator_transitionset_animator_parameter
AI scans the entire project for broken references, unused assets, and provides actionable reports.
find_missing_referencesfind_unused_assetsget_asset_dependenciesget_scene_statisticsget_memory_profile
How Unity MCP Pro compares to free alternatives
| Feature | Unity MCP Pro ($8) | CoplayDev (free) | CoderGamester (free) |
|---|---|---|---|
| Total Tools | 145 | ~20 | ~15 |
| Categories | 24 | ~5 | ~4 |
| Connection | WebSocket + Heartbeat | WebSocket | WebSocket |
| Full Undo/Redo | YES (all operations) | NO | NO |
| Auto-Reconnect | Exp. Backoff | NO | Basic |
| Prefab Workflow | YES (6 tools) | NO | NO |
| Physics Setup | YES (6 tools) | NO | NO |
| Animation/Animator | YES (7 tools) | NO | NO |
| Terrain | YES (4 tools) | NO | NO |
| Build Pipeline | YES (5 tools) | NO | NO |
| Lighting | YES (5 tools) | NO | NO |
| Analysis & Profiling | YES (10 tools) | NO | NO |
| Runtime Debugging | YES (5 tools) | NO | NO |
| Batch Operations | YES (6 tools) | NO | NO |
| Input Simulation | YES (8 tools) | NO | NO |
| Screenshot & Visual | YES (4 tools) | NO | NO |
| Testing & QA | YES (6 tools) | NO | NO |
| Runtime Extended | YES (7 tools) | NO | NO |
| Smart Type Parsing | YES | Limited | NO |
| Error Feedback | YES (structured) | NO | NO |
Unity MCP Pro is an MCP server with 145 tools that connects AI assistants (Claude, Cursor, Windsurf, etc.) to the Unity editor via WebSocket. It allows AI to create scenes, manage GameObjects, edit C# scripts, set up physics, configure lighting, animate, build, simulate input, capture screenshots, run tests, and more — all with full Undo/Redo support.
Install the Unity plugin, build the Node.js MCP server with npm install && npm run build, then add the server to your .mcp.json config file. Claude connects via stdio to the MCP server, which communicates with Unity over WebSocket.
Any MCP-compatible AI client: Claude Code, Claude Desktop, Cursor, VS Code + Cline, Windsurf, and more. The server uses the standard Model Context Protocol.
Unity 2021.3 LTS and later, including Unity 2022, Unity 2023, and Unity 6. The plugin uses standard Editor APIs and is render-pipeline independent (Built-in, URP, HDRP).
Yes. Unity MCP Pro includes tools for GameObjects, physics, lighting, materials, terrain, animation, navigation, particles, and more. AI can set up complete 3D scenes, configure Rigidbodies, bake NavMeshes, and build player executables.
Yes. Cursor supports MCP servers natively. Add Unity MCP Pro to your .mcp.json and Cursor can directly manipulate the Unity editor.
Yes. Every operation goes through Unity's Undo system. Press Ctrl+Z to revert any AI change, just like manual edits. This includes GameObject creation, component modification, script changes, and more.
Free alternatives typically offer 10-20 tools for basic operations. Unity MCP Pro provides 145 tools across 24 categories — including physics, animation, terrain, lighting, build pipeline, input simulation, screenshot, testing, and analysis — with full Undo/Redo and production-grade WebSocket connection.
Yes. Both the Node.js MCP server (TypeScript) and the Unity plugin (C#) source code are included. You can inspect, modify, and extend the tools.
No. Unity MCP Pro is a one-time $8 purchase with lifetime updates. Use it on unlimited projects and machines.
Get running in under 5 minutes
Copy the plugin/ folder into your Unity project, or install via Unity Package Manager using the local path.
cd server npm install npm run build
Add to your .mcp.json:
{
"mcpServers": {
"unity-mcp-pro": {
"command": "node",
"args": ["/path/to/server/build/index.js"]
}
}
}
Open Unity, open your AI client, and start building. The plugin auto-connects when Unity launches.