Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNITY_PROJECT_PATHYesAbsolute path to your Unity project root

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

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).

list_scripts_by_assembly

List C# script paths that belong to a given assembly (by name or asmdef path).

list_asmdef_references

List assembly names that reference the given assembly (reverse dependencies).

list_scripts

List all C# scripts under Assets. Optionally filter by folder prefix (e.g. Scripts).

find_scripts_by_content

Find C# scripts that contain a type or pattern (e.g. MonoBehaviour, ScriptableObject, or custom). Optionally filter by namespace.

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.

get_scene_components_by_type

Get GameObjects in a scene that have a given component type (e.g. Camera, Light).

get_scene_objects_by_tag

Get GameObjects in a scene that have a given tag (e.g. Spawn, Respawn).

get_all_components_by_type

Get all occurrences of a component type across all scenes (scene path + GameObject name).

get_scene_hierarchy_flat

Get a flat list of all GameObjects in a scene (name and layer).

get_lighting_scene_info

Get lighting-related info for a scene: referenced lighting assets and GI workflow mode if present.

list_prefabs

List all .prefab files. Optionally filter by path prefix under Assets.

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).

get_prefab_summary

Get a short summary of a prefab: root name, component count, and component type names.

find_references

Find all assets (scenes, prefabs, materials, etc.) that reference the given asset. Pass asset path (e.g. Assets/Texture.png) or GUID.

get_asset_folder_tree

Get a tree of Assets folder (directories and file names). Useful for understanding project layout.

list_assets_by_extension

List assets by file extension (e.g. .png, .fbx, .mp3). Optionally under a folder.

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).

get_texture_meta

Get texture .meta info (maxTextureSize, width/height, spriteMode, spritePixelsToUnits) for a texture path.

search_project

Combined search: by asset name pattern, script content pattern, and/or referrers of an asset path. Returns assets, scripts, and optionally referrers.

get_meta_for_asset

Read .meta for any asset path (guid and key-value pairs).

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.

list_materials_using_shader

List material paths that use a given shader (pass shader GUID or asset path).

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.

get_animator_transitions

Get state names and transitions (from/to) from an Animator 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_navigation_settings

Get NavMesh/agent settings from ProjectSettings if present.

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 projects from Unity Hub (projects-v1.json). 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.

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.

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).

get_playfab_config

Get PlayFab config (title ID, config paths) from project. No secrets.

list_figma_related_assets

List assets in Figma folder or with figma in path.

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).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rachitkumarrastogi/unity-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server