modelscope·@0xhackerfren/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.
scan_next, scan_changed, scan_unchanged??)onEnter/onLeave JavaScript callbacksmodule!function name# 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 .
pip install frida frida-tools mcp pillow
# On Windows, also install:
pip install pywin32
# Run directly
python -m frida_game_hacking_mcp
# Or use the entry point
frida-game-hacking-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"frida-game-hacking": {
"command": "python",
"args": ["-m", "frida_game_hacking_mcp"]
}
}
}
The server uses stdio transport by default. Connect using:
python -m frida_game_hacking_mcp1. 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
# 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
# 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);")
# Start process suspended
> spawn("C:/Games/game.exe")
# Set up hooks before code runs
> hook_function("0x401234", on_enter="...")
# Resume execution
> resume()
| Tool | Description |
|---|---|
list_processes | Enumerate running processes |
attach | Attach to process by name or PID |
detach | Detach from current process |
spawn | Start process suspended |
resume | Resume spawned process |
get_session_info | Get current session status |
| Tool | Description |
|---|---|
read_memory | Read bytes at address |
write_memory | Write bytes/values to address |
scan_value | Initial scan for exact value |
scan_next | Narrow scan with new value |
scan_changed | Find changed values |
scan_unchanged | Find unchanged values |
scan_pattern | AoB pattern scan with wildcards |
get_scan_results | Get current scan results |
clear_scan | Reset scan state |
list_memory_regions | List memory regions |
| Tool | Description |
|---|---|
list_modules | List loaded modules/DLLs |
get_module_info | Get module details |
get_module_exports | List module exports |
get_module_imports | List module imports |
resolve_symbol | Resolve symbol to address |
| Tool | Description |
|---|---|
hook_function | Hook with callbacks |
unhook_function | Remove hook |
replace_function | Replace function return |
hook_native_function | Hook with calling convention |
list_hooks | List active hooks |
intercept_module_function | Hook by module!function |
| Tool | Description |
|---|---|
set_breakpoint | Set software breakpoint |
remove_breakpoint | Remove breakpoint |
list_breakpoints | List breakpoints |
| `read_r… |
一种怀旧的虚拟宠物体验,适合人工智能时代,让你可以领养、养育并与自己的数字伙伴玩耍,该伙伴会根据你的照顾而进化。
一个服务器,允许用户与任何大语言模型对弈国际象棋,具有可视化棋盘、用标准符号进行走子以及从PGN文件分析局面的功能。
暂无描述。
暂无描述。
RandomWeb3MCP 是基于 EVM 区块哈希的随机元素生成服务。该服务提供了多种随机元素生成工具,可应用于游戏、金融、测试等领域。
暂无描述。