MCP Unity
UnclaimedModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'mcp-unity' -- 'npx' '-y' '@modelcontextprotocol/inspector' 'node' 'Server~/build/index.js'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
33 of 33 tools
Documented tools (33)
From project documentation. A server handshake does not verify each tool’s description or behavior.
add_asset_to_scene
Adds an asset from the AssetDatabase to the Unity scene
add_package
Installs new packages in the Unity Package Manager
assign_material
Assigns a material to a GameObject's Renderer component
batch_execute
Executes multiple tool operations in a single batch request, reducing round-trips and enabling atomic operations with optional rollback on failure
create_material
Creates a new material with specified shader and saves it to the project
create_prefab
Creates a prefab with optional MonoBehaviour script and serialized field values
create_scene
Creates a new scene and saves it to the specified path
delete_gameobject
Deletes a GameObject from the scene
delete_scene
Deletes a scene by path or name and removes it from Build Settings
duplicate_gameobject
Duplicates a GameObject in the scene with optional renaming and reparenting
execute_menu_item
Executes Unity menu items (functions tagged with the MenuItem attribute)
get_console_logs
Retrieves logs from the Unity console with pagination support
get_gameobject
Gets detailed information about a specific GameObject including all components
get_material_info
Gets detailed information about a material including shader and all properties
get_play_mode_status
Gets Unity play mode status (isPlaying, isPaused)
get_scene_info
Gets information about the active scene including name, path, dirty state, and all loaded scenes
load_scene
Loads a scene by path or name, with optional additive loading
modify_material
Modifies properties of an existing material (colors, floats, textures)
move_gameobject
Moves a GameObject to a new position (local or world space)
recompile_scripts
Recompiles all scripts in the Unity project
reparent_gameobject
Changes the parent of a GameObject in the hierarchy
rotate_gameobject
Rotates a GameObject to a new rotation (local or world space, Euler angles or quaternion)
run_tests
Runs tests using the Unity Test Runner
save_scene
Saves the current active scene, with optional Save As to a new path
scale_gameobject
Scales a GameObject to a new local scale
select_gameobject
Selects game objects in the Unity hierarchy by path or instance ID
send_console_log
Send a console log to Unity
set_play_mode_status
Controls Unity play mode with actions: 'play' (start or unpause), 'pause' (toggle pause), 'stop' (exit play mode), 'step' (advance one frame)
set_transform
Sets position, rotation, and scale of a GameObject in a single operation
show_unity_dashboard
Opens the Unity dashboard MCP App in VS Code (requires VS Code 1.109+)
unload_scene
Unloads a scene from the hierarchy (does not delete the scene asset)
update_component
Updates component fields on a GameObject or adds it to the GameObject if it does not contain the component
update_gameobject
Updates a GameObject's core properties (name, tag, layer, active/static state), or creates the GameObject if it does not exist
Tool change history
FAQ
Questions about MCP Unity MCP Server
- How do I connect MCP Unity MCP Server to Claude?
- Run `claude mcp add mcp-unity -- npx -y @modelcontextprotocol/inspector node Server~/build/index.js` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is MCP Unity MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can MCP Unity MCP Server do?
- MCP Unity MCP Server documents 33 tools to the agent, including add_asset_to_scene, add_package, assign_material. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.