原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Unity MCP Server

作者:rachitkumarrastogi版本 1.7.0i★ –i在你的电脑上运行
注册名称io.github.rachitkumarrastogi/unity-mcp-server

安装

概览

作者提供的说明(英文原文)

MCP server for Unity: 130+ tools, Unity 6 skills, AI/ML discovery. No Editor.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:UNITY_PROJECT_PATH

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: UNITY_PROJECT_PATH

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "unity": {
      "command": "npx",
      "args": [
        "-y",
        "unity-mcp-server"
      ],
      "env": {
        "UNITY_PROJECT_PATH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add unity --env UNITY_PROJECT_PATH=your-value -- npx -y unity-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "unity": {
      "command": "npx",
      "args": [
        "-y",
        "unity-mcp-server"
      ],
      "env": {
        "UNITY_PROJECT_PATH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "unity": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "unity-mcp-server"
      ],
      "env": {
        "UNITY_PROJECT_PATH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • UNITY_PROJECT_PATH 必填 env
    Absolute path to your Unity project root (required)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 rachitkumarrastogi 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4924 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4924 个服务器的 31% 更新
  • 基础检查结果等于或优于此分类中其他 4924 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Unity MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:UNITY_PROJECT_PATH

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.7.0)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT5天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT17天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Unity MCP Server

MCP server for Unity — Gives AI assistants structured access to your Unity project 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:

ClientNotes
CursorAdd server to MCP settings; set UNITY_PROJECT_PATH in env.
Claude DesktopAdd to claude_desktop_config.json; same command + env pattern.
Claude CodeMCP support including tools.
VS CodeUse an MCP extension (e.g. GenAI / Copilot MCP); configure server and UNITY_PROJECT_PATH.
WindsurfAdd MCP server with command and env.
ContinueConfigure MCP server in Continue settings.
ClineMCP tools and resources.
OtherAny 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.

📦 Project & build💻 Code & assemblies🎬 Scenes & prefabs📁 Assets & references
🎨 Materials & shaders🎞️ Animation🖼️ 2D & sprites✨ Rendering
📝 TextMeshPro & UI🎮 Input🏷️ Tags & layers🌐 Addressables & localization
🔊 Audio🧪 Testing & docs🔄 CI & version control🔌 Integrations
⚡ Speed & productivity🔍 Meta🤖 AI & ML

📦 Project & build

ToolDescriptionExample prompt to type
get_project_infoPath, Unity version, build scene count, player/product name*"What's my project path and Unity version?"* · *"Show build scene count and player name"*
list_build_scenesScenes in EditorBuildSettings (build order)*"Which scenes are in the build?"* · *"List build scenes in order"*
get_player_settingsProduct name, company, bundle ID, version*"What are the player settings?"* · *"Show bundle ID and company name"*
list_packagesPackages from manifest.json*"List installed Unity packages"*
get_quality_settingsQuality levels*"What are the quality settings?"*
get_scripting_definesGlobal and per-assembly defines*"Show scripting defines"* · *"What defines are set per assembly?"*
get_physics_settingsPhysics / Physics2D settings*"What are the physics settings?"*
get_graphics_settingsGraphics settings (GraphicsSettings.asset)*"Show graphics settings"*
get_time_settingsTime / fixed timestep (TimeManager.asset)*"What's the fixed timestep?"* · *"Show time settings"*
get_build_target_infoActive build target / platform*"What's the current build target?"*
get_feature_set_inferenceInfer Unity 6 feature sets from packages (2D, ECS, AR, etc.)*"What feature sets does this project use?"*
get_project_versionBundle version*"What's the bundle version?"*
get_changelogCHANGELOG contents*"Show the changelog"*
get_audio_settingsAudioManager.asset (global volume, reverb, DSP buffer)*"What are the audio settings?"*
get_navigation_settingsNavMesh/agent settings from ProjectSettings*"Show NavMesh / navigation settings"*
get_xr_settingsXR/VR project settings*"What XR or VR settings are configured?"*
get_script_execution_orderScript execution order (MonoManager)*"Show script execution order"*
get_version_control_settingsSerialization mode, visible meta files*"What's the version control / serialization setup?"*
get_layer_collision_matrixLayer collision matrix and layer names*"Show layer collision matrix"* · *"What layers collide?"*
get_cloud_services_configUnity Cloud / Unity Connect config*"Is Unity Cloud configured?"*
get_package_dependency_graphPackage dependency graph (manifest + lock)*"Show package dependency graph"*
list_package_samplesSamples folders under Packages*"List package samples"*
list_unity_hub_projectsList Unity projects from Unity Hub (no project path required)*"List my Unity Hub projects"*

💻 Code & assemblies

ToolDescriptionExample prompt to type
list_assembliesAssembly definitions with references, platforms*"List assembly definitions"*
get_assembly_for_pathAssembly that contains a given script or folder path*"Which assembly contains Assets/Scripts/Player.cs?"*
list_scripts_by_assemblyC# script paths in a given assembly (by name or asmdef path)*"List scripts in Assembly-CSharp"* · *"What scripts are in MyGame.Runtime?"*
list_asmdef_referencesAssembly names that reference a given assembly (reverse deps)*"Who depends on MyGame.Core?"*
list_scriptsC# scripts (optional folder filter)*"List all C# scripts"* · *"Show scripts in Assets/Scripts"*
find_scripts_by_contentBy type/pattern (e.g. MonoBehaviour)*"Find scripts that extend MonoBehaviour"*
get_assembly_dependency_graphNodes and edges*"Show assembly dependency graph"*
list_editor_scriptsScripts in Editor folders*"List editor scripts"*
list_visual_scripting_assetsBolt / Unity Visual Scripting .asset files*"List Visual Scripting assets"*
get_script_public_apiParse C# script: class name, base type, public methods/fields*"What's the public API of PlayerController.cs?"*

🎬 Scenes & prefabs

ToolDescriptionExample prompt to type
list_all_scenesAll .unity files under Assets*"List all scenes"*
get_scene_summaryRoot GameObjects, component count*"Summarize MainMenu.unity"* · *"What's in this scene?"*
get_scene_components_by_typeGameObjects in a scene with a component type (e.g. Camera, Light)*"Which GameObjects have a Camera in Game.unity?"*
get_scene_objects_by_tagGameObjects in a scene with a given tag (e.g. Spawn)*"Find objects with tag Spawn in this scene"*
get_all_components_by_typeAll Cameras/Lights/etc. across all scenes*"List all Cameras in the project"*
get_scene_hierarchy_flatFlat list of GameObjects in a scene (name and layer)*"List all objects in Main.unity with their layers"*
get_lighting_scene_infoLighting assets and GI workflow mode for a scene*"What lighting does Main.unity use?"*
list_prefabsPrefabs (optional path prefix)*"List all prefabs"* · *"List prefabs in Assets/Prefabs"*
list_prefab_variantsPrefabs that are variants of another prefab*"List prefab variants"*
list_prefabs_with_componentPrefabs that contain a component type (e.g. Animator)*"Which prefabs have an Animator?"*
get_prefab_summaryPrefab summary: root name, component count, component types*"Summarize Hero.prefab"* · *"What's in this prefab?"*
get_prefab_script_guidsScript GUIDs used by a prefab*"What scripts does Hero.prefab use?"*
list_subscenesECS/DOTS .subscene assets*"List subscenes"*

📁 Assets & references

ToolDescriptionExample prompt to type
get_asset_folder_treeFolder tree under Assets*"Show asset folder tree"*
list_assets_by_extensionBy extension (e.g. .png, .fbx)*"List all .png textures"* · *"List FBX models"*
find_referencesAssets referencing a path or GUID*"What references this asset?"* · *"Find what uses Assets/Textures/hero.png"*
list_large_assetsFiles over N MB (default 5)*"List large assets"* · *"What's over 10 MB?"*
list_video_clipsVideo clip assets (.mp4, .mov, .webm, etc.)*"List video clips"*
list_legacy_font_assetsLegacy fonts (.fontsettings, .ttf, .otf) — not TMP*"List legacy fonts"*
list_render_texturesRenderTexture assets*"List render textures"*
list_terrain_dataTerrainData and TerrainLayer assets*"List terrain data"*
list_lighting_settings_assetsLighting-related .asset files*"List lighting settings assets"*
search_assets_by_nameSearch Assets (and optionally Packages) by name pattern*"Search assets named 'hero'"*
get_texture_metaTexture .meta (maxSize, dimensions, spriteMode, PPU)*"What's the import settings for hero.png?"*
search_projectCombined search: name pattern, script pattern, and/or referrers of path*"Search project for X"* · *"What references this path?"*
get_meta_for_assetRead .meta for any asset path (guid, importer keys)*"Show .meta for Assets/Models/character.fbx"*
get_broken_asset_refsPrefabs/scenes/materials with any missing GUID reference*"Find broken asset references"*
list_scriptable_objects.asset files that are ScriptableObject instances*"List all ScriptableObject assets"*

🎨 Materials & shaders

ToolDescriptionExample prompt to type
list_materialsMaterials (optional folder)*"List all materials"* · *"List materials in Assets/Materials"*
list_materials_using_shaderMaterials that use a given shader (GUID or path)*"Which materials use Standard shader?"*
list_shaders.shader in Assets and Packages*"List shaders"*
list_shader_graphsShader Graph assets*"List Shader Graph assets"*
list_vfx_graphsVFX Graph assets*"List VFX Graph assets"*

🎞️ Animation

ToolDescriptionExample prompt to type
list_animator_controllers.controller assets*"List animator controllers"*
list_animation_clips.anim assets*"List animation clips"*

| get_animator_states | State names from a contr

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx