PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversgames-and-gamificationfrida-game-hacking-mcp
返回「games-and-gamification」

frida-game-hacking-mcp

modelscope·@0xhackerfren/frida-game-hacking-mcp

games-and-gamification0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

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.

MCP Python Frida License

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")
   
3. Initial scan for current health value (e.g., 100)
   > scan_value(100, "int32")
   Found: 58,869 addresses
   
4. Take damage in game (health now 95)
   > scan_next(95)
   Narrowed to: 1,419 addresses
   
5. Repeat until you find the address
   > scan_next(90)
   Narrowed to: 3 addresses
   
6. Get results and modify
   > get_scan_results()
   > write_memory("0x12345678", "E7030000")  # 999 in little-endian

Array of Bytes Pattern Scanning

# Find code pattern (works across game updates)
> attach("game.exe")
> scan_pattern("89 47 44 ?? ?? 5B 7A", "r-x")
Found: 2 matches

# ?? = wildcard bytes
# "r-x" = executable memory regions

Function Hooking

# Hook a function and log calls
> hook_function("0x401234",
    on_enter="console.log('Args:', args[0], args[1]);",
    on_leave="console.log('Return:', retval);")

# Make a function always return success
> replace_function("0x401234", 1)

# Hook by module and function name
> intercept_module_function("game.dll", "CheckLicense",
    on_leave="retval.replace(1);")

Early Hooking (Spawn Suspended)

# Start process suspended
> spawn("C:/Games/game.exe")

# Set up hooks before code runs
> hook_function("0x401234", on_enter="...")

# Resume execution
> resume()

Available Tools (42 Total)

Process Management (6)

ToolDescription
list_processesEnumerate running processes
attachAttach to process by name or PID
detachDetach from current process
spawnStart process suspended
resumeResume spawned process
get_session_infoGet current session status

Memory Operations (10)

ToolDescription
read_memoryRead bytes at address
write_memoryWrite bytes/values to address
scan_valueInitial scan for exact value
scan_nextNarrow scan with new value
scan_changedFind changed values
scan_unchangedFind unchanged values
scan_patternAoB pattern scan with wildcards
get_scan_resultsGet current scan results
clear_scanReset scan state
list_memory_regionsList memory regions

Module Information (5)

ToolDescription
list_modulesList loaded modules/DLLs
get_module_infoGet module details
get_module_exportsList module exports
get_module_importsList module imports
resolve_symbolResolve symbol to address

Function Hooking (6)

ToolDescription
hook_functionHook with callbacks
unhook_functionRemove hook
replace_functionReplace function return
hook_native_functionHook with calling convention
list_hooksList active hooks
intercept_module_functionHook by module!function

Debugging (4)

ToolDescription
set_breakpointSet software breakpoint
remove_breakpointRemove breakpoint
list_breakpointsList breakpoints
`read_r…

相关 MCP Servers(来自「games-and-gamification」)

mcpet伙伴

一种怀旧的虚拟宠物体验,适合人工智能时代,让你可以领养、养育并与自己的数字伙伴玩耍,该伙伴会根据你的照顾而进化。

@shreyaskarnik/mcpet

模型棋盘棋

一个服务器,允许用户与任何大语言模型对弈国际象棋,具有可视化棋盘、用标准符号进行走子以及从PGN文件分析局面的功能。

@jiayao/mcp-chess

mcsm-mcp

暂无描述。

@SMGoro/mcsm-mcp

minecraft-bedrock-education-mcp

暂无描述。

@Mming-Lab/minecraft-bedrock-education-mcp

RandomWeb3MCP 随机生成器

RandomWeb3MCP 是基于 EVM 区块哈希的随机元素生成服务。该服务提供了多种随机元素生成工具,可应用于游戏、金融、测试等领域。

@suxiongye/random-web3-mcp

runescape-wiki-mcp

暂无描述。

@birdwell/runescape-wiki-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/0xhackerfren-frida-game-hacking-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

# 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 .

基本信息

分类
games-and-gamification / code-execution / security-and-iam
运行方式
No
许可证
MIT License
详情文件
0xhackerfren-frida-game-hacking-mcp.md