SimpleMcpServer
Allows AI agents to manipulate Unity scenes, including creating, deleting, and modifying GameObjects and their components, as well as querying the scene hierarchy.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SimpleMcpServercreate a cube at position (0, 1, 0)"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SimpleMcpServer
Simple 是代号:面向人类与 AI 的大门,连接工具与创作环境的中枢。
Node.js + TypeScript 实现的 MCP 工具网关:向 AI 客户端提供统一入口,通过 WebSocket 连接 Unity/Godot Bridge,通过外部 MCP 适配器连接 BlenderMCP / Unreal MCP 等工具服务,并提供服务端搜索、LLM 转发和 AssetBundle 中转能力。
当前支持控制的引擎/工具:
Unity(Bridge
SimpleMCPBridge,WebSocket 接入)Godot(Bridge
SimpleMCPBridge_Godot,WebSocket 接入)Blender(
blender-mcp外部适配器 + 内置模板工具,stdio 接入)Unreal(Unreal MCP Toolkit 外部适配器 + 本仓库
unreal5/的MCPUnrealBridgeC++ 插件源码,Streamable HTTP 接入)
本仓库不包含 Unity/Godot Bridge 本体(它们是独立仓库,按需接入);Blender Add-on 也需单独安装;Unreal 侧需要 UE 编辑器能启动 MCP Toolkit(unreal5/ 提供插件源码与同步脚本)。启动 Server 不要求先安装任何引擎。
架构
人类 → AI 客户端
│ MCP Streamable HTTP / 兼容 SSE
▼
SimpleMcpServer
├─ 服务端工具:bridge.list / bridge.call / web.search
├─ WebSocket → Unity / Godot Bridge → 编辑器或游戏
├─ MCP Client(stdio) → blender-mcp → Blender Add-on
├─ MCP Client(HTTP) → Unreal MCP Toolkit → Unreal Editor(含 unreal5/ 插件)
└─ HTTP /rpc、/health、/ab:脚本、状态与资源中转注意传输方向:当前 dist/index.js 启动 HTTP/WebSocket 服务,不提供面向 AI 客户端的 stdio MCP 服务。stdio 用于 Server 启动外部 MCP 子进程。
Related MCP server: Agent Bridge for Unity
快速开始
需要 Node.js 22+ 与 npm。在仓库根目录执行:
npm ci
npm run build首次启动前准备配置(不会覆盖已有文件):
if (-not (Test-Path config.json)) { Copy-Item config.json.template config.json }按需编辑本机 config.json:本地使用建议 ip 设为 127.0.0.1;不使用 LLM 时将 llm.enabled 设为 false;不使用 Blender 时将 mcpServers 中对应条目 enabled 设为 false;不需要代码执行时将 evalEnabled 设为 false。不要提交真实密钥。
模板是集成示例,不是最小配置:它监听
0.0.0.0(仍有回环 IP 白名单),启用 LLM 占位配置、Blender 适配器及 eval。缺少配置时程序会自动复制模板,因此建议先审阅再启动。详见 配置与安全。
npm start
# 在另一个终端检查;设置 authToken 时需带 Authorization: Bearer <token>
Invoke-RestMethod http://127.0.0.1:45678/healthWindows 也可用 start.bat(构建后启动),或 start-quick.bat(只运行已有 dist)。setup.bat 执行依赖安装和构建。
AI 客户端连接
在客户端选择 Streamable HTTP,填写:
http://127.0.0.1:45678/mcp-stream不同客户端配置格式不一致;支持 mcpServers / url 格式的客户端可参考:
{
"mcpServers": {
"simple": { "url": "http://127.0.0.1:45678/mcp-stream" }
}
}如客户端要求 type 或认证请求头,按其说明补充。旧 SSE 客户端使用 /sse;不要用 command: node dist/index.js 代替网络连接配置。
入口 | 用途 |
| MCP Streamable HTTP,优先使用 |
| 兼容旧 SSE 客户端 |
| 脚本用直接 JSON-RPC,不是完整 MCP 会话传输 |
| Server、Bridge 与 adapter 状态 |
WebSocket,同一端口 | Unity/Godot Bridge 注册和调用 |
| AssetBundle 中转 |
/health.totalTools 当前仅统计 Bridge 路由,不是全部可用工具数。工具清单以 tools/list 为准,adapter 在线也不代表 Blender Add-on、Unreal MCP 或场景可用。
工具能力总览
工具清单以 tools/list 为准;以下为当前主要分组:
服务端工具:
bridge.list/bridge.call/web.search(多 provider:serper/google/bing/ddg)Unity/Godot Bridge 工具:来自所连接 Bridge 的动态注册(
asset.*、scene.*、input.*、game.*、ui.*、editor.*等,以 Bridge 版本为准)Blender 内置模板工具(
evalEnabled门控):blender.rig.*/blender.anim.*/blender.mesh.*/blender.scene.*/blender.body.*等,见 Blender 模板工具Unreal 工具(34 个,
unreal.*,通过外部 Unreal MCP 适配器):状态与项目:
unreal.health/unreal.capabilities/unreal.project.info/unreal.level.snapshot资产与 job:
unreal.asset.manifest/unreal.asset.import_status/unreal.asset.validate/unreal.job.status/unreal.job.waitLevel/Actor/材质/动画:
unreal.level.open/unreal.level.save/unreal.actor.spawn/unreal.actor.transform/unreal.material.inspect/unreal.animation.list/unreal.animation.playModel:
unreal.model.create_primitive/unreal.model.transform_actor/unreal.model.delete_actor/unreal.model.batch_create_primitives/unreal.model.assign_material/unreal.model.inspect*Pipeline:
unreal.pipeline.validate/compare_manifest/smoke_test/snapshotFracture:
unreal.fracture.export_meshes/export_vat/export_alembic/export_skeletal/manifest/validateUnreal 写操作统一要求
confirm=true或dryRun=true,且受evalEnabled/allowedTools门控
Unreal 接入说明
Unreal MCP 适配器:通过
mcpServers中的unreal条目(transport: "streamable-http")连接 UE 编辑器侧 MCP Toolkit;toolsPrefix为unreal。unreal5/:本仓库唯一 Unreal 源码目录,包含
MCPUnrealBridgeC++ 插件(原生操作与检查)、Python/model_operations.py、Scripts/(构建与同步脚本)。UE 工程只引用或同步此目录,不要把Binaries/Intermediate/Saved等同步进工程。详见 Unreal 5 Adapter Source。无头/非交互启动 UE MCP 需要正确配置
ModelContextProtocolSettings(端口/路径/自启动);真实破碎与跨引擎导出见 Unreal 破碎流水线。
projects.json(可选,Agent 驱动的工程/Bridge 注册表)
projects.json 是可选辅助文件:声明本机引擎与工程、以及控制前是否需要安装对应 Bridge。Server 不读取、不解析、不安装,完全由 Agent 按用户指令和 projects-bridge-guide 执行。文件含本机路径,已被 gitignore;仓库内提供 projects.json.template 模板。
文档导航
文档索引:当前指南、专题与历史记录。
架构与目录:模块边界、工具路由与目录约定。
配置与安全:配置来源、权限边界和限制。
后端接入:Unity/Godot、Blender、Unreal 与多实例前置条件。
开发与验证:命令、测试范围、已知问题和排查。
Agent 协作规则:改动前必读;会话历史 不代表当前运行状态。
验证范围
npm test这会构建 TypeScript 并运行 tests/*.test.cjs。现有测试包含模块回归、Blender 源码静态检查与 Unreal 适配器路由/门控回归,不等于 Unity/Godot/Blender/Unreal 的端到端验证。外部环境测试须单独准备,见开发指南。
相关仓库
Unity Bridge(WebSocket)
Photocraft:开源 clean-room 的 Python 像素编辑工具(可打开/编辑/保存 PSD 分层文档),Agent-ready。仅记录参考:官方仍在持续开发中,本仓库暂不直接集成或扩展。
当前文档按 2026-09-20 工作树核对;历史说明保留在 整理前 README,不作为现行操作依据。
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Related MCP Servers
- AlicenseBqualityDmaintenanceControl Unity Editor from AI agents. 200+ MCP tools for GameObjects, Scenes, Assets, Materials, Prefabs, Terrain, Physics, Lighting, and more. Works with Claude, Cursor, Windsurf, VS Code Copilot — any MCP client. Zero config: just npx and go.629 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to control the Unity Editor through MCP, allowing scene building, runtime scripting, visual QA, and more.5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceConnects Claude Code to the Unity Editor via MCP, enabling AI-driven control of scenes, assets, components, UI, animations, and more through 91 tools.2MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to control the Unity Editor via MCP, allowing scene manipulation, asset management, compilation, and testing through natural language.MIT