Huntress

io.github.wyre-technology由 GitHub 帳號 wyre-technology 發布v1.2.19更新於 Oct 24, 2026

MCP server for Huntress — accounts, organizations, agents, incidents, and reports.

已驗證STDIO僅桌面安全與監控商業與電商

概覽

AI 產生的概覽

面向 Huntress 網路安全平台的 MCP 伺服器,讓助理以結構化方式存取帳戶、組織、代理程式、事件與報告。

可以做什麼
  • 透過導覽工具瀏覽 Huntress 各領域,並依需求載入對應領域的工具
  • 讀取帳戶資訊與目前操作者
  • 列出並檢視代理程式,以及列出、取得、建立、更新或刪除組織
  • 處理事件報告、修復項目與升級事項,包括解決、核准或拒絕
  • 讀取帳務與彙總報告,並列出或檢視安全訊號
  • 以列出、取得、建立、更新和刪除管理組織成員關係
適用情境
適合託管服務供應商或安全團隊,讓助理不必切換到 Huntress 主控台,就能分流事件、檢視升級與修復項目,或查詢組織、代理程式與帳務資料。
執行需求
以 stdio 本機程序或 HTTP 容器方式執行。需要 Huntress API 金鑰與密鑰:stdio 或 env 驗證模式下透過 HUNTRESS_API_KEY 與 HUNTRESS_API_SECRET 提供。HTTP 模式另需 CONDUIT_S2S_SECRET,閘道模式下每個請求需帶 X-Huntress-Api-Key 與 X-Huntress-Api-Secret 標頭。僅 npx 或原始碼方式需要 Node.js。
安裝前請注意
這些憑證可存取安全平台,應將 HUNTRESS_API_KEY、HUNTRESS_API_SECRET 與 CONDUIT_S2S_SECRET 視為敏感資訊,切勿提交到版本庫。工具可建立、更新和刪除組織與成員關係,並可解決事件、核准或拒絕修復項目、解決升級事項,因此會直接變更線上平台。HTTP 容器預設綁定 0.0.0.0 且預設為閘道驗證模式;MCP_ALLOW_INSECURE_DEV 會關閉請求驗證,僅限本機開發使用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Huntress,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Huntress MCP Server

[Build Status] [License] [Node.js]

A Model Context Protocol (MCP) server that provides AI assistants with structured access to Huntress cybersecurity platform data and operations.

Note: This project is maintained by Wyre Technology.

Quick Start

Claude Desktop — download, open, done:

  1. Download huntress-mcp.mcpb from the latest release
  2. Open the file (double-click or drag into Claude Desktop)
  3. Enter your Huntress credentials when prompted (API Key, API Secret)

No terminal, no JSON editing, no Node.js install required.

Claude Code (CLI):

bash
claude mcp add huntress-mcp \  -e HUNTRESS_API_KEY=your-api-key \  -e HUNTRESS_API_SECRET=your-api-secret \  -- npx -y github:WYRE-AI/huntress-mcp

See Installation for Docker and from-source methods.

Features

  • 🔌 MCP Protocol Compliance: Full support for MCP resources and tools
  • 🛡️ Comprehensive Security Coverage: Tools spanning agents, organizations, incidents, escalations, billing, signals, and users
  • 🔍 Decision-Tree Navigation: Start with huntress_navigate to explore domains, then dynamically load domain-specific tools
  • 📝 CRUD Operations: Create, read, update, delete operations for organizations, memberships, incidents, and more
  • 🔒 Secure Authentication: HTTP Basic Auth with Huntress API credentials
  • 🌐 Dual Transport: Supports both stdio (local) and HTTP Streamable (remote/Docker) transports
  • 📦 MCPB Packaging: One-click installation via MCP Bundle for desktop clients
  • 🐳 Docker Ready: Containerized deployment with HTTP transport and health checks
  • ⚡ Rate Limiting: Built-in rate limiter respects Huntress API limits (60 req/min)
  • 📊 Structured Logging: Comprehensive logging with configurable levels

Table of Contents

Installation

Option 1: MCPB Bundle (Claude Desktop)

The simplest method — no terminal, no JSON editing, no Node.js install required.

  1. Download huntress-mcp.mcpb from the latest release
  2. Open the file (double-click or drag into Claude Desktop)
  3. Enter your Huntress credentials when prompted (API Key, API Secret)

For Claude Code (CLI), one command:

bash
claude mcp add huntress-mcp \  -e HUNTRESS_API_KEY=your-api-key \  -e HUNTRESS_API_SECRET=your-api-secret \  -- npx -y github:WYRE-AI/huntress-mcp

Option 2: Docker

The image listens on 0.0.0.0 inside the container and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the service-to-service secret. In gateway mode, Huntress credentials arrive on each request as headers; they are not read from the environment.

bash
docker run -d \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  ghcr.io/wyre-ai/huntress-mcp:latest

Compose refuses to start when CONDUIT_S2S_SECRET is unset:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Option 3: From Source

bash
git clone https://github.com/WYRE-AI/huntress-mcp.gitcd huntress-mcpnpm cinpm run build

Configuration

Copy .env.example and set the variables below.

VariableRequiredDescription
HUNTRESS_API_KEYFor stdio and AUTH_MODE=envHuntress API public key
HUNTRESS_API_SECRETFor stdio and AUTH_MODE=envHuntress API secret
MCP_TRANSPORTNostdio (default) or http
AUTH_MODENogateway (Docker image and Compose default) or env. Gateway mode requires X-Huntress-Api-Key and X-Huntress-Api-Secret on each /mcp request and never falls back to HUNTRESS_*. env uses those variables only after S2S auth succeeds.
CONDUIT_S2S_SECRETYes for HTTPService-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder (changeme, secret, replace-me, your-s2s-secret, and the other example values). Compose will not start without it. Never commit a real value. Generate one with openssl rand -hex 32.
MCP_ALLOW_INSECURE_DEVNoSet to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and listens on 127.0.0.1 only. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) is ignored and the override is logged. A known placeholder secret is still refused.
MCP_HTTP_HOSTNoBind address when CONDUIT_S2S_SECRET is set. Defaults to 127.0.0.1 when unset. The container image sets 0.0.0.0.
MCP_HTTP_PORTNoHTTP port. Defaults to 8080.
LOG_LEVELNoLog level (debug, info, warn, error). Defaults to info.

/health and /healthz stay unauthenticated and do not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S:

t=<unix seconds>,v1=<hex hmac-sha256>

v1 is HMAC-SHA256 over the exact message t=<unix seconds>, keyed with CONDUIT_S2S_SECRET, hex-encoded. The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401. The secret is never written to logs.

javascript
import { createHmac } from 'node:crypto';
const t = Math.floor(Date.now() / 1000);const v1 = createHmac('sha256', process.env.CONDUIT_S2S_SECRET).update(`t=${t}`).digest('hex');const xGatewayS2s = `t=${t},v1=${v1}`;

In AUTH_MODE=gateway, /mcp also requires X-Huntress-Api-Key and X-Huntress-Api-Secret. Those headers are the only credential source for that request. A request missing either header returns 401 and does not fall back to HUNTRESS_API_KEY / HUNTRESS_API_SECRET.

javascript
await fetch('http://127.0.0.1:8080/mcp', {  method: 'POST',  headers: {    'content-type': 'application/json',    accept: 'application/json, text/event-stream',    'x-gateway-s2s': xGatewayS2s,    'x-huntress-api-key': apiKey,    'x-huntress-api-secret': apiSecret,  },  body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }),});

Domains

The server uses decision-tree navigation. Start with huntress_navigate to pick a domain:

DomainTools
accountsGet account info, get current actor
agentsList agents, get agent by ID
organizationsList, get, create, update, delete organizations
incidentsIncident reports (list/get/resolve), remediations (list/get/approve/reject), escalations (list/get/resolve)
billingBilling reports, summary reports
signalsList/get security signals
usersMembership CRUD (list/get/create/update/delete)

Docker Deployment

See docker-compose.yml for full configuration. The checked-in Compose service is gateway mode. It does not set HUNTRESS_API_KEY or HUNTRESS_API_SECRET and does not use env_file, so a project .env cannot inject static vendor credentials into the container. Compose still interpolates CONDUIT_S2S_SECRET from that file and will not start when it is unset. The port is published on 127.0.0.1.

bash
cp .env.example .env# Set CONDUIT_S2S_SECRET. Leave it empty in the example; never commit a real value.CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up -d

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses HUNTRESS_API_KEY and HUNTRESS_API_SECRET. It is separate from the gateway Compose service:

bash
docker run -d \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e HUNTRESS_API_KEY=your-key \  -e HUNTRESS_API_SECRET=your-secret \  -p 127.0.0.1:8080:8080 \  ghcr.io/wyre-ai/huntress-mcp:latest

Local HTTP without a secret is development-only. It binds 127.0.0.1 only and logs a warning:

bash
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm run start:http

Development

bash
npm cinpm run build       # Build the projectnpm run dev         # Watch modenpm run test        # Run testsnpm run lint        # Type-checknpm run clean       # Remove dist/
# HTTP refuses to start until CONDUIT_S2S_SECRET is setCONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" npm run start:http
# Local HTTP only, without a service-to-service secret (always binds 127.0.0.1)MCP_ALLOW_INSECURE_DEV=1 npm run start:http

Testing

bash
npm test            # Run test suitenpm run test:watch  # Watch mode

Contributing

See CONTRIBUTING.md for guidelines.

License

Apache 2.0 — Copyright WYRE Technology

來源:README.md,提交 946adcf

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.19最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。