WM

w0h1v/mcp-virustotal

开发工具

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

157 stars 24 forks 质量 77 趋势 21MIT

w0h1v/mcp-virustotal 是从 https://github.com/w0h1v/mcp-virustotal. 导入的 MCP 服务器候选

概览

w0h1v/mcp-virustotal 是从 https://github.com/w0h1v/mcp-virustotal. 导入的 MCP 服务器候选

概述(AI 翻译)

快速入门 · 工具 · HTTP · 安全· 排查 · 文档

mcp-virustotal 是一个MCP服务器,为AI代理提供了VirusTotal v3 API的访问权限。给你的代理一个哈希、URL、IP或域,就能获得检测报告以及分析师会关注的关系:联系主机、丢弃文件、解决方案、威胁行为者。

[!注] 独立项目,与 VirusTotal 或 Google 无关。你需要自己的 VirusTotal API 密钥。

精彩片段

  • 带关系的报告。 文件、URL、IP 和域报告通过一次批量调用获取密钥关系以节省配额。
  • 先缓存。 get_url_report 返回缓存中的 VirusTotal 报告,仅在缓存未命中时提交扫描。
  • Pivot工具。 带VTI风格修饰符(type:peexe positives:5+)的语料库搜索,合并沙盒行为摘要,以及威胁行为者和恶意软件家族集合。
  • 完整的关系分页。 100+ 种跨文件、URL、IP 和域名的关系类型,带光标分页。
  • 两个传输。 桌面客户端使用 stdio,共享服务使用 HTTP 流媒体。
  • 已测试。 在节点20、22和24上运行的格式化器和API层单元测试。

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

README

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

Quickstart · Tools · HTTP · Security · Troubleshooting · Docs

mcp-virustotal is an MCP server that gives AI agents access to the VirusTotal v3 API. Hand your agent a hash, URL, IP or domain and get back the detection report plus the relationships an analyst would pivot on: contacted hosts, dropped files, resolutions, threat actors.

[!NOTE] Independent project, not affiliated with VirusTotal or Google. You need your own VirusTotal API key.

Highlights

  • Reports with relationships. File, URL, IP and domain reports fetch key relationships in one batched ?relationships= call to save quota.
  • Cache first. get_url_report returns the cached VirusTotal report and only submits a scan on a cache miss.
  • Pivot tools. Corpus search with VTI-style modifiers (type:peexe positives:5+), merged sandbox behaviour summaries, and threat-actor and malware-family collections.
  • Full relationship paging. 100+ relationship types across files, URLs, IPs and domains, with cursor pagination.
  • Two transports. stdio for desktop clients, HTTP streaming for a shared service.
  • Tested. Unit tests for the formatters and API layer run in CI on Node 20, 22 and 24.

How it works

flowchart LR
    A["AI agent(Claude, Codex, Gemini, VS Code)"] -->|"MCP over stdio or HTTP"| S["mcp-virustotal"]
    S -->|"validate input,HTTPS + API key"| V["VirusTotal v3 API"]
    V -->|"JSON"| S
    S -->|"formatted report text"| A

Quickstart

Requirements: Node.js 20 or newer and a VirusTotal API key.

# Claude Code
claude mcp add --transport stdio --env VIRUSTOTAL_API_KEY=your-key virustotal -- npx -y @burtthecoder/mcp-virustotal
在 GitHub 查看完整 README

安装

docker run -p 127.0.0.1:3000:3000 -e VIRUSTOTAL_API_KEY=your-key -e MCP_TRANSPORT=httpStream mcp-virustotal
新手?先看 mcpskill.org 教程 →