@iflow-mcp/dsgarage-unimcp4cc
v1.0.0
Published
MCP Bridge for Unity Editor - connects Claude Code to Unity
Downloads
50
Readme
Unity MCP Bridge
MCP Bridge server that connects Claude Code to Unity Editor.
Requirements
- Node.js 18+ (for native fetch API support)
- Unity MCP Server package installed in your Unity project
Quick Setup
Option 1: Automatic Setup (Recommended)
- Open Unity Editor with the MCP Server package installed
- Go to Window > Unity MCP > Setup Claude Code
- Click Generate Configuration
- Restart Claude Code
Option 2: Manual Setup
Install dependencies:
cd Server~/mcp-bridge npm installAdd to your Claude Code configuration (
~/.claude/settings.jsonor.mcp.json):{ "mcpServers": { "unity": { "command": "node", "args": ["/path/to/Server~/mcp-bridge/index.js"], "cwd": "/path/to/your/unity/project" } } }Start Unity Editor and Claude Code
Configuration Files
The bridge reads configuration from:
.unity-mcp-runtime.json- Auto-generated by Unity, contains HTTP port- Environment variables:
UNITY_HTTP_URL- Unity HTTP server URL (default:http://localhost:5051)MCP_VERBOSE- Set totruefor verbose logging
Troubleshooting
Connection Issues
- Ensure Unity Editor is running
- Check Unity Console for MCP Server status
- Verify
.unity-mcp-runtime.jsonexists in your project root - Set
MCP_VERBOSE=truefor detailed logs
Node.js Version
This bridge requires Node.js 18+ for native fetch API support.
Check your version with: node --version
