II

illegal-instruction-co/processhacker-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

50 stars 8 forks 质量 68 趋势 0MIT

illegal-instruction-co/processhacker-mcp 是从 https://github.com/illegal-instruction-co/processhacker-mcp. 导入的 MCP 服务器候选

概览

illegal-instruction-co/processhacker-mcp 是从 https://github.com/illegal-instruction-co/processhacker-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

这是一个用于运行时分析和进程黑客的动态MCP服务器。它类似于ProcessHacker,但针对AI代理。

布置

  1. 在Visual Studio中打开文件夹(它有cmakelists)
  2. 全部构建(ctrl+shift+b)
  3. 它会生成 ProcessHackerMCP.exe 和 extensions/ 文件夹。
  4. 运行 exe。它通过 stdin/stdout 通信。

编辑器集成

你可以配置你的AI代理/编辑器使用这个服务器。以下是mcp_config.json(或等效)设置。确保将绝对路径设置到.exe。

光标 / 双子座(反重力)/ 克劳德桌面

把这个添加到你的MCP配置文件里:

VSCODE(克莱恩)

进入Cline设置 ->MCP服务器,添加:

注意: 如果MCP服务器发送大量负载(例如读取1GB内存),部分编辑器可能会卡死。核心现在有2MB的有效载荷保护限制,但在查询大型进程时尽量使用limit和offset参数。

特工护栏与遥测(新增于v1.1.0)

我们加入了一些企业级代理逻辑,防止流氓机器人对你的主机进行核弹攻击。

  • 只读模式: 在你的 mcp 配置中将 "args": [] 改为 "args": ["--read-only"]。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

processhacker mcp

this is dynamic mcp server for runtime analysis and process hacking. it is like processhacker but for ai agents.

setup

  1. open folder in visual studio (it has cmakelists)
  2. build all (ctrl+shift+b)
  3. it makes ProcessHackerMCP.exe and extensions/ folder.
  4. run exe. it communicates via stdin/stdout.

editor integration

you can configure your ai agent/editor to use this server. below are the mcp_config.json (or equivalent) settings. make sure to put the absolute path to the .exe.

cursor / gemini (antigravity) / claude desktop

add this to your mcp configuration file:

{
  "mcpServers": {
    "processhacker": {
      "command": "C:\\absolute\\path\\to\\ProcessHackerMCP.exe",
      "args": []
    }
  }
}

vscode (cline)

go to cline settings -> mcp servers and add:

{
  "mcpServers": {
    "processhacker": {
      "command": "C:\\absolute\\path\\to\\ProcessHackerMCP.exe",
      "args": []
    }
  }
}

note: some editors might freeze if the mcp server sends a huge payload (e.g. reading 1GB of memory). the core now has a 2MB payload protection limit, but try to use limit and offset arguments when querying big processes.

agent guardrails & telemetry (new in v1.1.0)

we added some enterprise-grade agent logic to stop rogue bots from nuking your host machine.

  • Read-Only Mode: change "args": [] to "args": ["--read-only"] in your mcp config. if the ai tries to write memory or suspend threads (destructive actions), the core blocks it.
  • Audit Log: all tool calls (and their args) are saved to processhacker_audit.log. destructive actions are tagged with [WARNING: DESTRUCTIVE].
  • Loop Breaker (Rate Limit): if an ai agent panics and calls 50 tools in 1 minute (brute-forcing memory), the core locks it out for 30 seconds. write a c++ extension for heavy scanning, don’t spam rpc.
  • Loud Failures: if reading unmapped memory fails, the ai gets a clear hint to use ph_query_memory_regions instead of just a generic error.

how to make extension (for bypass etc)

core is just router. all tools are in dll plugins.

if u want make stealth bypass (like vehbutnot or direct syscall):

  1. copy extensions/sample_ext folder.
  2. write your code in c or c++.
  3. setup McpToolRegistration and set isDestructive = true if your tool mutates state (writes memory, sets hooks).
  4. u must export InitMcpExtension.
  5. put your compiled .dll inside extensions/ folder.
  6. exe will auto load your dll on start and ai agent will see your new tool.
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "processhacker": { "command": "C:\\absolute\\path\\to\\ProcessHackerMCP.exe", "args": [] } } }