1. Conduid
  2. Developer Tools
  3. TheHive MCP Server
MCP server · Developer Tools

TheHive MCP Server

This project provides a standardized way to interact with TheHive's security incident response platform through the Model Context Protocol.

Unclaimed last commit a year ago devtools
41Fair

Scored 5 months ago · breakdown

About TheHive MCP Server

TheHive MCP Server is an MCP server published by redwaysecurity in the Developer Tools category: this project provides a standardized way to interact with TheHive's security incident response platform through the Model Context Protocol.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/redwaysecurity/the-hive-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about TheHive MCP Server

Powered by Claude · Grounded in docs

I know everything about TheHive MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

TheHive MCP Server

A Model Context Protocol (MCP) server implementation for TheHive, enabling seamless integration with MCP clients. This project provides a standardized way to interact with TheHive's security incident response platform through the Model Context Protocol.

Implemented MCP Tools

The following MCP tools are implemented and available:

  • add_case_attachment
  • assign_task
  • bulk_delete_alerts
  • bulk_delete_observables
  • bulk_merge_alerts_into_case
  • bulk_update_alerts
  • bulk_update_cases
  • bulk_update_observables
  • bulk_update_tasks
  • close_case
  • complete_task
  • count_alerts
  • count_cases
  • count_observables
  • count_tasks
  • create_alert
  • create_alert_observable
  • create_case
  • create_case_observable
  • create_case_page
  • create_case_procedure
  • create_case_task
  • create_cortex_analyzer_job
  • create_cortex_responder_action
  • create_observable_in_alert
  • create_observable_in_case
  • create_task
  • create_task_log
  • delete_alert
  • delete_case
  • delete_case_attachment
  • delete_observable
  • delete_task
  • download_case_attachment
  • find_alert_observables
  • find_case_attachments
  • find_case_comments
  • find_case_observables
  • find_case_pages
  • find_case_procedures
  • find_case_tasks
  • find_task_logs
  • follow_alert
  • get_alert
  • get_alert_similar_observables
  • get_alerts
  • get_case
  • get_case_similar_observables
  • get_cases
  • get_cortex_analyzer
  • get_cortex_analyzer_job
  • get_observable
  • get_observable_analyzer_jobs
  • get_observables
  • get_task
  • get_tasks
  • import_alert_into_case
  • list_cortex_analyzers
  • list_cortex_analyzers_by_type
  • list_cortex_responders
  • merge_alert_into_case
  • merge_cases
  • promote_alert_to_case
  • run_observable_analyzer
  • run_observable_analyzers
  • share_observable
  • start_task
  • unfollow_alert
  • unshare_observable
  • update_alert
  • update_case
  • update_observable
  • update_task

Setup

Dependencies

This project depends on the official TheHive client library (thehive4py). It will be automatically installed when you install this package.

Environment Variables

Set the following environment variables:

HIVE_URL=<your-thehive-url>              # Required: TheHive instance URL (e.g., https://thehive.company.com:9000)
HIVE_API_KEY=<your-thehive-api-key>      # Required: API key for authenticating with TheHive instance

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "thehive-mcp-server": {
      "command": "uvx",
      "args": ["thehive-mcp-server"],
      "env": {
        "HIVE_URL": "https://your-thehive-host:9000",
        "HIVE_API_KEY": "your-api-key"
      }
    }
  }
}

Alternative configuration using uv:

{
  "mcpServers": {
    "thehive-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp",
        "run",
        "python",
        "-m",
        "thehive_mcp.main"
      ],
      "env": {
        "HIVE_URL": "https://your-thehive-host:9000",
        "HIVE_API_KEY": "your-api-key"
      }
    }
  }
}

Replace /path/to/mcp with the actual path to the root directory where you've cloned the repository.

Manual Execution

You can also run the server manually:

# Install dependencies
pip install .

# Set environment variables
export HIVE_URL="http://localhost:9000"
export HIVE_API_KEY="your-api-key"

# Run the server
python -m thehive_mcp

License

This project is licensed under the MIT License. See LICENSE file for details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About TheHive MCP Server

How do I install TheHive MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is TheHive MCP Server safe to use with an AI agent?

Its trust score is 41 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is TheHive MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.