# UniCortex MCP server

> Allows AI agents to control the Unity Editor externally through tools for scene manipulation, GameObject management, and editor automation.

- Repository: https://github.com/VeyronSakai/UniCortex
- Page: https://hostedmcp.org/servers/veyronsakai/unicortex
- Transport: —
- Stars: 1
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `UNICORTEX_CLI_PROJECT` | no | no |  |
| `UNICORTEX_PROJECT_PATH` | no | no |  |
| `UNICORTEX_URL` | no | no |  |

## Tools (85)

- `ping_editor`
- `enter_play_mode`
- `exit_play_mode`
- `get_editor_status`
- `pause_editor`
- `unpause_editor`
- `step_editor`
- `reload_domain`
- `undo`
- `redo`
- `save`
- `get_active_platform`
- `switch_platform`
- `get_editor_dialogs`
- `click_editor_dialog_button`
- `create_scene`
- `open_scene`
- `get_hierarchy`
- `find_game_objects`
- `create_game_object`
- `delete_game_object`
- `modify_game_object`
- `duplicate_game_object`
- `add_component`
- `remove_component`
- `get_component_properties`
- `set_component_property`
- `create_scriptable_object`
- `get_scriptable_object_properties`
- `set_scriptable_object_property`
- `create_animation_clip`
- `get_animation_curves`
- `set_animation_curve`
- `remove_animation_curve`
- `create_prefab`
- `instantiate_prefab`
- `open_prefab`
- `close_prefab`
- `refresh_asset_database`
- `select_project_window_asset`
- `get_console_logs`
- `clear_console_logs`
- `run_tests`
- `execute_menu_item`
- `focus_scene_view`
- `capture_scene_view`
- `focus_game_view`
- `capture_game_view`
- `get_game_view_size`
- `get_game_view_size_list`
- `set_game_view_size`
- `add_game_view_size`
- `get_game_view_scale`
- `set_game_view_scale`
- `get_play_mode_view_type`
- `set_play_mode_view_type`
- `get_simulator_device_list`
- `set_simulator_device`
- `get_screen_safe_area`
- `get_all_recorders`
- `add_movie_recorder`
- `remove_movie_recorder`
- `start_movie_recorder`
- `stop_movie_recorder`
- `press_key`
- `type_text`
- `click_mouse`
- `drag_mouse`
- `move_mouse`
- `get_ui_pointer_targets`
- `create_timeline`
- `get_timeline_tracks`
- `get_timeline_track_properties`
- `get_timeline_clip_properties`
- `add_timeline_track`
- `remove_timeline_track`
- `bind_timeline_track`
- `add_timeline_clip`
- `remove_timeline_clip`
- `modify_timeline_clip`
- `set_timeline_clip_property`
- `set_timeline_track_property`
- `play_timeline`
- `stop_timeline`
- `evaluate_timeline`

## FAQ

### How do I install UniCortex in my Unity project?

You can add it via the Unity Package Manager using the specific Git URL provided in the documentation.

### Can the MCP server interact with Unity even when a modal dialog is open?

Yes, the tools use OS window APIs to read dialogs, allowing them to function even when the Editor is blocked by a modal window.

### Does UniCortex support macOS and Windows?

Yes, the dialog interaction tools support both macOS and Windows, though macOS users may need to grant accessibility permissions.
