游戏与游戏化 · 开发者工具

UnityMCPIntegration logo

UnityMCPIntegration

quazaai/UnityMCPIntegration

该项目提供了Unity编辑器与Model Context Protocol (MCP)的无缝集成,使AI助手能够实时理解和操作Unity项目,包括访问场景层次结构、执行代码、监控日志等功能。

安装

npx -y @smithery/cli install @quazaai/unitymcpintegration --client claude

客户端配置

{
  "mcpServers": {
    "unity-mcp-server": {
      "command": "node",
      "args": [
        "path-to-project>\\Library\\PackageCache\\com.quaza.unitymcp@d2b8f1260bca\\mcpServer\\mcpServer\\build\\index.js"
      ],
      "env": {
        "MCP_WEBSOCKET_PORT": "<MCP_WEBSOCKET_PORT>"
      }
    }
  }
}

环境变量

MCP_WEBSOCKET_PORT
GitHub 星标
49
作者
@quazaai
分类
游戏与游戏化, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(16)

  • get_editor_state

    Get comprehensive information about the Unity project and editor state

  • get_current_scene_info

    Get detailed information about the current scene

  • get_game_objects_info

    Get information about specific GameObjects in the scene

  • execute_editor_command

    Execute C# code directly in the Unity Editor

  • get_logs

    Retrieve and filter Unity console logs

  • verify_connection

    Check if there's an active connection to Unity Editor

  • read_file

    Read contents of a file in your Unity project

  • read_multiple_files

    Read multiple files at once

  • write_file

    Create or overwrite a file with new content

  • edit_file

    Make targeted edits to existing files with diff preview

  • list_directory

    Get a listing of files and folders in a directory

  • directory_tree

    Get a hierarchical view of directories and files

  • search_files

    Find files matching a search pattern

  • get_file_info

    Get metadata about a specific file or directory

  • find_assets_by_type

    Find all assets of a specific type (e.g.

  • list_scripts

    Get a listing of all C# scripts in the project

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS

相关 MCP 服务器

更多服务器
HAN JIE logo

HAN JIE

hedge-dev/XenonRecomp

6k

XenonRecomp是一个将Xbox 360可执行文件转换为C++代码的工具,支持跨平台重新编译,目前仅支持x86架构。该项目受N64 Recompiled启发,专注于指令转换、内存处理、优化和补丁机制,但不提供运行时实现。

游戏与游戏化
Unity MCP logo

Unity MCP

justinpbarnett/unity-mcp

1.8k

Unity MCP是一个连接Unity编辑器与大型语言模型(LLM)的桥梁工具,通过本地MCP客户端实现自然语言控制Unity编辑器功能,支持资产管理、场景控制、脚本编辑等自动化操作。

游戏与游戏化
Unreal MCP logo

Unreal MCP

chongdashu/unreal-mcp

542

虚幻引擎模型上下文协议(MCP)集成的文档,帮助理解、设置和使用MCP系统。

游戏与游戏化
MCP Unity logo

MCP Unity

codergamester/mcp-unity

435

MCP Unity是一个实现Model Context Protocol的Unity编辑器扩展,通过Node.js服务器桥接AI助手与Unity项目的交互,提供菜单执行、对象选择、组件更新等功能。

游戏与游戏化
Unity logo

Unity

arodoid/unitymcp

422

UnityMCP是一个Unity编辑器插件,实现模型上下文协议(MCP),提供Unity与AI助手的无缝集成,包括实时状态监控、远程命令执行和日志功能。

游戏与游戏化
Godot logo

Godot

coding-solo/godot-mcp

329

Godot MCP是一个为Godot游戏引擎设计的模型上下文协议服务器,提供与Godot编辑器和项目的交互功能。

游戏与游戏化