Huntress-MCP-Server

Huntress-MCP-Server

用于 Huntress API 集成的 MCP 服务器

Category
访问服务器

Tools

get_account_info

Get information about the current account

list_organizations

List organizations in the account

get_organization

Get details of a specific organization

list_agents

List agents in the account

get_agent

Get details of a specific agent

list_incident_reports

List incident reports

get_incident_report

Get details of a specific incident report

list_summary_reports

List summary reports

get_summary_report

Get details of a specific summary report

list_billing_reports

List billing reports

get_billing_report

Get details of a specific billing report

README

Huntress API MCP 服务器

smithery badge

一个模型上下文协议 (MCP) 服务器,提供与 Huntress API 交互的工具。 该服务器支持对 Huntress 功能的编程访问,包括帐户管理、组织管理、代理管理、事件报告等。

<a href="https://glama.ai/mcp/servers/hry99k6xc2"><img width="380" height="200" src="https://glama.ai/mcp/servers/hry99k6xc2/badge" alt="Huntress-MCP-Server MCP server" /></a>

功能

  • 帐户信息检索
  • 组织管理
  • 代理管理和监控
  • 事件报告访问
  • 摘要报告生成
  • 账单报告访问
  • 内置速率限制(每分钟 60 个请求)
  • 错误处理和响应格式化

安装

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 Huntress API MCP 服务器:

npx -y @smithery/cli install huntress-mcp-server --client claude

手动安装

  1. 克隆存储库
  2. 安装依赖项:
npm install
  1. 基于 .env.example 创建一个 .env 文件:
HUNTRESS_API_KEY=your_api_key_here
HUNTRESS_API_SECRET=your_api_secret_here
  1. 构建服务器:
npm run build

可用工具

帐户管理

  • get_account_info: 获取有关当前帐户的信息

组织管理

  • list_organizations: 列出帐户中的组织
  • get_organization: 获取特定组织的详细信息

代理管理

  • list_agents: 列出帐户中的代理
  • get_agent: 获取特定代理的详细信息

事件报告

  • list_incident_reports: 列出事件报告
  • get_incident_report: 获取特定事件报告的详细信息

摘要报告

  • list_summary_reports: 列出摘要报告
  • get_summary_report: 获取特定摘要报告的详细信息

账单报告

  • list_billing_reports: 列出账单报告
  • get_billing_report: 获取特定账单报告的详细信息

配置

服务器需要以下环境变量:

  • HUNTRESS_API_KEY: 您的 Huntress API 密钥
  • HUNTRESS_API_SECRET: 您的 Huntress API 密钥

这些可以从您的 Huntress 帐户 <your_account_subdomain>.huntress.io 的 API 凭据下获得。

与 MCP 一起使用

将以下配置添加到您的 MCP 设置:

{
  "mcpServers": {
    "huntress": {
      "command": "node",
      "args": ["path/to/huntress-server/build/index.js"],
      "env": {
        "HUNTRESS_API_KEY": "your_api_key_here",
        "HUNTRESS_API_SECRET": "your_api_secret_here"
      }
    }
  }
}

速率限制

该服务器实现了 Huntress API 的速率限制,即在滑动窗口上每分钟 60 个请求。 这意味着:

  • 在任何 60 秒的时间段内,最多可以发出 60 个请求
  • 窗口滑动,因此如果在 T0 发出请求 1,在 T30 发出请求 60,则请求 61 必须等到 T60

错误处理

服务器处理各种错误情况:

  • 无效的 API 凭据
  • 超过速率限制
  • 无效的请求参数
  • API 响应错误

许可证

MIT 许可证 - 有关详细信息,请参见 LICENSE 文件

推荐服务器

Baidu Map

Baidu Map

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

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

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

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

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

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

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

官方
精选
本地
TypeScript
VeyraX

VeyraX

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

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

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

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

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

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

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

官方
精选