Huntress-MCP-Server
- Security
MCP server for Huntress API integration
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
HUNTRESS_API_KEY | Yes | Your Huntress API Key | |
HUNTRESS_API_SECRET | Yes | Your Huntress API Secret Key |
Huntress API MCP Server
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.
Features
- Account information retrieval
- Organization management
- Agent management and monitoring
- Incident report access
- Summary report generation
- Billing report access
- Built-in rate limiting (60 requests per minute)
- Error handling and response formatting
Installation
- Clone the repository
- Install dependencies:
- Create a
.env
file based on.env.example
:
- Build the server:
Available Tools
Account Management
get_account_info
: Get information about the current account
Organization Management
list_organizations
: List organizations in the accountget_organization
: Get details of a specific organization
Agent Management
list_agents
: List agents in the accountget_agent
: Get details of a specific agent
Incident Reports
list_incident_reports
: List incident reportsget_incident_report
: Get details of a specific incident report
Summary Reports
list_summary_reports
: List summary reportsget_summary_report
: Get details of a specific summary report
Billing Reports
list_billing_reports
: List billing reportsget_billing_report
: Get details of a specific billing report
Configuration
The server requires the following environment variables:
HUNTRESS_API_KEY
: Your Huntress API KeyHUNTRESS_API_SECRET
: Your Huntress API Secret Key
These can be obtained from your Huntress account at <your_account_subdomain>.huntress.io
under API Credentials.
Usage with MCP
Add the following configuration to your MCP settings:
Rate Limiting
The server implements Huntress API's rate limiting of 60 requests per minute on a sliding window. This means:
- No more than 60 requests can be made within any 60-second period
- The window slides, so if request 1 is made at T0 and request 60 at T30, request 61 must wait until T60
Error Handling
The server handles various error scenarios:
- Invalid API credentials
- Rate limit exceeded
- Invalid request parameters
- API response errors
License
MIT License - See LICENSE file for details
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues with dependencies of the server.
- Extract server characteristics such as tools, resources, prompts, and required parameters.
Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.
Copy the following code to your README.md file: