OSINT自动化服务

SpiderFoot MCP Server是一个提供OSINT自动化能力的模型上下文协议服务器,支持AI助手和其他MCP客户端使用。

  • by marlinkcyber
  • Python
  • 本地部署
  • 6 星标
  • 更新于
在 GitHub 查看 marlinkcyber/spiderfoot-mcp

使用说明

SpiderFoot MCP服务器

一种模型上下文协议(MCP)服务器,为AI助手和其他MCP客户端提供SpiderFoot OSINT自动化功能。

安装

pip install spiderfoot-mcp

配置

设置以下环境变量或创建 .env 文件:

SPIDERFOOT_URL=http://localhost:5001
SPIDERFOOT_USERNAME=admin
SPIDERFOOT_PASSWORD=your_password

用法

作为MCP服务器

启动MCP服务器:

spiderfoot-mcp

服务器将把SpiderFoot功能作为MCP工具公开,供AI助手使用。

可用工具

MCP服务器提供以下工具:

  • start_scan:开始新的蜘蛛脚扫描
  • get_scan_status:获取扫描的当前状态
  • list_scans:列出服务器上的所有扫描
  • stop_scan:停止正在运行的扫描
  • delete_scan:删除扫描及其数据
  • get_scan_results:从扫描中获取结果
  • get_scan_summary:获取扫描结果摘要
  • wait_for_scan_completion:等待扫描完成
  • export_scan_results:以各种格式导出扫描结果
  • get_available_modules:获取可用SpiderFoot模块列表
  • search_scan_results:在扫描结果中搜索
  • get_scan_log:获取扫描日志条目
  • get_active_scans_summary:获取跟踪扫描的摘要
  • ping:测试与SpiderFoot服务器的连接

MCP客户端配置

要将此服务器与Claude Desktop或其他MCP客户端一起使用,请在MCP配置中添加以下内容:

{
  "mcpServers": {
    "spiderfoot": {
      "command": "spiderfoot-mcp",
      "env": {
        "SPIDERFOOT_URL": "http://localhost:5001",
        "SPIDERFOOT_USERNAME": "admin",
        "SPIDERFOOT_PASSWORD": "your_password"
      }
    }
  }
}

需求

  • Python 3.8+
  • spiderfoot客户端>=1.0.0
  • fastmcp>=2.10.0
  • python dotenv>=1.0.0
  • 正在运行的SpiderFoot实例

依赖项

此套餐取决于 spiderfoot-client 包,它提供了SpiderFoot API客户端的底层功能。

许可证

MIT许可证