aetherforge
Provides 3D rendering capabilities for the AetherForge game engine, allowing entities to be displayed in a Three.js-powered 3D scene with mesh, transform, lighting, and camera controls.
Click on "Install 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., "@aetherforgeCreate a 3D scene with a castle and ambient music."
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.
# AetherForge
AI-Native 游戏引擎 — 专为 AI Agent 设计
AetherForge 是一个 AI-first 游戏引擎。AI Agent 是主要用户,人类只需监督。 引擎通过 MCP(Model Context Protocol)暴露 104 个工具,AI Agent 可以直接调用创建游戏世界、生成音乐、物理模拟等。
GitHub: https://github.com/hvrrgfe/aetherforge
快速开始
安装
git clone https://github.com/hvrrgfe/aetherforge.git
cd aetherforge
install.bat启动 MCP Server
python -m aetherforge.mcp_server输出:
AetherForge MCP Server v2.0.0 (direct mode)
104 tools from engine reflection
Waiting for MCP client...MCP Server 启动后,AI 客户端(Codex CLI、Claude Desktop、Cursor 等)即可自动发现 104 个工具。
运行测试
python -m pytest test/ -vRelated MCP server: media-mcp
给 AI 客户端的 AGENTS.md 配置
在项目根目录的 AGENTS.md 中写入:
# AetherForge AI Agent 指南
通过 MCP 连接本地引擎,启动方式:python -m aetherforge.mcp_server
暴露 104 个工具:
| 分类 | 工具 |
|------|------|
| 实体 | create_entity, modify_entity, remove_entity, get_entity, find_entities |
| 世界 | observe, set_weather, set_player, trigger_event |
| 规则 | create_rule, remove_rule |
| 任务 | create_quest, complete_quest_step, update_quest_state |
| 行为 | set_behavior, player_interact |
| 音乐 | init_music_gen, generate_music, generate_sound_effect, select_music_model |
| 图像 | init_image_gen, generate_image, generate_texture |
| 物理 | init_physics, add_physics_body, apply_force, ray_cast |
| 3D | set_3d_mesh, set_3d_transform, add_3d_light, set_3d_camera |
| Agent | agent_start_task, agent_get_status, agent_commit, agent_rollback |
| 模型 | list_all_models, download_selected_model, search_models |
| 事务 | commit_change, rollback_change, save_project, load_project |
所有工具返回 JSON。先 observe() 看世界状态,再 create_entity 等工具修改。AI Agent 操作示例
创建游戏世界
注意:以下 JSON 字符串推荐在 AI 客户端中直接自然语言描述,引擎工具会自动解析。
create_entity(semantic_type="player", name="勇者", description="年轻的冒险者", capabilities=["move","interact"], state={"health":100})
create_entity(semantic_type="npc", name="铁匠", description="村庄铁匠,可打造武器", capabilities=["talk","trade"], state={"mood":"friendly"})
create_entity(semantic_type="key_item", name="龙泉剑", description="削铁如泥的宝剑", capabilities=["pick_up","use"], state={"attack":10})
observe()设置规则和任务
create_rule(when=["player:near(npc)"], then=["trigger_dialog()"], trigger_type="proximity")
create_quest("铁匠的委托", "帮铁匠取回工具", [{"step_id":"find_tool", "description":"在矿洞找到工具", "condition":"player.has_item(tool)"}])生成游戏音乐
init_music_gen()
select_music_model("musicgen-small")
generate_music(description="宁静的村庄背景音乐,笛子和吉他", duration=10.0)
generate_sound_effect(description="宝剑出鞘", duration=2.0)
play_music(name="bgm", file_path="assets/generated/music_xxx.wav")事务回滚
modify_entity("ent_player_id", {"state.health": 50})
rollback_change()安装 AI 模型
音乐模型(MusicGen-Small)
pip install -r requirements-audiocraft.txt
python -m aetherforge.cli model download facebook/musicgen-small或通过 Python:
from aetherforge.tools.model_manager import model_mgr
result = model_mgr.download("musicgen-small")
print(result)可用音乐模型:
模型 | 参数量 | 大小 | 说明 |
MusicGen Small | 300M | ~1.2 GB | 快速生成,推荐首选 |
MusicGen Medium | 1.5B | ~4 GB | 均衡质量 |
MusicGen Large | 3.3B | ~8 GB | 最高质量 |
MusicGen Melody | 1.5B | ~4 GB | 旋律引导 |
AudioGen | 1.5B | ~4 GB | 音效生成 |
图像模型(可选)
from aetherforge.tools.model_manager import model_mgr
result = model_mgr.download("anything-v5")
print(result)Codex 提示词模板
以下提示词可直接在 Codex CLI 中使用:
创建 RPG 村庄
你是 AetherForge 游戏引擎的 AI 操作员。MCP Server 已在本地运行。
请帮我创建一个武侠小镇:
1. 创建玩家「剑客」
2. 创建 NPC「客栈老板」(可对话、可交易)
3. 创建道具「龙泉剑」(攻击力 +10)
4. 设置靠近触发对话的规则
5. 创建任务「寻找失落的宝剑」生成游戏音乐
你现在通过 AetherForge MCP 连接了音乐生成引擎。
1. 初始化音乐引擎
2. 选择 musicgen-small 模型
3. 生成 15 秒战斗背景音乐
4. 生成 8 秒森林环境音效
5. 列出所有已生成资产自主开发循环
你正在使用 AetherForge 引擎,通过 MCP 协议操作。
执行完整的自主开发循环:
1. 查看当前世界状态(observe)
2. 创建 3 个有相互关系的实体
3. 设置 NPC 行走行为
4. 生成一段游戏音乐
5. 提交变更项目结构
aetherforge/
+-- agents/ AI Agent 运行时(7 种角色)
| +-- roles/ Explorer, Planner, Builder, Verifier, Critic, Art Director
+-- api/ 工具层 + MCP Server
| +-- engine_v2.py 104 个工具
| +-- mcp_server.py MCP 协议入口
+-- core/ 世界模型 + 语义实体
+-- runtime/ 游戏循环、事务、快照、事件日志
+-- validation/ 证据链、提交门禁、检查器
+-- ai_engines/ AI 引擎(图像/音乐生成)
+-- tools/ 模型管理器、导出、安全审查
+-- config.py 引擎配置
+-- cli.py CLI 调试工具技术栈
语言/工具 | 用途 |
Python 3.10+ | 核心引擎、AI Agent、MCP Server |
MCP | Model Context Protocol(AI 通信协议) |
Diffusers / Audiocraft | AI 图像/音乐生成 |
OpenAI 兼容 API | Agent Runtime 的 LLM 后端 |
链接
设计边界:AetherForge 适合做什么,不适合做什么
一句话定位
AetherForge 是一个 AI Agent 用来描述和管理游戏世界的工具,不是一个让人在它上面做游戏的引擎。
它是什么
AI Agent 的语义世界编辑器——用自然语言创建实体、规则、任务
一个 MCP 工具集(104 个工具),让 AI 可以通过 JSON 操作游戏状态
一个世界模型容器——管理实体位置、状态、关系、行为
一个可选渲染器——通过 Three.js 把世界状态可视化(仅查看,非游戏画面)
它不是什么
❌ 不是 Unity / Godot / Unreal 那样的实时游戏引擎
❌ 没有 2D/3D 渲染管线(Three.js 查看器仅用于调试观察)
❌ 没有固定游戏循环(没有内置的 _process(dt)/Update())
❌ 没有场景编辑器 / 可视化 IDE
❌ 没有动画系统、粒子系统、物理调试工具
那为什么 Godot 能做实时游戏?
Godot 是一个真正的实时渲染引擎:
组件 | Godot | AetherForge |
渲染 | 内置 Vulkan/OpenGL 驱动,2D/3D 管线 | 无,仅可选 Three.js 查看器 |
物理 | Bullet / GodotPhysics,全集成 | 可选 pymunk 封装,200 行 |
音频 | 专用音频服务器 | 可选 pygame 封装 |
游戏循环 | _process(dt) 自动每帧调用 | 你得自己写 while 循环 |
输入 | Input 单例,键盘/手柄/触屏 | InputManager 手动轮询 |
编辑器 | 完整 IDE,场景树/动画/粒子 | 无 |
代码量 | ~3,000,000+ 行 C++ | ~9,000 行 Python |
用户 | 人类开发者 | AI Agent |
Godot 能做,是因为它有渲染器、有物理引擎、有音频系统、有游戏循环、有编辑器——这些是一个实时游戏引擎的标配。
AetherForge 没有这些,因为它根本不是为了这个目的设计的。
适合场景
适合 ✅ | 不适合 ❌ |
RPG / 冒险游戏 | 实时射击、格斗、平台跳跃 |
AI Agent 自主构建世界 | 人类玩家实时操控 |
语义规则驱动(靠近→对话,拿到钥匙→开门) | 每帧碰撞检测 + 物理模拟 |
回合制 / 慢节奏交互 | 60fps 反应需求 |
世界状态管理 + 叙事 | 像素级渲染控制 |
原型验证 / 故事驱动的游戏设计 | 需要发布给玩家玩的成品游戏 |
类比
用 AetherForge 做飞机大战 ≈ 用 Excel 做图像处理——不是不能,但工具选错了。
AetherForge 是AI 的 RPG Maker:适合描述世界、管理状态、驱动叙事。 不是AI 的 Godot:不适合实时渲染、逐帧碰撞、毫秒级交互。
如果你需要做实时游戏
用这些工具:
Godot — 开源 2D/3D 引擎,GDScript 易上手
Unity — 全功能引擎,C# 脚本
Pygame — Python 轻量 2D 游戏库(已在本环境安装)
HTML5 Canvas + JavaScript — 浏览器即开即玩
Raylib / Love2D — 极简游戏框架
支持项目
如果 AetherForge 对你有帮助,欢迎请我喝杯咖啡 ☕

This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that enables AI assistants to directly run, inspect, modify, and debug Godot game development projects through 110+ tools covering scenes, scripts, resources, runtime debugging, and asset management.33212MIT
- AlicenseAqualityCmaintenanceAn MCP server for AI-powered media generation using Google Gemini, enabling creation of images, videos, music, and speech directly from AI agents.4MIT
- AlicenseCqualityAmaintenanceAn MCP server providing AI assistants with 149 tools to fully control the Godot game engine, including runtime code execution, scene manipulation, physics, audio, networking, animation, and more.10047382MIT

Funplay MCP for Unityofficial
Alicense-qualityAmaintenanceThis MCP server integrates AI assistants with Unity Editor, allowing them to create scenes, generate scripts, simulate input, and automate workflows using 91 built-in tools.206MIT
Related MCP Connectors
MCP server for OpenAI Sora AI video generation
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hvrrgfe/aetherforge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server