UnityMCP is a powerful Unity Editor plugin that implements the Model Context Protocol (MCP), enabling seamless integration between Unity and AI assistants. It provides real-time editor state monitoring, remote command execution, and comprehensive logging capabilities.
The project consists of two main components:
A Unity Editor plugin that provides:
A TypeScript-based MCP server that exposes Unity Editor functionality through standardized tools:
get_editor_state
execute_editor_command
get_logs
To install UnityMCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Arodoid/unitymcp --client claude
UnityMCPPlugin
folder to your Unity project’s Assets directorycd unity-mcp-server
npm install
npm run build
cd unity-mcp-server
node build/index.js
// Center the selected object
Selection.activeGameObject.transform.position = Vector3.zero;
// Toggle play mode
EditorApplication.isPlaying = !EditorApplication.isPlaying;
// Create a new cube
GameObject.CreatePrimitive(PrimitiveType.Cube);
cd unity-mcp-server
npm run build
npm run watch
npm run inspector
The system provides comprehensive error handling for:
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
Restarts Claude Desktop after mcp-server installation
An MCP server for Apache Doris & VeloDB
A Minimum Control Program (MCP) server implementation for web browsing capabilities using BeautifulSoup4
A Model Context Protocol server that provides real-time hot trending topics from major Chinese social platforms and news sites.