
ayeletstudioindia/unreal-analyzer-mcp 是从 https://github.com/ayeletstudioindia/unreal-analyzer-mcp. 导入的 MCP 服务器候选。
概览
ayeletstudioindia/unreal-analyzer-mcp 是从 https://github.com/ayeletstudioindia/unreal-analyzer-mcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
一款模型上下文协议(MCP)服务器,为虚幻引擎代码库提供强大的源代码分析能力。该工具使像Claude和Cline这样的AI助手能够深入理解和分析虚幻引擎源代码。
特色
- 类分析:获取关于C++类的详细信息,包括方法、属性和继承
- 层级映射:可视化并理解类继承层级
- 代码搜索:通过上下文感知结果搜索代码
- 引用查找:定位所有类、函数或变量的引用
- 子系统分析:分析虚幻引擎的主要子系统,如渲染、物理等。
- 游戏类型知识:内置的游戏类型、功能和实现模式知识库
- 模式检测与学习:识别常见的虚幻引擎模式并提供学习资源
- 自定义代码库支持:分析您自己的虚幻引擎项目代码库
快速启动
安装
-
克隆此仓库:
-
安装依赖:
-
建设项目:
配置
克劳德桌面应用
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Unreal Engine Code Analyzer MCP Server
A Model Context Protocol (MCP) server that provides powerful source code analysis capabilities for Unreal Engine codebases. This tool enables AI assistants like Claude and Cline to deeply understand and analyze Unreal Engine source code.
Features
- Class Analysis: Get detailed information about C++ classes including methods, properties, and inheritance
- Hierarchy Mapping: Visualize and understand class inheritance hierarchies
- Code Search: Search through code with context-aware results
- Reference Finding: Locate all references to classes, functions, or variables
- Subsystem Analysis: Analyze major Unreal Engine subsystems like Rendering, Physics, etc.
- Game Genre Knowledge: Built-in knowledge base of game genres, features, and implementation patterns
- Pattern Detection & Learning: Identifies common Unreal Engine patterns and provides learning resources
- Custom Codebase Support: Analyze your own Unreal Engine project codebase
Quick Start
Installation
- Clone this repository:
git clone https://github.com/ayeletstudioindia/unreal-analyzer-mcp
cd unreal-analyzer-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
For Claude Desktop App
Add the following to your Claude desktop configuration file (%APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"unreal-analyzer": {
"command": "node",
"args": ["path/to/unreal-analyzer/build/index.js"],
"env": {}
}
}
}
For Cline
Add the following to your Cline MCP settings file (%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json on Windows):
{
"mcpServers": {
"unreal-analyzer": {
"command": "node",
"args": ["path/to/unreal-analyzer/build/index.js"],
"env": {}
}
}
}
Technical Details
The analyzer is built using:
- TypeScript for type-safe code
- Tree-sitter for robust C++ parsing
- Model Context Protocol SDK for AI assistant integration
- Glob for file pattern matching
Key dependencies:
- @modelcontextprotocol/create-server: ^0.1.0
- tree-sitter: ^0.20.1
- tree-sitter-cpp: ^0.20.0
- glob: ^8.1.0
Usage
Before using any analysis tools, you must first set either the Unreal Engine source path or a custom codebase path:
Setting Up Analysis
For Unreal Engine Source Code
{
"name": "set_unreal_path",
"arguments": {
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"unreal-analyzer": {
"command": "node",
"args": ["path/to/unreal-analyzer/build/index.js"],
"env": {}
}
}
}