0F

0xhackerfren/frida-game-hacking-mcp

Developer tools

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

93 stars 12 forks Качество 69 Тренд 1MIT

0xhackerfren/frida-game-hacking-mcp - кандидат на сервер MCP, импортированный из https://github.com/0xhackerfren/frida-game-hacking-mcp.

Обзор

0xhackerfren/frida-game-hacking-mcp - кандидат на сервер MCP, импортированный из https://github.com/0xhackerfren/frida-game-hacking-mcp.

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

Сервер Model Context Protocol (MCP), который предоставляет Cheat Engine-подобные возможности для взлома игры через Frida. Позволяет помощникам ИИ и инструментам автоматизации выполнять сканирование памяти, модификацию значений, сопоставление шаблонов, подключение функций и впрыск кода.

Особенности

Операции с памятью (Cheat Engine Style) Сканирование ценности: Найти значения в памяти по типу (int8-64, float, double, string) Уточнение сканирования: Узкие результаты с scan_next, scan_changed, scan_unchanged ** Сканирование шаблонов**: массив байтов (AoB) с поддержкой wildcard ([T3]) Чтение/Письмо: чтение и изменение памяти с осознанием типа

Функция крюка и инъекция кода

** Функции перехвата**: Крюк с onEnter/onLeave JavaScript Callbacks ** Заменить функции**: Функции возвращают пользовательские значения Модуль Хукинг: Крюк по имени module!function Резолюция по символам: решение проблемы экспорта по адресам

###Управление процессами ** Перечень процедур**: Список и фильтр запущенных процессов Attach/Detach: Подключение к запущенным процессам Spawn & Resume: процессы запуска приостановлены для раннего подключения

###Отладка

  • Переломные точки: Программные точки останова через крючки

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

README

Показан фрагмент оригинального README. Открыть оригинал.

Frida Game Hacking MCP

A Model Context Protocol (MCP) server that provides Cheat Engine-like capabilities for game hacking through Frida. Enables AI assistants and automation tools to perform memory scanning, value modification, pattern matching, function hooking, and code injection.

Features

Memory Operations (Cheat Engine Style)

  • Value Scanning: Find values in memory by type (int8-64, float, double, string)
  • Scan Refinement: Narrow results with scan_next, scan_changed, scan_unchanged
  • Pattern Scanning: Array of Bytes (AoB) with wildcard support (??)
  • Memory Read/Write: Read and modify memory with type awareness

Function Hooking & Code Injection

  • Intercept Functions: Hook with onEnter/onLeave JavaScript callbacks
  • Replace Functions: Make functions return custom values
  • Module Hooking: Hook by module!function name
  • Symbol Resolution: Resolve exports to addresses

Process Management

  • Process Enumeration: List and filter running processes
  • Attach/Detach: Connect to running processes
  • Spawn & Resume: Start processes suspended for early hooking

Debugging

  • Breakpoints: Software breakpoints via hooks
  • Register Access: Read CPU registers at breakpoints
  • Module Analysis: List modules, exports, imports

Window Interaction (Windows)

  • Screenshot Capture: Take screenshots of game windows
  • Keyboard Input: Send keystrokes to game windows
  • Window Management: List, focus, and interact with windows

Installation

# Install from PyPI (coming soon)
pip install frida-game-hacking-mcp

# Or install from source
git clone https://github.com/0xhackerfren/frida-game-hacking-mcp.git
cd frida-game-hacking-mcp
pip install -e .

Requirements

  • Python 3.10+
  • Frida 16.0+
  • pywin32, pillow (Windows, for screenshot features)
pip install frida frida-tools mcp pillow
# On Windows, also install:
pip install pywin32

Quick Start

Run the MCP Server

# Run directly
python -m frida_game_hacking_mcp

# Or use the entry point
frida-game-hacking-mcp

Configure with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "frida-game-hacking": {
      "command": "python",
      "args": ["-m", "frida_game_hacking_mcp"]
    }
  }
}

Configure with Other MCP Clients

The server uses stdio transport by default. Connect using:

  • Command: python -m frida_game_hacking_mcp
  • Transport: stdio

Usage Examples

Cheat Engine Workflow: Find and Modify Health

1. List processes and find your game
   > list_processes("game")
   
2. Attach to the game
   > attach("game.exe")
Открыть полный README на GitHub

Установка

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

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

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

{ "mcpServers": { "frida-game-hacking": { "command": "python", "args": ["-m", "frida_game_hacking_mcp"] } } }