RU

rachitkumarrastogi/unity-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

7 stars 6 forks 품질 90 트렌드 35MIT

mCP 서버

개요

- MCP-capable IDE 또는 앱에서 Unity Project (Unity 6 ready)에 AI Assistants 구조화된 액세스를 제공합니다. Unity Editor가 필요 없습니다. IDE는 이 서버에 대해 이야기합니다. 서버는 Unity 프로젝트 폴더를 읽고 프로젝트 정보와 답변, 장면, 스크립트, 프리팹 등을 빌드합니다. 그래서 AI는 편집기를 열지 않고 도움이 될 수 있습니다. - — 프로젝트 파일 시스템에서만 읽기. - - MCP 설정에서 프로젝트 당 UNITY PROJECT PATH 설정. - - Model Context Protocol (Stdio 이상)을 지원하는 모든 클라이언트와 함께 작동합니다. 이 서버는 표준을 사용하고 노출합니다. MCP 서버를 실행하고 환경 변수를 전달할 수있는 모든 IDE 또는 앱은 작동합니다. 일반적으로 사용한 클라이언트는 다음을 포함합니다: 구성은 다음과 같습니다. = 노드, = dist/index.js, = UNITY PROJECT PATH = Unity 프로젝트 루트. Cursor 예제의 구성을 참조하십시오. 다른 클라이언트는 자체 설정 형식의 동일한 구조를 사용합니다. 아래 범주를 확장하여 도구가 포함되어 있습니다.

개요(AI 번역)

Unity3D MCP Server for Cursor, Claude Desktop, Claude Code, VS Code, Windsurf 및 MCP 클라이언트 - 모든 MCP 클라이언트에서 Unity 프로젝트(Unity 6 ready)에 대한 AI 보조를 구성합니다. Unity Editor가 필요 없습니다.

IDE는 이 서버에 대해 이야기합니다. 서버는 Unity 프로젝트 폴더를 읽고 프로젝트 정보와 답변, 장면, 스크립트, 프리팹 등을 빌드합니다. 그래서 AI는 편집기를 열지 않고 도움이 될 수 있습니다.


개요

  • Editor-free — 프로젝트 파일 시스템에서만 읽습니다.
  • ** 한 서버, 많은 프로젝트 ** - MCP 설정에서 프로젝트 당 UNITY_PROJECT_PATH를 설정합니다.
  • MCP-native - Model Context Protocol(Stdio 이상)을 지원하는 클라이언트와 함께 작동합니다.

지원되는 IDE 및 클라이언트

이 서버는 stdio**에 표준 ** MCP 프로토콜을 사용하고 tools를 노출합니다. MCP 서버를 실행하고 환경 변수를 전달할 수있는 모든 IDE 또는 앱은 작동합니다. 일반적으로 사용한 클라이언트는 다음을 포함합니다:

고객사 주
Cursor MCP 설정에 서버 추가; UNITY_PROJECT_PATH env]) ·
Claude Desktop claude_desktop_config.json에 추가; 같은 명령 + env 패턴.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Unity MCP Server

Unity3D MCP Server for Cursor, Claude Desktop, Claude Code, VS Code, Windsurf, and any MCP client — Gives AI assistants structured access to your Unity project (Unity 6 ready) from any MCP-capable IDE or app. No Unity Editor required.

Your IDE talks to this server; the server reads your Unity project folder and answers with project info, build scenes, scripts, prefabs, and more — so the AI can help without opening the Editor.


Overview

  • Editor-free — Reads only from the project filesystem.
  • One server, many projects — Set UNITY_PROJECT_PATH per project in your MCP config.
  • MCP-native — Works with any client that supports the Model Context Protocol (tools over stdio).

Supported IDEs and clients

This server uses the standard MCP protocol over stdio and exposes tools. Any IDE or app that can run an MCP server and pass environment variables will work. Commonly used clients include:

Client Notes
Cursor Add server to MCP settings; set UNITY_PROJECT_PATH in env.
Claude Desktop Add to claude_desktop_config.json; same command + env pattern.
Claude Code MCP support including tools.
VS Code Use an MCP extension (e.g. GenAI / Copilot MCP); configure server and UNITY_PROJECT_PATH.
Windsurf Add MCP server with command and env.
Continue Configure MCP server in Continue settings.
Cline MCP tools and resources.
Other Any client that supports MCP tools over stdio (e.g. Zed, Roo Code, LibreChat, custom agents).

Configuration is the same everywhere: command = node, args = path to dist/index.js, env = UNITY_PROJECT_PATH = your Unity project root. See Configuration below for a Cursor example; other clients use the same structure in their own config format.


Tools

Expand a category below to see the tools it includes.

GitHub에서 전체 README 보기

설치

npx -y unity-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "unity": { "command": "npx", "args": ["-y", "unity-mcp-server"], "env": { "UNITY_PROJECT_PATH": "/absolute/path/to/YourUnityProject" } } } }