neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
FastMCP Unity 3D automation server plus webapp with VRM avatar pipeline and VRChat integration
翻譯準備中
開發工具Python · TeXGitHub @sandraschi自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
正在載入完整 README。 以下為已儲存的摘錄。
📖 Installation Guide — quick start, manual setup, and troubleshooting
FastMCP 3.2.0+ Compliant - Comprehensive Unity 3D automation with VRM avatar pipeline and VRChat integration.
• Competitive Analysis
• Roadmap (Phases 1–5)
This table is the single source of truth for this server's tools. Any
other tool names you see elsewhere in this README below this point, or
inferred from src/unity3d_mcp/app.py (unused dead code — not imported by
__main__.py or referenced in pyproject.toml; the real entry point is
server.py), are stale. See the housekeeping note at the bottom of this
section.檢視完整 README ↗📖 Installation Guide — quick start, manual setup, and troubleshooting
FastMCP 3.2.0+ Compliant - Comprehensive Unity 3D automation with VRM avatar pipeline and VRChat integration.
src/unity3d_mcp/server.py, 2026-07-18)This table is the single source of truth for this server's tools. Any
other tool names you see elsewhere in this README below this point, or
inferred from src/unity3d_mcp/app.py (unused dead code — not imported by
__main__.py or referenced in pyproject.toml; the real entry point is
server.py), are stale. See the housekeeping note at the bottom of this
section.
15 portmanteau tools (one tool, operation argument selects behavior —
this is the real, current tool-count-reduction pattern this server uses):
| Tool | Operations |
|---|---|
unity_core | launch_editor, create_project, execute_method, check_univrm, install_univrm, create_project_with_univrm |
unity_scene | create_light |
unity_avatar | import_vrm, setup_animator |
unity_asset | optimize_textures |
unity_build | build_project |
vrchat | check_auth, authenticate, check_sdk, validate_avatar, setup_descriptor, upload_avatar — avatars only, no world upload/publish |
worldlabs | assemble_review, import_marble, check_gaussian, install_gaussian, optimize_for_vrchat |
multiplatform | list_platforms, check_sdk, check_cck, setup_cvr_avatar, validate_cvr, prepare_resonite, check_resonite_compat, check_cluster_kit, prepare_cluster, audit_all (ChilloutVR/Resonite/Cluster — not VRChat, that's the vrchat tool) |
unity_bridge | status, execution_mode, ping, get_hierarchy, create_object, delete_object, transform_object, capture_game_view — live Editor, Hands-In only |
unity_render | bridge_status, get_scene_summary, capture_multi_angle — agent vision |
unity_api | get_scene_objects, modify_object, create_prefab, run_simulation, execute_method, batch_operations, move_along_path, create_path_visualization, follow_path_2d, follow_path_3d, stop_path_movement — all real, bridge-dependent (require a live Unity Editor session with MCPBridge.cs running; return an honest "bridge not connected" error otherwise, not a fake success) |
unity_jobs | submit (job_type: build/batch_import/simulation), status, list, cancel — async queue |
unity_import | import_blender, import_fleet_batch, list_formats — Blender/fleet GLB/VRM/FBX/OBJ handoff |
unity_vision_refine | capture, review_bundle, apply_bridge_commands |
unity_validation | list_limits, validate_scene, check_polycount, check_materials, validate_model, validate_avatar, unified_audit |
2 standalone tools (dual-mode/agentic, registered directly, not via a manager class):
| Tool | Purpose |
|---|---|
unity3d_disk_api | [Hands-Off] UnityPy disk manipulation: inspect_file, list_textures, modify_yaml — no overlap, genuinely standalone |
unity3d_agentic_workflow | SEP-1577 sampling — autonomous multi-step orchestration from a high-level goal |
Cleaned up 2026-07-18 (previously flagged here as known duplication,
now actually removed — see TODO.md for the full record):
list_vr_platforms,
check_platform_sdk, check_cck_installed, setup_cvr_avatar,
validate_for_chilloutvr, prepare_for_resonite,
check_resonite_compatibility, check_cluster_kit,
prepare_for_cluster) are gone. Use multiplatform(operation=...).api_* tools (api_execute_method, api_get_scene_objects,
etc.) and their backing _api_* stub methods on the server class are
gone. Use unity_api(operation=...) — the real implementation, which
actually works for get_scene_objects/modify_object via the live
bridge (the flat versions unconditionally returned "not implemented",
even for those).unity3d_bridge_status and unity3d_editor_api are gone, folded into
unity_bridge. The one operation unity3d_editor_api had that
unity_bridge didn't — capture_game_view — is now a unity_bridge
operation too. Use unity_bridge(operation="status") and
unity_bridge(operation=...) instead.Still real, still unregistered (not part of this pass — a bigger,
separate task if ever done): motor control (api_add_motor etc.), generic
asset export/import (export_fbx, import_asset_package, batch_import),
and dedicated VRM-Unity-rigging tools (import_vrm_to_unity,
setup_unity_avatar_rigging, etc.) are not exposed as MCP tools at
all — the underlying manager classes exist (motor_manager.py,
import_export_manager.py, vrm_avatar_manager.py) but nothing in
server.py registers them. app.py (and its .bak twin) is dead code
containing a second, never-wired implementation of some of this — don't
trust it as a source of truth for what's callable.
Copy src/unity3d_mcp/resources/MCPBridge.cs to your project's Assets/Editor/ folder.
Webapp Agent Tools page: /agent-tools (mirror blender-mcp Agent Lab UI).
| Mode | When | You see |
|---|---|---|
| Hands-In | Unity Editor + MCPBridge.cs (:10835) | Scene edits, play-mode sim, captures live in Editor |
| Hands-Off | No bridge / disk-only | UnityPy edits, imports, build jobs (-batchmode, no GUI) |
unity_bridge(operation='execution_mode') reports current mode. See docs/DUAL_MODE.md.
http://127.0.0.1:9092/metrics and /api/v1/metrics on :10831UNITY3D_MCP_LOG_FORMAT=jsondocker compose --profile monitoring up -d — docs/MONITORING.md, docs/DOCKER.md.\scripts\run-fleet-pipeline.ps1 -ProjectPath "D:\Unity\MyProject" -ModelPath "D:\exports\avatar.glb" -SkipBuild
blender-mcp export GLB/VRM → unity_import import_blender → unity_vision_refine review_bundle → VRChat/build
worldlabs Marble → worldlabs assemble_review → agent fixes → unity_jobs build
One-shot automation: docs/FLEET_PIPELINE.md — scripts/run-fleet-pipeline.ps1
git clone https://github.com/sandraschi/unity3d-mcp
cd unity3d-mcp
just
This opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.
If you don't have just installed:
| Platform | Engine | Avatar Format | SDK | Status |
|---|---|---|---|---|
| VRChat | Unity | VRC prefab | VRChat SDK | Full support |
| ChilloutVR | Unity | CVR prefab | CCK | Supported |
| Resonite | FrooxEngine | VRM/GLB direct | None needed | Supported |
| Cluster | Unity | VRM | Creator Kit | Supported |
Covered by the unity_api portmanteau tool (see the tool table above).
Every operation is real and bridge-dependent: it calls the MCPBridge.cs
Editor bridge (HTTP, localhost:10835) and requires Unity to be open with
that script installed and running. Two known, honestly-documented
limitations in the current bridge implementation:
execute_method only supports public, static, parameterless Unity
methods (the same constraint Unity's own -executeMethod CLI flag has).
Passing parameters is accepted but explicitly reported back as
ignored, not silently dropped or type-coerced.move_along_path, follow_path_2d, follow_path_3d)
approximates all path_type curve variants (bezier, spline,
catmull_rom) as straight multi-segment linear interpolation — real
curve math is not implemented.This was verified by manual C# code review only (no dotnet/mono/csc
compiler was available in the environment this was built in), so treat it
as unverified against a live Unity Editor until you've smoke-tested it
yourself.
Not currently exposed as MCP tools at all (real code exists in
motor_manager.py, import_export_manager.py, and
vrm_avatar_manager.py, but nothing in server.py registers it):
motor control (attach/start/stop/configure motors on objects), generic
asset export/import (.unitypackage, standalone FBX/prefab export,
texture-specific import), and dedicated VRM-Unity-rigging tools separate
from unity_avatar's import_vrm/setup_animator. If you need any of
these, they'd need a portmanteau wrapper written and registered in
server.py first — that's real, scoped future work, not a documentation
fix. Tracked in TODO.md.
FastMCP 3.2.0+ introduces Agentic Sampling, allowing the server to borrow the client's LLM to orchestrate complex workflows autonomously.
unity3d_agentic_workflow: Execute a mission-based objective (e.g., "Setup a new VRChat project and import my avatar").This server provides expert instructions and pre-defined workflows via the SOTA Skill system.
Available via resource://unity3d/skills/:
unity-editor-automation: Expert guide for editor control.vrc-avatar-pipeline: Guide for VRM to VRChat optimization.Registered SOTA prompts:
unity_setup_workflow: Guide for project initialization.vrc_avatar_workflow: Instructions for the VRM optimization lifecycle.This server uniquely supports two distinct operational modes for maximum flexibility across development and CI/CD environments.
Real-time control of a running Unity Editor. Requires the MCPBridge.cs plugin.
unity_bridge (operations: status, execution_mode, ping, get_hierarchy, create_object, delete_object, transform_object, capture_game_view)Direct manipulation of Unity assets on disk. Powered by UnityPy.
unity3d_disk_apiA comprehensive technical suite is available in the Documentation Portal.
structlog..ply/.splat filesRun immediately via uvx:
uvx unity3d-mcp
Add to your claude_desktop_config.json:
"mcpServers": {
"unity3d-mcp": {
"command": "uv",
"args": ["--directory", "D:/Dev/repos/unity3d-mcp", "run", "unity3d-mcp"]
}
}
pip install unity3d-mcp
This repository is SOTA 2026 compliant and uses the officially validated @anthropic-ai/mcpb workflow for distribution.
To generate a .mcpb distribution bundle with complete source code and automated build exclusions:
# SOTA 2026 standard pack command
mcpb pack . dist/unity3d-mcp.mcpb
# Direct wheel download
pip install https://github.com/sandraschi/unity3d-mcp/releases/download/v1.2.0/unity3d_mcp-1.2.0-py3-none-any.whl
# Or from git
pip install git+https://github.com/sandraschi/unity3d-mcp.git
Create a configuration file or use environment variables:
{
"unity_editor_path": "C:/Program Files/Unity/Hub/Editor/2022.3.0f1/Editor/Unity.exe",
"project_path": "D:/Unity Projects",
"auto_detect_unity": true,
"enable_http": true,
"http_port": 8080,
"log_level": "INFO"
}
# Start in stdio mode
unity3d-mcp --mode stdio
# Start HTTP server
unity3d-mcp --mode http --port 8080
# Dual mode (stdio + HTTP)
unity3d-mcp --mode dual
See Tool surface
near the top of this README for the complete, verified-against-source tool
list with real operation names. (An earlier revision of this README had a
second, incompatible tool list here using names like launch_unity_editor,
import_vrm_avatar, upload_vrchat_avatar — those aren't callable tools;
the real operations are unity_core(operation="launch_editor"),
unity_avatar(operation="import_vrm"),
vrchat(operation="upload_avatar"), etc. Removed 2026-07-18 to stop the
two lists drifting further apart — one source of truth from now on.)
unity3d_mcp/
core/ # Unity Editor automation, project management, UniVRM
avatar/ # VRM avatar management
assets/ # Asset import and optimization
build/ # Build pipeline management
vrchat/ # VRChat SDK integration + authentication
worldlabs/ # World Labs Marble/Chisel integration
utils/ # Shared utilities
# Run all tests
.\scripts\run-tests.ps1
# Run with coverage
.\scripts\run-tests.ps1 -Coverage
# Run E2E tests (requires Unity)
.\scripts\run-tests.ps1 -E2E
# Run specific test pattern
.\scripts\run-tests.ps1 -Pattern "test_worldlabs"
Optimized for:
This project adheres to SOTA 14.1 industrial standards for high-fidelity agentic orchestration:
print statements in core handlers (T201).noConsoleLog enforcement.stdout/stderr isolation to ensure crash-resistant JSON-RPC communication.just lint, just fix, just dev).bandit and safety.MIT License - see LICENSE for details.
This MCP server includes a premium SOTA web interface for monitoring and control.
10830 (Vite / React)10831 (FastAPI / FastMCP)To start the webapp:
web_sota directory.start.bat (Windows) or ./start.ps1 (PowerShell).http://localhost:10830.