Advanced Unity MCP Integration
JSON →An MCP server for Unity, enabling AI assistants to interact with projects in real-time, access scene data, and execute code.
Install
npx -y @smithery/cli Tools · 16
- get_editor_state Get comprehensive information about the Unity project and editor state
- get_current_scene_info Get detailed information about the current scene
- get_game_objects_info Get information about specific GameObjects in the scene
- execute_editor_command Execute C# code directly in the Unity Editor
- get_logs Retrieve and filter Unity console logs
- verify_connection Check if there's an active connection to Unity Editor
- read_file Read contents of a file in your Unity project
- read_multiple_files Read multiple files at once
- write_file Create or overwrite a file with new content
- edit_file Make targeted edits to existing files with diff preview
- list_directory Get a listing of files and folders in a directory
- directory_tree Get a hierarchical view of directories and files
- search_files Find files matching a search pattern
- get_file_info Get metadata about a specific file or directory
- find_assets_by_type Find all assets of a specific type (e.g. Material, Prefab)
- list_scripts Get a listing of all C# scripts in the project
Environment variables
MCP_WEBSOCKET_PORT
Links
★ 156 GitHub stars