對交付的未知二進位檔進行分類
何時使用: 你拿到一個建置產物,想在不撰寫腳本的情況下了解其內容。
步驟
-
分析analyze /path/to/blob;分析器回傳格式與摘要。✓ 已複製→ 格式已識別
-
深入請 Claude 提取特定區段。✓ 已複製→ 回傳結構化切片
結果: 你知道該產物是什麼,以及其中的值得注意之處。
作者 Mouseww · Mouseww/anything-analyzer
將任何協定封包、二進位 blob、封存檔或日誌丟給 Claude,取回結構化分析——pcap、ELF、ZIP、JSON-RPC,無所不包。
Anything Analyzer 將一系列檔案/協定解析器封裝在單一 MCP 伺服器後端。Claude 呼叫 analyze() 並傳入路徑,系統會派發正確的解析器:pcap → 會話流、ELF → 區段、ZIP → 清單,以此類推。
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"anything-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
}
}
開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。
{
"mcpServers": {
"anything-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
}
}
Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。
{
"mcpServers": {
"anything-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
}
}
點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。
{
"mcpServers": {
"anything-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
}
}
格式與 Claude Desktop 相同。重啟 Windsurf 生效。
{
"mcpServers": [
{
"name": "anything-analyzer-mcp",
"command": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
]
}
Continue 使用伺服器物件陣列,而非映射。
{
"context_servers": {
"anything-analyzer-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"anything-analyzer-mcp"
]
}
}
}
}
加入 context_servers。Zed 儲存後熱重載。
claude mcp add anything-analyzer-mcp -- npx -y anything-analyzer-mcp
一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。
何時使用: 你拿到一個建置產物,想在不撰寫腳本的情況下了解其內容。
結果: 你知道該產物是什麼,以及其中的值得注意之處。
將檔案路徑傳給 Claude;分析器從磁碟讀取
| 工具 | 輸入參數 | 何時呼叫 | 成本 |
|---|---|---|---|
| analyze | (詳見文件) | 自動偵測並解析一個檔案 | 1 次呼叫 |
| extract | (詳見文件) | 提取指定的區段/欄位 | 1 次呼叫 |
未知格式傳入 --type 強制指定解析器;預設使用 magic bytes 偵測
| 替代方案 | 何時用它替代 | 權衡 |
|---|---|---|
| 手動 `file` + 腳本 | 一次性使用 | Claude 無法取得結構化輸出 |