unity-mcp-for-server

sinkect/unity-mcp-for-server

3.1

If you are the rightful owner of unity-mcp-for-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Unity Editor is a server setup for integrating Model Context Protocol with Unity, utilizing Node.js for server operations.

The MCP Unity Editor is designed to facilitate the integration of Model Context Protocol (MCP) with the Unity platform. It leverages Node.js to run a server that can be controlled and debugged through the Unity Editor or command line. This setup allows developers to create and manage server-side logic for Unity applications, enhancing the capabilities of Unity projects with advanced context management and communication protocols. The server can be started and debugged directly from the Unity Editor, providing a seamless development experience. Additionally, the server supports WebSocket connections, ensuring real-time communication between the Unity client and the server. The setup process involves installing Node.js, configuring the MCP settings, and running the server either through the Unity Editor or command line.

Features

  • Integration with Unity Editor for seamless server management.
  • Support for WebSocket connections for real-time communication.
  • Node.js based server for efficient and scalable operations.
  • Debugging capabilities directly from Unity Editor.
  • Customizable server settings through configuration files.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "mcp-unity": {
      "command": "node",
      "args": [
        "ABSOLUTE/PATH/TO/Server/build/index.js"
      ],
      "env": {
        "UNITY_HOST": "YOUR_IP_ADDRESS",
        "UNITY_PORT": "YOUR_PORT"
      }
    }
  }
}