Huntress MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Huntress MCP Servershow me open critical incidents"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Huntress MCP Server
An MCP server for the Huntress API (v1), the managed security (EDR / ITDR / SIEM) platform MSPs use to protect their clients. It lets an AI agent read the account, organizations, agents (protected endpoints), incident reports and their remediations, escalations, signals, users, invoices and summary reports and, on explicit request, resolve incidents and escalations, approve or reject remediations, and manage organizations and users.
Transport: MCP Streamable HTTP at
POST /mcp, health probe atGET /healthStateless and multi-tenant: credentials arrive on every request as HTTP headers and are never stored; every tool is listed from the first
tools/listPython 3.12, uv, FastMCP, httpx
License: Apache-2.0, Copyright 2026 MSPbots.ai
Authentication headers
Header | Required | Type | Default | Allowed values | Description | Example |
| Yes | string | none | - | Huntress API key (public part) |
|
| Yes | string | none | - | Huntress API secret |
|
Where to get them: in the Huntress portal open API Credentials and generate a key pair. Keep the secret when it is shown; it is needed together with the key.
How they are sent to Huntress: every call goes to https://api.huntress.io/v1/... with HTTP
Basic authentication (key:secret).
A request to /mcp without both headers gets HTTP 401 naming the missing one.
Related MCP server: defender-xdr
Tools
All tools return a JSON string. List tools take limit (default 10, max 500) and page_token
and return {count, has_more, next_page_token}; pass next_page_token back as page_token
for the next page. write marks tools that change data; confirm marks tools that also
need confirm: true.
Area | Tools |
Overview |
|
Account |
|
Agents |
|
Incidents |
|
Escalations |
|
Organizations |
|
Signals |
|
Users |
|
Billing |
|
Errors come back as a JSON envelope instead of an exception:
{"error": {"code": "unauthorized", "message": "Huntress returned HTTP 401 for agents: Unauthorized", "retryable": false}}code is one of not_configured, unauthorized, not_found, invalid_argument,
rate_limited, upstream_error. Reads are retried with backoff on 429, 5xx and network
errors; writes only on 429. Huntress allows about 60 API requests per minute.
Run locally
uv sync
uv run python -m huntress_mcp # listens on 0.0.0.0:8080or with Docker:
docker build --platform linux/amd64 -t huntress-mcp:dev .
docker run --rm -p 8080:8080 huntress-mcp:devConfiguration (environment variables, all optional): MCP_HTTP_HOST (default 0.0.0.0),
MCP_HTTP_PORT (default 8080), LOG_LEVEL (default INFO). Credentials are never read
from the environment.
Testing example
# list tools
curl -s http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-Huntress-Api-Key: your-api-key" \
-H "X-Huntress-Api-Secret: your-api-secret" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# open critical incidents
curl -s http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-Huntress-Api-Key: your-api-key" \
-H "X-Huntress-Api-Secret: your-api-secret" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"huntress_incidents_list","arguments":{"status":"sent","severity":"critical"}}}'Unit tests (no network access needed):
uv run pytestDelivery notes
Tool count (32). Kept as is because the tool names are an existing contract.
Billing reports are invoices. The Huntress API has no
/billing_reportsendpoint; older versions called it, so both billing tools failed.huntress_billing_reports_list/_getnow read/invoices, keeping their names.Confirmation for high-impact actions. Approving remediations (they run on endpoints), changing a user's permission level and deleting organizations or users take
confirm: trueand otherwise return a "not done" result.Rejecting remediations sends
useful(required by the API, defaultfalse) and accepts the optionalreasoncode; approving acceptsmanual_completion_remediation_ids.Updates use PATCH with only the fields given; an update with no fields is rejected locally.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
- HAVNOAuthapp.havnre
Read-only AI access to HAVN properties, leads, tasks, files, media, and analytics.
Context and control for any AI. Agent identity, scoped access, and proof across tools.
SOAR security playbooks for AI agents: fetch, full-text search, and count. Metered via Stripe.
Read-only smart-contract security intelligence for autonomous agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides read-only access to HackerOne reports, program scopes, and bounty earnings through the HackerOne API. It enables users to analyze hunting patterns, check asset eligibility, and retrieve report details or triage conversations via natural language.940-
- AlicenseBqualityBmaintenanceEnables AI agents to query and act on Microsoft Defender XDR incidents, alerts, advanced hunting data, Entra ID logs, threat indicators, device response actions, and vulnerability management via Microsoft Graph and Defender for Endpoint APIs.66Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query and manage a web hosting billing platform through its External API — clients, tickets, invoices, domains, orders, products, and system data. It defaults to read-only with per-domain opt-in for writes, two-step confirmation for billing and destructive actions, and automatic redaction of secrets, card data, and PII.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query an Action1 RMM tenant for organizations, endpoints, groups, missing updates, vulnerabilities, automations, reports, users, and roles, and to build custom PowerShell-based reports whose results can be requeryed and read back. It also runs one-off PowerShell diagnostics as SYSTEM on selected Windows endpoints and allows limited report-related changes, while leaving endpoints, users, and organizations untouched.MIT