The architecture comprises a Unity plugin (UnityMCPPlugin) and an MCP server (unity-mcp-server). The plugin provides a debug window, WebSocket client, and a C# code execution engine. The MCP server, built with TypeScript, exposes Unity Editor functionality through standardized tools. This client-server architecture facilitates communication and interaction between Unity and AI models.
C#
173