Unity MCP Server
v1.9.0Unity MCP Server: 156 tools, 47 skills — scenes, prefabs, Addressables, Netcode, AI/ML.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_project_info
Get Unity project info: path, Unity version, build scene count, player/product name.
list_build_scenes
List scenes in EditorBuildSettings (build order) as JSON.
read_agent_docs
Read .agents/AGENT.md and optionally REPO_UNDERSTANDING.md.
| Parameter | Type | Description |
|---|---|---|
include_repo_understanding | boolean | If true, also return REPO_UNDERSTANDING.md |
get_player_settings
Get Player/ProjectSettings (product name, company, bundle ID, version, etc.).
list_packages
List Unity packages from Packages/manifest.json (and optional packages-lock.json).
get_quality_settings
Get QualitySettings (quality levels) from ProjectSettings.
get_scripting_defines
Get global and per-assembly scripting define symbols.
list_assemblies
List assembly definitions (.asmdef) with path, name, references, platforms.
get_assembly_for_path
Get the assembly (asmdef name and path) that contains the given asset path (script or folder).
| Parameter | Type | Description |
|---|---|---|
asset_path * | string | e.g. Assets/Scripts/Player.cs or Assets/Scripts |
list_scripts_by_assembly
List C# script paths that belong to a given assembly (by name or asmdef path).
| Parameter | Type | Description |
|---|---|---|
assembly_name_or_path * | string | Assembly name e.g. Assembly-CSharp or path to .asmdef |
list_asmdef_references
List assembly names that reference the given assembly (reverse dependencies).
| Parameter | Type | Description |
|---|---|---|
assembly_name * | string | Assembly name e.g. MyGame.Runtime |
list_scripts
List all C# scripts under Assets. Optionally filter by folder prefix (e.g. Scripts).
| Parameter | Type | Description |
|---|---|---|
folder | string | Optional folder under Assets, e.g. Scripts/Runtime |
find_scripts_by_content
Find C# scripts that contain a type or pattern (e.g. MonoBehaviour, ScriptableObject, or custom). Optionally filter by namespace.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Pattern to search for, e.g. MonoBehaviour or a type name |
namespace_filter | string | Optional namespace pattern, e.g. Game.* |
list_all_scenes
List all .unity scene files under Assets (not only build-indexed).
get_scene_summary
Get a short summary of a scene: root GameObject names and approximate component count.
| Parameter | Type | Description |
|---|---|---|
scene_path * | string | Path relative to project, e.g. Assets/Scenes/Main.unity |
get_scene_components_by_type
Get GameObjects in a scene that have a given component type (e.g. Camera, Light).
| Parameter | Type | Description |
|---|---|---|
component_type * | string | e.g. Camera, Light, Rigidbody |
scene_path * | string | e.g. Assets/Scenes/Main.unity |
get_scene_objects_by_tag
Get GameObjects in a scene that have a given tag (e.g. Spawn, Respawn).
| Parameter | Type | Description |
|---|---|---|
scene_path * | string | e.g. Assets/Scenes/Main.unity |
tag_name * | string | Tag name, e.g. Spawn |
get_all_components_by_type
Get all occurrences of a component type across all scenes (scene path + GameObject name).
| Parameter | Type | Description |
|---|---|---|
component_type * | string | e.g. Camera, Light |
get_scene_hierarchy_flat
Get a flat list of all GameObjects in a scene (name and layer).
| Parameter | Type | Description |
|---|---|---|
scene_path * | string | e.g. Assets/Scenes/Main.unity |
get_lighting_scene_info
Get lighting-related info for a scene: referenced lighting assets and GI workflow mode if present.
| Parameter | Type | Description |
|---|---|---|
scene_path * | string | e.g. Assets/Scenes/Main.unity |
list_prefabs
List all .prefab files. Optionally filter by path prefix under Assets.
| Parameter | Type | Description |
|---|---|---|
path_prefix | string | e.g. Prefabs/Characters |
list_prefab_variants
List prefabs that are variants of another prefab.
list_prefabs_with_component
List prefabs that contain a given component type (e.g. Animator, Rigidbody).
| Parameter | Type | Description |
|---|---|---|
component_type * | string | e.g. Animator, Rigidbody |
get_prefab_summary
Get a short summary of a prefab: root name, component count, and component type names.
| Parameter | Type | Description |
|---|---|---|
prefab_path * | string | e.g. Assets/Prefabs/Player.prefab |
find_references
Find all assets (scenes, prefabs, materials, etc.) that reference the given asset. Pass asset path (e.g. Assets/Texture.png) or GUID.
| Parameter | Type | Description |
|---|---|---|
asset_path_or_guid * | string | Asset path relative to project (e.g. Assets/My.asset) or 32-char GUID |
get_asset_folder_tree
Get a tree of Assets folder (directories and file names). Useful for understanding project layout.
| Parameter | Type | Description |
|---|---|---|
max_depth | number | Max folder depth, default 4 |
list_assets_by_extension
List assets by file extension (e.g. .png, .fbx, .mp3). Optionally under a folder.
| Parameter | Type | Description |
|---|---|---|
extension * | string | e.g. .png, .fbx, .mp3 |
folder | string | Optional folder under Assets |
list_video_clips
List video clip assets (.mp4, .mov, .webm, .avi, .asf).
list_legacy_font_assets
List legacy font assets (.fontsettings, .ttf, .otf) — not TMP.
list_render_textures
List RenderTexture (.renderTexture) assets.
list_terrain_data
List TerrainData and TerrainLayer .asset files.
list_lighting_settings_assets
List lighting-related .asset files (LightingSettings, lightmap, etc.).
search_assets_by_name
Search Assets (and optionally Packages) by file or folder name pattern (e.g. Player, *Menu*).
| Parameter | Type | Description |
|---|---|---|
name_pattern * | string | Pattern to match; use * as wildcard |
include_packages | boolean | If true, also search Packages |
get_texture_meta
Get texture .meta info (maxTextureSize, width/height, spriteMode, spritePixelsToUnits) for a texture path.
| Parameter | Type | Description |
|---|---|---|
texture_path * | string | e.g. Assets/Textures/Icon.png |
search_project
Combined search: by asset name pattern, script content pattern, and/or referrers of an asset path. Returns assets, scripts, and optionally referrers.
| Parameter | Type | Description |
|---|---|---|
include_packages | boolean | |
name_pattern | string | e.g. Player or *Menu* |
referrer_of_path | string | Asset path; returns assets that reference it |
script_pattern | string | e.g. MonoBehaviour or GameManager |
get_meta_for_asset
Read .meta for any asset path (guid and key-value pairs).
| Parameter | Type | Description |
|---|---|---|
asset_path * | string | e.g. Assets/Models/Character.fbx |
get_broken_asset_refs
List prefabs, scenes, materials with any missing GUID reference (not only scripts).
list_scriptable_objects
List .asset files that are ScriptableObject instances (data assets).
list_materials
List .mat materials; optionally under a folder. Includes shader GUID when readable.
| Parameter | Type | Description |
|---|---|---|
folder | string |
list_materials_using_shader
List material paths that use a given shader (pass shader GUID or asset path).
| Parameter | Type | Description |
|---|---|---|
shader_guid_or_path * | string | 32-char shader GUID or path e.g. Assets/Shaders/My.shader |
list_shaders
List all .shader files in Assets and Packages.
list_animator_controllers
List all Animator Controller (.controller) assets.
list_animation_clips
List all Animation Clip (.anim) assets.
get_animator_states
Get state names from an Animator Controller (.controller) file.
| Parameter | Type | Description |
|---|---|---|
controller_path * | string | e.g. Assets/Animations/Player.controller |
get_animator_transitions
Get state names and transitions (from/to) from an Animator Controller.
| Parameter | Type | Description |
|---|---|---|
controller_path * | string | e.g. Assets/Animations/Player.controller |
list_avatar_masks
List Avatar Mask (.mask) assets used by Animator.
list_animator_override_controllers
List AnimatorOverrideController .controller assets.
list_audio_clips
List audio clip files (.wav, .mp3, .ogg, .aiff) under Assets.
list_audio_mixers
List Audio Mixer (.mixer) assets.
get_addressables_info
Get Addressables groups and config path if the project uses Addressables.
get_localization_tables
List localization table files under Assets/Localization if present.
get_input_axes
Get input axes from InputManager (name, descriptive name, positive button).
get_tags_and_layers
Get Tags and Layers from TagManager.
list_test_assemblies
List assembly definitions that look like test assemblies (path contains test/editor).
get_repo_docs
Read README, CONTRIBUTING, .cursorrules, CODING_STANDARDS, STYLE if present at project root.
get_project_version
Get project/bundle version from PlayerSettings.
get_changelog
Read CHANGELOG.md or CHANGELOG if present.
get_physics_settings
Get Physics/DynamicsManager or Physics2D settings (key-value).
get_audio_settings
Get AudioManager.asset (global volume, reverb, DSP buffer).
get_xr_settings
Get XR/VR project settings (XRSettings.asset).
get_script_execution_order
Get script execution order (MonoManager: script GUID and order).
get_version_control_settings
Get Unity version control settings (serialization mode, visible meta files).
get_layer_collision_matrix
Get layer collision matrix and layer names from TagManager/DynamicsManager.
get_cloud_services_config
Get Unity Cloud / Unity Connect config if present.
get_package_dependency_graph
Get package dependency graph (nodes and edges from manifest + lock).
list_package_samples
List Samples folders or sample paths under Packages.
list_unity_hub_projects
List Unity Hub projects (basenames only by default; set UNITY_MCP_ALLOW_HUB_PATHS=1 for full paths). Does not require UNITY_PROJECT_PATH.
list_render_pipelines
List render pipeline assets and volume profiles (URP/HDRP).
list_timeline_playables
List Timeline .playable assets.
list_sprite_atlases
List Sprite Atlas (.spriteatlas) assets.
list_tilemap_assets
List tilemap-related .asset files.
list_sprite_assets
List textures configured as sprites (spriteMode in .meta).
list_shader_graphs
List Shader Graph (.shadergraph) assets.
list_vfx_graphs
List VFX Graph (.vfx) assets.
list_tmp_fonts
List TMP/font-related assets.
get_tmp_settings_path
Get path to TMP Settings asset if present.
list_ui_documents
List UI Toolkit .uxml and .uss files.
list_input_action_assets
List New Input System .inputactions assets.
get_input_actions_summary
Get action maps and actions from an .inputactions file.
| Parameter | Type | Description |
|---|---|---|
path * | string | e.g. Assets/Input/Player.inputactions |
list_presets
List .preset assets.
list_editor_scripts
List C# scripts in Editor folders or with Editor in path.
get_prefab_script_guids
Get script GUIDs (MonoBehaviour) referenced by a prefab.
| Parameter | Type | Description |
|---|---|---|
prefab_path * | string | e.g. Assets/Prefabs/Player.prefab |
get_assembly_dependency_graph
Get assembly definition dependency graph (nodes and edges).
list_ci_configs
List CI config files (.github/workflows, Jenkinsfile, unity-cloud-build).
list_large_assets
List assets over a size threshold (default 5 MB).
| Parameter | Type | Description |
|---|---|---|
min_size_mb | number |
get_playfab_config
Get PlayFab config (title ID, config paths) from project. No secrets.
get_firebase_config
Get Firebase config (GoogleServices path, project ID). No secrets.
get_steam_config
Get Steam config (steam_appid.txt, Steamworks path).
get_discord_config
Detect Discord SDK path in Plugins.
get_fmod_config
Get FMOD config (banks path, bank files).
get_wwise_config
Get Wwise config (sound banks, project paths).
list_substance_assets
List Substance .sbsar and .sbs assets.
list_speedtree_assets
List SpeedTree .spm and .stm assets.
list_lottie_assets
List Lottie-related JSON assets.
get_analytics_or_crash_config
Detect analytics/crash reporting services (Unity, Sentry, Crashlytics, BugSnag).
get_ads_config
Detect ad SDK presence (Unity Ads, AdMob, ironSource).
get_git_lfs_tracked
Get Git LFS patterns from .gitattributes.
get_plastic_config
Get Plastic SCM config (.plastic, workspace name).
get_graphics_settings
Get Graphics settings (ProjectSettings/GraphicsSettings.asset).
get_time_settings
Get Time/Fixed timestep settings (TimeManager.asset).
list_subscenes
List ECS/DOTS .subscene assets.
list_visual_scripting_assets
List Visual Scripting (Bolt/Unity) .asset files in Ludiq or com.unity.visualscripting.
get_script_public_api
Parse a C# script and return class name, base type, public methods and fields (no Unity required).
| Parameter | Type | Description |
|---|---|---|
script_path * | string | e.g. Assets/Scripts/PlayerController.cs |
get_build_target_info
Get active build target / platform from ProjectSettings.
get_feature_set_inference
Infer which Unity 6 feature sets (2D, ECS, AR, etc.) are used from package manifest.
get_project_stats
One-shot project stats: script count, prefabs, scenes, materials, animations, assemblies, packages.
get_scene_referenced_assets
List asset paths referenced by a scene (GUIDs resolved). Helps build size and impact.
| Parameter | Type | Description |
|---|---|---|
scene_path * | string | e.g. Assets/Scenes/Main.unity |
detect_assembly_cycles
Detect circular references in assembly definitions. Speeds up fixing compile errors.
find_script_references
Find C# files that reference a type/class name. Speeds up refactoring.
| Parameter | Type | Description |
|---|---|---|
type_or_class_name * | string | e.g. GameManager or MonoBehaviour |
get_broken_script_refs
List prefabs/scenes that reference a script GUID with no .cs in project (missing script refs).
get_prefab_dependencies
List asset paths referenced by a prefab. Helps impact analysis.
| Parameter | Type | Description |
|---|---|---|
prefab_path * | string | e.g. Assets/Prefabs/Player.prefab |
get_release_readiness
One-shot release readiness: version, build scene count, packages, broken refs, assembly cycles, large assets.
get_build_size_estimate
Estimate build size: aggregate assets referenced by all build scenes, total size and largest assets.
| Parameter | Type | Description |
|---|---|---|
top_n | number | Number of largest assets to return, default 20 |
search_tools
Find the most relevant tools by intent. Pass a query (e.g. find references, missing script, texture) to get matching tools with descriptions. Omit query to list all tools by category.
| Parameter | Type | Description |
|---|---|---|
query | string | Optional search term to filter tools by name or description |
get_multiplayer_stack
Detect Netcode / multiplayer packages and NetworkBehaviour-style scripts (NGO, Relay, Lobby, Mirror, Photon, …).
list_build_profiles
List Unity 6 Build Profile assets (plus whether classic EditorBuildSettings exists).
get_physics_stack
Physics packages (Unity Physics, Physics Core 2D), module hints, and Rigidbody/physics script hits.
get_optimization_package_inventory
Adaptive Performance and Project Auditor packages, scaler assets, and script usage.
get_ugs_cloud_stack
Unity Gaming Services / Cloud Code / Auth / Economy package and script inventory.
get_accessibility_stack
Accessibility module/package presence and AccessibilityNode / AssistiveSupport script hits.
list_cinemachine_assets
Cinemachine package + virtual camera assets/prefabs under Assets.
get_platform_build_hints
PlayerSettings snippets for Android/WebGL/etc., build target, and related packages (Unity 6 platform pass).
get_render_pipeline_migration_hints
Infer BIRP vs URP/HDRP and flag Built-in RP deprecation / migration risk (Unity 6.5+).
get_localization_stack
Localization package + Locale/StringTable assets (broader than get_localization_tables).
get_ai_ml_package_inventory
List Unity AI/ML packages in manifest (ML-Agents, Sentis, Barracuda, AI Navigation, Muse, Unity AI).
list_ml_model_assets
List ML model files under Assets (.onnx, .nn, .pt, .tflite, .pb).
list_ai_prompt_or_config_assets
Heuristic scan for JSON/MD assets that look like prompts, RAG, or LLM config under Assets.
list_ml_agents_training_configs
Find ML-Agents trainer YAML configs in project root and common folders.
get_ai_stack_summary
One-shot AI stack summary: packages, model files, script hits, ML-Agents configs. Set include_prompt_assets for prompt-like JSON/MD scan.
| Parameter | Type | Description |
|---|---|---|
include_prompt_assets | boolean | Also scan for prompt/RAG-like assets |
list_ai_skills
List bundled workflow skills by Unity domain (scenes, prefabs, assets, project, code, ai-ml, performance, …).
read_ai_skill
Read a bundled skill by id from list_ai_skills (e.g. unity-scenes-workflow, unity-runtime-performance).
| Parameter | Type | Description |
|---|---|---|
skill_id * | string | Skill folder id, e.g. unity-scenes-workflow or unity-ml-agents |
list_test_result_files
Find Unity Test Runner XML results (NUnit/JUnit) in the project. No Editor required.
get_test_results_summary
Summarize Test Runner XML: totals passed/failed/skipped per file with failing test names.
| Parameter | Type | Description |
|---|---|---|
max_files | number | Max result files to parse, default 10 |
get_editor_log_errors
Tail the local Unity Editor.log for compile/runtime/test/build errors. Machine-local only, never uploads.
| Parameter | Type | Description |
|---|---|---|
max_errors | number | Max errors to return, default 50 |
max_lines | number | Log tail lines to scan, default 600 |
list_build_reports
List saved build reports (BuildReport JSON/text, build logs) in the project.
get_build_report_summary
Summarize a build report: size, scenes, errors/warnings. Defaults to newest report.
| Parameter | Type | Description |
|---|---|---|
report_path | string | Report path from list_build_reports; omit for newest |
top_n | number | Max entries per list, default 20 |
get_unity_ai_stack
Unity AI platform audit: Muse/Assistant/Inference packages, AI-related ProjectSettings, hints.
list_building_blocks
Unity 6.3 LTS Building Blocks: packages + sample assets with production-ready gameplay components.
list_inference_models
On-device model assets: .onnx/.nn/.sentis/.pt/.tflite/.pb + .bytes with model markers.
get_llm_runtime_inventory
In-game LLM patterns: HTTP calls, SSE/streaming, WebSockets, API-key handling, chat memory, retry. No secrets read.
get_addressables_duplicates
Addressables duplicate check: asset GUIDs in multiple groups + optional profile path notes.
| Parameter | Type | Description |
|---|---|---|
include_profiles | boolean | Also report custom build/load profile paths |
get_shader_variant_risk
Shader variant risk: multi_compile/shader_feature counts, top shaders by material usage, keyword stats.
get_input_conflicts
New Input System conflict scan: duplicate bindings inside the same action map.
get_xr_origin_validation
XR scene validation: rig/origin/interaction-manager/teleport markers per scene.
scan_netcode_rpc
Netcode RPC scan: ServerRpc/ClientRpc/NetworkVariable markers, unreliable delivery, ownership hints.
| Parameter | Type | Description |
|---|---|---|
max_files | number | Max scripts to scan, default 400 |
get_lod_occlusion_coverage
LOD/Occlusion coverage: scenes with LODGroup/occlusion markers for perf triage.
get_texture_import_heaviness
Texture import audit: 2048+ caps, Read/Write enabled, missing mipmaps, Crunch usage.
| Parameter | Type | Description |
|---|---|---|
top_n | number | Heaviest textures to return, default 20 |
get_audio_loudness_risk
Audio mix risk: PCM vs Vorbis balance, streaming vs compressed-in-memory, music-length candidates.
get_timeline_balance
Timeline health: playable assets vs bound PlayableDirectors, Signal/Marker coverage.
get_unused_assets_estimate
Unused-asset estimate: assets not referenced by build scenes (confirm via find_references; never auto-delete).
| Parameter | Type | Description |
|---|---|---|
top_n | number | Unused samples to return, default 30 |
get_bridge_status
Live Editor bridge status: enabled only when UNITY_MCP_BRIDGE_URL/PORT points at 127.0.0.1. Default disabled.
bridge_live_fetch
Fetch live Editor state via the opt-in localhost bridge (e.g. /hierarchy, /console, /screenshot). Refused when bridge disabled.
| Parameter | Type | Description |
|---|---|---|
path * | string | Bridge path, e.g. /hierarchy or /console?limit=50 |