Huntress-MCP-Server

MIT License
1

Integrations

  • Used for managing API credentials and environment configuration for the Huntress API server.

  • Used for installing dependencies and building the Huntress API MCP server.

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

Installing via Smithery

To install Huntress API MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install huntress-mcp-server --client claude

Manual Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Create a .env file based on .env.example:
HUNTRESS_API_KEY=your_api_key_here HUNTRESS_API_SECRET=your_api_secret_here
  1. Build the server:
npm run build

Available Tools

Account Management

  • get_account_info: Get information about the current account

Organization Management

  • list_organizations: List organizations in the account
  • get_organization: Get details of a specific organization

Agent Management

  • list_agents: List agents in the account
  • get_agent: Get details of a specific agent

Incident Reports

  • list_incident_reports: List incident reports
  • get_incident_report: Get details of a specific incident report

Summary Reports

  • list_summary_reports: List summary reports
  • get_summary_report: Get details of a specific summary report

Billing Reports

  • list_billing_reports: List billing reports
  • get_billing_report: Get details of a specific billing report

Configuration

The server requires the following environment variables:

  • HUNTRESS_API_KEY: Your Huntress API Key
  • HUNTRESS_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:

{ "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" } } } }

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

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP server for Huntress API integration

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Manual Installation
    2. Available Tools
      1. Account Management
      2. Organization Management
      3. Agent Management
      4. Incident Reports
      5. Summary Reports
      6. Billing Reports
    3. Configuration
      1. Usage with MCP
        1. Rate Limiting
          1. Error Handling
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                The MCP server provides an interface to the Datadog API, enabling seamless management of incidents, monitoring, logs, dashboards, metrics, traces, and hosts. Its extensible design allows easy integration of additional Datadog APIs for future expansions.
                Last updated -
                14
                322
                36
                TypeScript
                Apache 2.0
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
                Last updated -
                39
                25
                • Apple

              View all related MCP servers

              ID: hry99k6xc2