AI

axhlzy/il2cpp-frida-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

32 stars 9 forks 品質 59 トレンド 12

il2cpp フリダ MCP サーバー

概要

IL2CPPをベースとしたモデルコンテキストプロトコル(MCP)は、AIアシスタント(Claude、Kiroなど)を直接分析し、Unity IL2CPPアプリケーションを操作できるリバースエンジニアリングツールです。 - 🔌 - USB、リモート、およびローカルデバイス接続のサポート - ◀ - リスト画像、クラス、fuzzy検索サポートのメソッド - ̇ - Frida Instruction APIに基づくメソッドの分解 - 🧠 - 実行時間オブジェクトインスタンス - 📤 - モジュールのインポートとエクスポート機能 - arbitrary JavaScriptコードを実行してFrida APIを操作 - Python 3.10 + - Node.js 16 + - Frida 17 + - frida-il2cpp-bridge - frida-il2cpp-bridge - IL2CPPランタイムブリッジ - Il2CppHookScripts - リファレンス実装

概要(AI 翻訳)

IL2CPPをベースとしたモデルコンテキストプロトコル(MCP)は、AIアシスタント(Claude、Kiroなど)を直接分析し、Unity IL2CPPアプリケーションを操作できるリバースエンジニアリングツールです。

##特徴

  • 🔌Fridaインテグレーション - USB、リモート、ローカルデバイス接続のサポート
  • IL2CPP Analysis* - リスト画像、クラス、fuzzy検索サポート付きのメソッド
  • ANSI Disassembly - Frida Instruction APIに基づくメソッド分解
  • 🧠 GCヒープ解析 - ランタイムオブジェクトインスタンスの検索
  • 📤 Import/Export - モジュールの輸入および輸出機能を見つけて下さい
  • ✓JS Execution - Frida APIを操作するための任意のJavaScriptコードを実行します

プロジェクト構成

インストール

Option 1: pip インストール (推奨)

##Option 2: 手動依存インストール

##コンパイルフリダエージェント

使用法

スタートMCPサーバー

##MCPクライアントの設定

####Claudeデスクトップ/キロ

MCP 設定ファイルに追加します。

または Python モジュールを使用して実行します。

MCP ツール

Frida 基本ツール

| ツール | 概要 | お問い合わせ |【[T0] | 取扱車両一覧 | | [[T1] | デバイス・ターゲット・プロセスに接続 | | 【[T2] | フリダ接続解除 |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

IL2CPP Frida MCP Server

A Model Context Protocol (MCP) based IL2CPP reverse engineering tool that enables AI assistants (like Claude, Kiro) to directly analyze and manipulate Unity IL2CPP applications.

Features

  • 🔌 Frida Integration - Support for USB, remote, and local device connections
  • 📦 IL2CPP Analysis - List images, classes, methods with fuzzy search support
  • 🔍 Disassembly - Method disassembly based on Frida Instruction API
  • 🧠 GC Heap Analysis - Find runtime object instances
  • 📤 Import/Export - Find module import and export functions
  • 🛠️ JS Execution - Execute arbitrary JavaScript code to manipulate Frida API

Project Structure

.
├── mcp_server.py           # Entry point
├── mcp_server/             # MCP Server module
│   ├── __init__.py
│   ├── server.py           # MCP Server core
│   ├── state.py            # Frida state management
│   ├── tools.py            # MCP tool definitions
│   ├── transport.py        # Transport layer (stdio/sse/http)
│   ├── cli.py              # Command line interface
│   ├── agent_loader.py     # Agent loader
│   └── handlers/           # Tool handlers
│       ├── __init__.py
│       ├── frida_handlers.py
│       └── il2cpp_handlers.py
├── agent/                  # Frida Agent (TypeScript)
│   ├── index.ts            # Agent entry point
│   ├── core/               # Core modules
│   │   ├── il2cpp-helper.ts
│   │   ├── method-utils.ts
│   │   └── class-finder.ts
│   └── services/           # Service modules
│       ├── image-service.ts
│       ├── class-service.ts
│       ├── method-service.ts
│       ├── disasm-service.ts
│       ├── module-service.ts
│       ├── gc-service.ts
│       └── exec-service.ts
├── _agent.js               # Compiled Agent
├── package.json
├── tsconfig.json
└── requirements.txt

Installation

# Install from source
pip install .

# Or install in development mode
pip install -e .

Option 2: Manual dependency installation

pip install -r requirements.txt

Compile Frida Agent

npm install
npm run build

Usage

Start MCP Server

# If installed via pip
il2cpp-frida-mcp                        # Interactive selection
il2cpp-frida-mcp --stdio                # stdio mode
il2cpp-frida-mcp --sse                  # SSE mode
il2cpp-frida-mcp --http                 # HTTP mode

# Or run script directly
python mcp_server.py --stdio

# Custom host and port
il2cpp-frida-mcp --sse --host 0.0.0.0 --port 9000

Configure MCP Client

Claude Desktop / Kiro

Add to your MCP configuration file:

{
  "mcpServers": {
    "il2cpp-frida": {
      "command": "il2cpp-frida-mcp",
      "args": ["--stdio"]
    }
  }
}

Or run using Python module:

{
  "mcpServers": {
    "il2cpp-frida": {
      "command": "python",
      "args": ["-m", "mcp_server", "--stdio"]
    }
  }
}

MCP Tools

GitHub で README 全文を見る

インストール

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

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "il2cpp-frida": { "command": "il2cpp-frida-mcp", "args": ["--stdio"] } } }