UnityCodeMCPServer
未认领Unity Code MCP Server is a powerful tool for the Unity Editor that gives AI Agents ability to perform any action using Unity Editor API. This includes scripts, scenes, prefabs, assets, configuration changes, and more.
更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
8 个工具中显示 8 个
文档中列出的工具 (8)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
enter_play_mode
Enter Unity Play Mode, pause time and return immediately after triggering the transition. Intended to be used before gameplay automation tools.
execute_csharp_script_in_unity_editor
Perform any task by executing generated C# scripts in Unity Editor context. Full access to UnityEngine, UnityEditor APIs, and reflection. Automatically captures logs, errors, and return values.
exit_play_mode
Exit Unity Play Mode, unpause time, and return immediately after triggering the transition.
get_unity_game_view_window_screenshot
Capture the current Unity Game View as an image without routing screenshot capture through gameplay input calls.
get_unity_info
Returns information about the current Unity Editor project and the UnityCodeMcpServer settings.
play_unity_game
Temporarily unpause time, simulate configured Input System actions, collect logs, and pause again when finished.
read_unity_console_logs
Read Unity Editor Console logs with configurable entry limits (1-1000, default 200)
run_unity_tests
Run Unity tests via TestRunnerApi. Supports EditMode, PlayMode, or both. Can run all tests or filter by fully qualified test names.