MCPServers
Unity Editor - MCP server logo

Unity Editor

0
0

Summary

UnityMCP enables seamless integration between Unity Editor and AI assistants through the Model Context Protocol. It consists of a C# Unity plugin that monitors editor state and executes commands, paired with a TypeScript MCP server that exposes Unity functionality through standardized tools. The implementation provides real-time access to scene hierarchies, project structures, and GameObject manipulation, allowing AI assistants to retrieve editor state, execute C# code directly in the editor, and access Unity logs. This makes it particularly valuable for AI-assisted game development workflows, automated testing, and interactive debugging sessions.

Available Actions(3)

get_editor_state

Retrieves current Unity Editor state, including active GameObjects, selection state, play mode status, scene hierarchy, and project structure. Supports different output formats (Raw, scripts only, no scripts).

execute_editor_command

Executes C# code directly in the Unity Editor with full access to UnityEngine and UnityEditor APIs. Provides real-time execution with comprehensive error handling and command timeout protection.

get_logs

Retrieves and filters Unity Editor logs. Supports filtering by type, content, and timestamp, with customizable output fields and buffer management for optimal performance.

Last Updated: April 17, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签