Allows analysis of repository code, providing tools for understanding project structure and dependencies in Galacean Engine projects.
Enables project analysis and code generation within Node.js environments, supporting Galacean Engine development workflows.
Supports code generation and validation for TypeScript-based Galacean Engine projects, ensuring type safety and adherence to engine patterns.
Engine-MCP
大模型引擎代码理解与生成系统
⚠️ 开发状态:此项目目前处于早期开发阶段,尚未发布可用版本
Engine-MCP (Model Context Protocol for Engine) 是一个专门为 Galacean Engine 设计的智能代码理解与生成系统,旨在让大语言模型能够快速理解引擎架构、API 使用方式,并根据用户意图生成高质量的引擎代码。
🎯 项目目标
- 🧠 代码理解: 让 LLM 深度理解 Galacean Engine 的架构和设计模式
- 🚀 智能生成: 根据自然语言描述生成符合引擎规范的代码
- 📚 最佳实践: 确保生成的代码遵循引擎的最佳实践
- 🎨 上下文感知: 基于现有项目结构生成一致的代码
📁 项目结构
🛠 核心组件
1. 知识图谱构建器
- 分析 Galacean Engine 源码
- 构建组件关系图谱
- 提取 API 信息和最佳实践
2. 上下文提取器
- 分析用户项目结构
- 提取代码风格和依赖关系
- 识别项目特征
3. 意图解析器
- 解析自然语言描述
- 识别开发任务类型
- 提取参数和约束条件
4. 代码生成器
- 基于模板生成代码
- 应用最佳实践规则
- 优化代码结构
5. 质量验证器
- 验证语法正确性
- 检查类型安全
- 评估性能影响
📚 开发者指南
环境要求
- Node.js >= 16.x
- TypeScript >= 4.x
- Galacean Engine 项目 (用于测试)
贡献代码
由于项目处于早期开发阶段,我们欢迎各种形式的贡献:
- 🐛 问题反馈和建议
- 📝 文档改进
- 💡 功能设计讨论
- 🔧 代码贡献
🎨 预期使用示例
⚠️ 以下示例展示项目完成后的预期API,当前版本尚未实现
预期生成效果
📖 文档
📄 许可证
本项目采用 MIT 许可证 - 详见 LICENSE 文件
🔗 相关链接
This server cannot be installed
A code understanding and generation system designed for Galacean Engine that helps LLMs comprehend the engine architecture and generate high-quality engine code based on user intent.
Related MCP Servers
- -securityAlicense-qualityProvides deep source code analysis for Unreal Engine codebases, allowing AI assistants to understand C++ class structures, search code, and analyze subsystems.Last updated -88TypeScriptMIT License
- -securityFlicense-qualityProvides code generation and completion capabilities using the DeepSeek API, with support for tool chaining and cost optimization.Last updated -3JavaScript
- -securityAlicense-qualityAn intelligent codebase processing server that provides agentic RAG capabilities for code repositories, enabling semantic search and contextual understanding through self-evaluating retrieval loops.Last updated -PythonMIT License
- AsecurityAlicenseAqualityA coding agent toolkit that transforms LLMs into coding assistants capable of working directly on your codebase with semantic code retrieval and editing tools, providing IDE-like capabilities without requiring API subscriptions.Last updated -33PythonMIT License