PCM

PCM

用于逆向工程的 MCP 服务器,它能够与 IDA Pro 交互,以进行反编译、反汇编和内存交互报告等分析任务。

Category
访问服务器

Tools

cache-stats

Get CCXT cache statistics

clear-cache

Clear CCXT cache

set-log-level

Set logging level

list-exchanges

List all available cryptocurrency exchanges

get-ticker

Get current ticker information for a trading pair

batch-get-tickers

Get ticker information for multiple trading pairs at once

get-orderbook

Get market order book for a trading pair

get-ohlcv

Get OHLCV candlestick data for a trading pair

get-trades

Get recent trades for a trading pair

get-markets

Get all available markets for an exchange

get-exchange-info

Get exchange information and status

get-leverage-tiers

Get futures leverage tiers for trading pairs

get-funding-rates

Get current funding rates for perpetual contracts

get-market-types

Get market types supported by an exchange

account-balance

Get your account balance from a crypto exchange

place-market-order

Place a market order on an exchange

set-leverage

Set leverage for futures trading

set-margin-mode

Set margin mode for futures trading

place-futures-market-order

Place a futures market order

get-proxy-config

Get the current proxy configuration

set-proxy-config

Configure proxy settings for all exchanges

test-proxy-connection

Test the proxy connection with a specified exchange

clear-exchange-cache

Clear exchange instance cache to apply configuration changes

set-market-type

Set default market type for all exchanges

README

pcm

PCM (MCP 的反向工程版本), 用于逆向工程的 MCP。

特性

  • 分析
    • IDA
      • repl (IDAPython)
      • 反汇编
      • 反编译
      • 设置类型
      • ...
  • 内存
    • 分析报告 reports

<details> <summary>完整特性列表</summary>

- `get_function_by_name(name)`: 通过名称获取函数。
- `get_function_by_address(address)`: 通过地址获取函数。
- `get_current_address()`: 获取用户当前选择的地址。
- `get_current_function()`: 获取用户当前选择的函数。
- `list_functions()`: 列出数据库中的所有函数。
- `decompile_function(address)`: 使用 Hex-Rays 反编译给定地址的函数。
- `disassemble_function(address)`: 获取函数的汇编代码 (地址: 指令; 注释)。
- `get_entrypoints()`: 获取二进制文件中的所有入口点。
- `get_function_blocks(address)`: 获取函数中的所有基本块。
- `get_function_cfg(address)`: 获取函数的控制流图。
- `get_xrefs_to(address)`: 获取对给定地址的所有交叉引用。
- `get_xrefs_from(address)`: 获取从给定地址的所有交叉引用。
- `set_decompiler_comment(address, comment)`: 在函数伪代码中为给定地址设置注释。
- `set_disassembly_comment(address, comment)`: 在函数反汇编中为给定地址设置注释。
- `rename_local_variable(function_address, old_name, new_name)`: 重命名函数中的局部变量。
- `rename_function(function_address, new_name)`: 重命名函数。
- `set_function_prototype(function_address, prototype)`: 设置函数的原型。
- `set_local_variable_type(function_address, variable_name, new_type)`: 设置局部变量的类型。
- `create_structure_type(name, members, is_union)`: 创建新的结构体类型。
- `get_metadata()`: 获取有关当前 IDB 的元数据。
- `repl_idapython(content)`: 运行 IDAPython 代码并返回捕获的 stdout/stderr 结果。
- `add_note(title, content, address, tags)`: 为当前二进制文件添加新的分析笔记。
- `update_note(note_id, title, content, tags)`: 更新现有笔记。
- `get_notes(file_md5, address, tag)`: 获取二进制文件的分析笔记。
- `delete_note(note_id)`: 删除分析笔记。

</details>

安装

前提条件:

  1. 克隆仓库
    git clone https://github.com/rand-tech/pcm
    
  2. 将 pcm 添加到你的 mcp 配置中 示例
    {
        "mcpServers": {
            "pcm": {
                "command": "uv",
                "args": [
                    "--directory",
                    "path_to/pcm",
                    "run",
                    "server.py"
                ]
            }
        }
    }
    
  3. 使用 MCP

相关项目:

致谢: 本项目基于 Duncan Ogilvie (@mrexodia) 的 IDA Pro MCP。 感谢您。

许可证: 本项目基于 MIT 许可证 - 详细信息请参阅 LICENSE 文件。 原始代码也基于 MIT 许可证。

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选