
Huntress API
STDIOMCP server for Huntress API integration providing cybersecurity management tools
MCP server for Huntress API integration providing cybersecurity management tools
A Model Context Protocol (MCP) server that provides tools for interacting with the Huntress API. This server enables programmatic access to Huntress functionality including account management, organization management, agent management, incident reports, and more.
To install Huntress API MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install huntress-mcp-server --client claude
npm install
.env
file based on .env.example
:HUNTRESS_API_KEY=your_api_key_here HUNTRESS_API_SECRET=your_api_secret_here
npm run build
get_account_info
: Get information about the current accountlist_organizations
: List organizations in the account (supports pagination)get_organization
: Get details of a specific organizationlist_agents
: List agents in the account (supports pagination)get_agent
: Get details of a specific agentlist_incidents
: List incidents in the account (supports pagination and status filtering)get_incident
: Get details of a specific incidentThe server requires the following environment variables:
HUNTRESS_API_KEY
: Your Huntress API KeyHUNTRESS_API_SECRET
: Your Huntress API Secret KeyThese can be obtained from your Huntress account at <your_account_subdomain>.huntress.io
under API Credentials.
Add the following configuration to your MCP settings:
{ "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" } } } }
When running in container mode, the server exposes:
http://localhost:3000/
(POST for MCP requests)http://localhost:3000/sse
(Server-Sent Events)http://localhost:3000/health
(GET for health status)The server implements Huntress API's rate limiting of 60 requests per minute on a sliding window. This means:
This server is optimized for deployment on Smithery using container deployment, featuring:
/
endpoint for MCP communicationThe smithery.yaml
uses:
runtime: "container"
for Docker container deploymentHUNTRESS_API_KEY
and HUNTRESS_API_SECRET
This server leverages the latest MCP SDK features including:
/mcp
endpoint with proper REST methodsWhen running in HTTP mode (Smithery deployment), the server exposes:
http://localhost:3000/mcp
http://localhost:3000/health
?huntressApiKey=xxx&huntressApiSecret=yyy
)For custom container deployment:
docker build -t huntress-mcp-server .
docker run -p 3000:3000 \ -e HUNTRESS_API_KEY=your_api_key_here \ -e HUNTRESS_API_SECRET=your_api_secret_here \ huntress-mcp-server
The server handles various error scenarios:
npm run dev
npm run build
npm run clean
MIT License - See LICENSE file for details