The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Openclaw Unity Plugin
55 MCP tools to drive the Unity Editor from any MCP-compatible AI agent — scenes, GameObjects, prefabs, assets, tests, and builds. OpenClaw gateway included for remote and chat…
Install
git clone https://github.com/TomLeeLive/openclaw-unity-pluginInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🦞 OpenClaw Unity Plugin
TL;DR: Vibe-code your game development remotely from anywhere! 🌍
한줄요약: 이제 집밖에서도 원격으로 바이브코딩으로 게임 개발 가능합니다! 🎮
Connect Unity to OpenClaw AI assistant via HTTP. Works in Editor mode without hitting Play!
⚠️ Disclaimer
This software is in beta. Use at your own risk.
- Always backup your project before using
- Test in a separate project first
- The authors are not responsible for any data loss or project corruption
See LICENSE for full terms.
🔀 Hybrid Architecture
This plugin supports two connection modes - use whichever fits your workflow:
Mode A: OpenClaw Gateway (Remote Access)
Telegram/Discord/Web → OpenClaw Gateway → Unity Plugin
- ✅ Remote access from anywhere
- ✅ Chat integration (Telegram, Discord, etc.)
- ✅ Cron jobs, automation, multi-device
- ⚠️ Requires OpenClaw Gateway running
Mode B: MCP Direct (Local Development)
Claude Code/Desktop → MCP Server → Unity Plugin
- ✅ Direct connection, no middleware
- ✅ Works with Claude Code, Cursor, etc.
- ✅ Lower latency for local development
- ⚠️ Local only (127.0.0.1)
Quick Setup
| Mode | Setup |
|---|---|
| OpenClaw | Install plugin + gateway extension; the gateway's bridge token authenticates the connection |
| MCP | Enable MCP Bridge: Window > OpenClaw > Start MCP Bridge — the panel shows the token file MCP clients read |
🔑 Bridge authentication (v1.7.0)
Both local bridges are authenticated with a per-launch secret. Neither accepts an anonymous caller any more, and neither answers a browser.
Gateway bridge — this add-on is the client. When the OpenClaw gateway loads
the Unity extension it writes a random 32-byte token to
~/.openclaw/unity-bridge.token with mode 0600. This add-on reads it and sends
it as X-OpenClaw-Bridge-Token on POST /unity/register; the gateway answers
with a per-session token that every later request carries as
X-OpenClaw-Session. Each command the gateway queues has a nonce, and this
add-on echoes that nonce with the result, so no other local process can answer in
its place.
MCP bridge — this add-on is the server. When the bridge starts it generates a
per-launch token and writes it to ~/.openclaw/unity-mcp-bridge.token with mode
0600. MCP~/index.js reads that file and sends it as X-OpenClaw-Token. Every
request needs it (401 otherwise), the listener binds 127.0.0.1 only, requests
carrying Origin or Referer are refused with 403, and no CORS headers are sent
— before 1.7.0 it replied Access-Control-Allow-Origin: *, which let any open web
page run Editor tools including script.execute.
| Variable | Effect |
|---|---|
OPENCLAW_CONFIG_DIR / OPENCLAW_HOME |
Where both token files live (default ~/.openclaw) |
OPENCLAW_BRIDGE_TOKEN |
Use this token instead of the files, on both sides |
OPENCLAW_UNITY_ALLOW_LEGACY_UNAUTHENTICATED=1 |
Restore the pre-1.7.0 open MCP bridge. Off by default; the Editor log and the OpenClaw panel say so loudly while it is on. |
Tokens are never written to the Unity console — only the token file's path is.
The 0600 file keeps other users out; a process running as you can read it,
which is the same boundary that protects your SSH keys.
📖 Setup Guide | 셋업 가이드
✨ Key Features
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io