home / mcp / huntress mcp server
MCP server for Huntress API integration
Configuration
View docs{
"mcpServers": {
"dynamicendpoints-huntress-mcp-server": {
"url": "http://localhost:3000/mcp",
"headers": {
"HUNTRESS_API_KEY": "your_api_key_here",
"HUNTRESS_API_SECRET": "your_api_secret_here"
}
}
}
}You can run the Huntress API MCP Server to gain programmatic access to Huntress features like accounts, organizations, agents, and incidents through the MCP protocol. This server exposes a stable HTTP/SSE transport and is designed for containerized deployment, browser-compatible CORS, and clear health and rate-limit controls so you can build reliable automation and tooling around Huntress data.
Connect to the MCP endpoint from your MCP client to discover available tools and perform operations against the Huntress API. You can use either the local stdio mode for development or container/HTTP mode for production deployments. In stdio mode you run the server locally and communicate via the MCP runtime, while in HTTP mode you send MCP requests to the HTTP endpoint and receive responses, including real-time updates via Server-Sent Events when supported.
Prerequisites: Node.js and npm must be installed on your machine.
Step 1: Install via Smithery (recommended for Claude Desktop users) and let Smithery manage the MCP server deployment.
npx -y @smithery/cli install huntress-mcp-server --client claudeStep 2: Manual installation (clone, install dependencies, and build).
git clone https://example.com/dynamicendpoints/huntress-mcp-server.git
cd huntress-mcp-server
npm installStep 3: Configure environment variables and build the server.
HUNTRESS_API_KEY=your_api_key_here
HUNTRESS_API_SECRET=your_api_secret_here
```
```bash
npm run buildStep 4: Run the server in development or production mode as appropriate.
# Development: start the server (adjust as needed for your environment)
npm run dev
```
```bash
# Production/container start could be handled by your deployment toolingThe server requires authentication keys provided by Huntress. Set HUNTRESS_API_KEY and HUNTRESS_API_SECRET in your environment or pass them to the runtime configuration. When running in container mode, the server exposes a REST-like MCP endpoint and a health check endpoint, with SSE for streaming updates.
Retrieve information about the current account.
List organizations under the account, with support for pagination.
Fetch details for a specific organization.
List agents associated with the account, with pagination support.
Get details for a specific agent.
List incidents in the account with optional status filters and pagination.
Get details of a specific incident.