AU

ayeletstudioindia/unreal-analyzer-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

160 stars 33 forks Качество 70 Тренд 16MIT

ayeletstudioindia/unreal-analyzer-mcp — это кандидат-сервер MCP, импортированный из https://github.com/ayeletstudioindia/unreal-analyzer-mcp.

Обзор

ayeletstudioindia/unreal-analyzer-mcp — это кандидат-сервер MCP, импортированный из https://github.com/ayeletstudioindia/unreal-analyzer-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), предоставляющий мощные возможности анализа исходного кода для кодовых баз Unreal Engine. Этот инструмент позволяет ассистентам ИИ, таким как Клод и Клайн, глубоко понимать и анализировать исходный код Unreal Engine.

Особенности

  • Анализ классов: Получите подробную информацию о классах C++, включая методы, свойства и наследование
  • Отображение иерархии: визуализация и понимание иерархий наследования классов
  • Поиск по коду: Поиск по коду с контекстно-ориентированными результатами
  • Поиск ссылок: Найти все ссылки на классы, функции или переменные
  • Анализ подсистем: Анализ основных подсистем Unreal Engine, таких как рендеринг, физика и др.
  • Game Genre Knowledge: встроенная база знаний по жанрам игр, функциям и шаблонам реализации
  • Обнаружение и обучение шаблонов: Выявляет распространённые шаблоны Unreal Engine и предоставляет учебные ресурсы
  • Поддержка пользовательской кодовой базы: Анализируйте собственную кодовую базу проекта Unreal Engine

Быстрый старт

Установка

  1. Клонируйте этот репозиторий:

  2. Установка зависимостей:

  3. Постройте проект:

Конфигурация

Для настольного приложения Claude

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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

  1. Clone this repository:
git clone https://github.com/ayeletstudioindia/unreal-analyzer-mcp
cd unreal-analyzer-mcp
  1. Install dependencies:
npm install
  1. 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": {
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "unreal-analyzer": { "command": "node", "args": ["path/to/unreal-analyzer/build/index.js"], "env": {} } } }