unity-mcp
Unity Editor와 AI 에이전트를 연결하는 MCP 브리지 스킬. Unity3D 게임 개발 작업을 AI로 자동화할 때 사용. 씬 제어, C# 스크립트 생성·검증, 에셋 파이프라인, UI/비주얼, 테스트·디버깅을 지원. PM·디자이너·게임개발자 역할별 최적 도구 매핑 제공.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Unity Editor와 AI 에이전트를 연결하는 MCP 브리지 스킬. Unity3D 게임 개발 작업을 AI로 자동화할 때 사용. 씬 제어, C# 스크립트 생성·검증, 에셋 파이프라인, UI/비주얼, 테스트·디버깅을 지원. PM·디자이너·게임개발자 역할별 최적 도구 매핑 제공.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
OMU - Integrated AI agent orchestration skill for Unity3D game development. Manages game lifecycle (기획→개발→QA→수익성) via .omu folder, plan with ralph+plannotator, execute with team/bmad, verify with unity-mcp, and auto-cleanup. Supports Claude, Codex, Gemini CLI, and OpenCode.
AI-driven Game Development Studio using BMAD methodology. Covers the Execute and Assess phases of the BMAD TEA (Think→Execute→Assess) loop — the core Specification-Driven Development (SDD) cycle. Routes game projects through Pre-production, Design, Architecture, Production, and Game Testing phases with 6 specialized agents. Supports Unity, Unreal Engine, Godot, and custom engines.
Creative Intelligence Suite for AI-driven ideation, design thinking, innovation strategy, problem-solving, and storytelling. The Think phase of the BMAD TEA (Think→Execute→Assess) loop — produces specifications and creative briefs that feed directly into bmad-gds execution. 5 named specialist agents with distinct methodologies — no setup required, all workflows available immediately.
Analyze application logs to identify errors, performance issues, and security anomalies. Use when debugging issues, monitoring system health, or investigating incidents. Handles various log formats including Apache, Nginx, application logs, and JSON logs.
Configure Claude Code, Codex CLI, and Gemini CLI for Ralph-style automation with fewer approval prompts while keeping project boundaries, secret denylists, and sandbox-first safety rules intact.
Search and navigate large codebases efficiently. Use when finding specific code patterns, tracing function calls, understanding code structure, or locating bugs. Handles semantic search, grep patterns, AST analysis.
| name | unity-mcp |
| description | Unity Editor와 AI 에이전트를 연결하는 MCP 브리지 스킬. Unity3D 게임 개발 작업을 AI로 자동화할 때 사용. 씬 제어, C# 스크립트 생성·검증, 에셋 파이프라인, UI/비주얼, 테스트·디버깅을 지원. PM·디자이너·게임개발자 역할별 최적 도구 매핑 제공. |
| license | MIT |
| compatibility | Unity 2021.3 LTS 이상 (2022+ 권장). Claude Code, Codex CLI, Gemini CLI, OpenCode에서 사용 가능. mcp-for-unity는 Unity Package Manager로 설치 — 별도 Python/uv 불필요. |
| allowed-tools | Read Write Bash Grep Glob Task WebFetch |
| metadata | {"version":"1.1.0","author":"supercent-io","keyword":"unity-mcp","tags":"unity, unity3d, mcp, game-development, editor-automation, ai-agent","platforms":"Claude Code | Codex CLI | Gemini CLI | OpenCode","source":"CoplayDev/unity-mcp"} |
Unity Editor → Window → Package Manager → "+" → Add from git URL:
https://github.com/CoplayDev/unity-mcp.git
Unity Editor → Window → MCP → Start
# 서버 동작 확인
curl http://localhost:8080/health
# → {"status":"healthy","version":"..."}
AI 에이전트에게: 사용자가 unity-mcp 설정을 요청하면 아래 절차를 자동으로 실행하세요.
~/.claude/settings.json)# AI 실행 절차:
# 1. ~/.claude/settings.json 읽기
# 2. mcpServers.unity 항목을 URL 방식으로 추가/교체
# 3. 파일 저장 후 사용자에게 Claude Code 재시작 안내
설정 값:
{
"mcpServers": {
"unity": {
"url": "http://localhost:8080/mcp"
}
}
}
~/.codex/config.toml)[[mcp_servers]]
name = "unity"
url = "http://localhost:8080/mcp"
~/.gemini/settings.json){
"mcpServers": {
"unity": {
"url": "http://localhost:8080/mcp"
}
}
}
동작 원리:
mcp-for-unity는 Unity Editor가 직접 실행하는 HTTP 서버입니다. AI 클라이언트는 새 프로세스를 띄우지 않고, URL로 이미 실행 중인 서버에 연결합니다.⚠️
"command": "python"방식(subprocess)은 포트 충돌로 동작하지 않습니다.
Claude Code 재시작 후:
/mcp # unity 항목과 도구 목록 확인
| 도구 | 활용 시나리오 | 연동 스킬 |
|---|---|---|
project_info (resource) | 프로젝트 현황 → 스프린트 계획 | bmad-gds (bmad-gds-sprint-planning) |
get_tests | 테스트 커버리지 → 릴리즈 체크리스트 | bmad-gds (bmad-gds-sprint-status) |
editor_state | 씬/빌드 상태 → 데모 준비 확인 | task-planning |
read_console | 버그 리포트 수집 → 스토리 생성 | log-analysis, bmad-gds |
| 도구 | 활용 시나리오 | 연동 스킬 |
|---|---|---|
manage_ui | UI 컴포넌트 계층 생성/수정 | design-system, ui-component-patterns |
manage_material, manage_shader | 시각 스타일 프로토타이핑 | design-system |
manage_vfx, manage_animation | 모션/이펙트 빠른 이터레이션 | bmad-gds (bmad-gds-quick-prototype) |
manage_probuilder | 레벨 레이아웃 그레이박싱 | bmad-gds (bmad-gds-gdd) |
manage_texture | 에셋 임포트 설정 | file-organization |
| 도구 | 활용 시나리오 | 연동 스킬 |
|---|---|---|
create_script, validate_script | C# 생성 + Roslyn 검증 | bmad-gds (bmad-gds-dev-story) |
script_apply_edits, manage_script | 코드 수정·리팩터링 | code-refactoring |
manage_gameobject, manage_components | 씬 오브젝트 조작 | bmad-gds (bmad-gds-quick-dev) |
run_tests, get_test_job | Unity Test Runner 자동 실행 | testing-strategies |
read_console | 런타임 에러 수집 | log-analysis |
find_gameobjects, find_in_file | 디버깅 중 대상 탐색 | codebase-search |
batch_execute | 반복 작업 10~100x 가속 | workflow-automation |
manage_prefabs, manage_asset | 에셋 파이프라인 자동화 | file-organization |
manage_scene · manage_gameobject · find_gameobjects · manage_prefabs · manage_components
create_script · delete_script · manage_script · script_apply_edits · validate_script · manage_script_capabilities
manage_asset · manage_material · manage_texture · manage_shader · manage_ui · manage_vfx · manage_animation · manage_probuilder · manage_scriptable_object
manage_editor · execute_menu_item · manage_tools · refresh_unity · set_active_instance
batch_execute · apply_text_edits · find_in_file · execute_custom_tool
run_tests · read_console · get_test_job · debug_request_context · get_sha
# 1. Unity Editor에서 unity-mcp 서버 시작 (Unity MCP 창에서 Start 버튼)
# 2. 연결 확인
curl http://localhost:8080/health
# 3. omu 워크플로우에서 사용
omu "씬 프로토타이핑: 플랫포머 게임"
# → unity-mcp 도구가 자동으로 호출됨
| 문제 | 해결 방법 |
|---|---|
/mcp에 unity 도구가 안 보임 | "command" 대신 "url": "http://localhost:8080/mcp" 사용 확인 |
| localhost:8080 연결 안 됨 | Unity Editor → MCP 창 → Start 버튼 클릭 |
| 스크립트 검증 실패 | validate_script 에러 메시지 확인 후 manage_script로 수정 |
| batch_execute 타임아웃 | 작업을 소규모 배치로 분할 |
| 씬 로드 에러 | read_console로 에러 확인 → manage_scene 재시도 |