Skip to content

v0.0.2

Latest

Choose a tag to compare

@intbjw intbjw released this 25 Apr 09:00

变更内容

Bug 修复

  • 修复 @mcp.tool 返回类型 dict[str, Any] | None 导致 Pydantic v2 PydanticUserError 启动崩溃问题

新增功能

  • fofa_search_next_tool:基于游标(next)的翻页查询,适合大批量数据抓取(/api/v1/search/next)
  • fofa_stats_tool:聚合统计查询结果的字段 TOP N 分布,如 country / port / product(/api/v1/search/stats)
  • fofa_host_tool:查询指定 IP 或域名的 host 聚合信息,包含端口、协议、产品等(/api/v1/host/{host})

优化

  • 完善所有 @mcp.tool 函数的参数说明文档