Introduction¶
The design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When developing Unity games, developers typically need to interact with the Unity editor via the command line or scripts. DSH provides a plugin mechanism to extend its capabilities. The dsh-unity-mcp plugin addresses the pain point of connecting DSH to the Unity MCP server by using the unity-ai-relay executable as an intermediary, enabling DSH to invoke Unity’s toolchain directly.
Plugin Overview¶
Maintained by developer ComeCaramelos, this plugin connects DSH to the Unity MCP server. It leverages the unity-ai-relay executable provided by the Unity AI Assistant package and bridges through DeepSeek’s standard MCP client, offering setup options and status cards in the Web GUI.
Core Features¶
- Connect to the Unity MCP server: Establish communication with the Unity editor via
unity-ai-relay. - Tool mapping: Expose tools registered by the Relay as standard
mcp__unity__*tools for DSH to call directly. - Web GUI integration: Provide status cards in the Web interface settings for configuring and monitoring the connection.
- Local launch: The plugin does not perform any downloads; it directly launches the locally installed
unity-ai-relayexecutable.
Installation and Activation¶
Install the plugin using the official CLI tool:
dsh plugin --profile web add @comecaramelos/dsh-unity-mcp
Typical Usage¶
Before using the plugin, ensure the following prerequisites:
1. The Unity AI Assistant package (com.unity.ai.assistant) is installed in the Unity editor.
2. The Unity editor is running.
After installation, configure it as follows:
- Go to the Settings menu.
- Navigate to Plugins -> Plugin configuration -> DSH Unity MCP.
- Configure the Relay executable: Click the “Fetch executables” button to search local paths (including Windows user profiles accessible from the WSL host) and select the correct
unity-ai-relaypath. - Set additional parameters: In the “Extra flags” field, add launch parameters such as
--project-path=/home/roberto/gameor--name=MyProject. - Log control: Choose whether to redirect the Relay output to a log file to reduce console noise, or output directly to the console during debugging.
Use Cases and Notes¶
- Runtime environment: The plugin runs with the privileges of the current DSH process. It is recommended to review the source code and license (MIT) before installation.
- Dependencies: The Unity AI Assistant package is required, and the Unity editor must be running. The Relay is a side-channel to the editor; if the editor is not running, the connection will fail.
- Configuration persistence: Settings are stored in the Web GUI. If the Relay program path is invalid, the plugin will not automatically re-resolve it; you must correct it manually.
Conclusion¶
dsh-unity-mcp provides a standardized bridging solution, enabling developers to call Unity’s MCP tools seamlessly within the DSH environment. By executing locally, it reduces network overhead and leverages the Web GUI for visual configuration management.
- GitHub repository: https://github.com/ComeCaramelos/dsh-unity-mcp
- Community directory: https://www.skillhub.cn/plugins/ComeCaramelos/dsh-unity-mcp