
gbrigandi/mcp-server-thehive
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP-сервер для TheHive
Обзор
Сервер MCP (Model Context Protocol), который предоставляет модели ИИ и средства автоматизации с доступом к платформе реагирования на инциденты. Этот сервер служит связующим звеном между MCP-клиентами (например, помощниками ИИ) и TheHive, позволяя им: - Восстановление и анализ предупреждений о безопасности - Доступ к информации о случаях - Продвижение предупреждений о случаях - Выполнение операций реагирования на инциденты 1. - Восстановить список предупреждений из параметра TheHive - Optional Limit (по умолчанию: 100) - Возврат отформатированной информации оповещения, включая идентификатор, название, тяжесть и статус 2. - Получить подробную информацию о конкретном оповещении - Требуемый параметр alert id - возвращает подробную информацию о оповещении 3. - Перечислите список случаев из TheHive - Параметр Факультативного предела (по умолчанию: 100) - Возвращает отформатированную информацию о случае 4. - Получить подробную информацию о конкретном случае - Необходимый параметр case id - Возвращает подробные детали дела 5.
Обзор (машинный перевод)
Сервер MCP (Model Context Protocol), который предоставляет модели ИИ и средства автоматизации с доступом к платформе реагирования на инциденты.
Обзор
Этот сервер служит связующим звеном между MCP-клиентами (например, помощниками ИИ) и TheHive, позволяя им:
- Восстановление и анализ предупреждений безопасности
- Доступ к информации о случаях
- Поощрять оповещения о случаях
- Выполнять операции реагирования на инциденты
Особенности
Доступные инструменты
- get thehive alerts - Получить список предупреждений от TheHive
- Факультативный
limitпараметр (по умолчанию: 100) - возвращает отформатированную информацию оповещения, включая идентификатор, название, тяжесть и статус
- get thehive alert by id - Получить подробную информацию о конкретном оповещении
- Требуемый
alert_idпараметр - возвращает подробную информацию о тревоге
- get thehive cases - Перечислите случаи из TheHive
- Факультативный
limitпараметр (по умолчанию: 100) - Возвращает отформатированную информацию о деле
- get thehive case by id - Получить подробную информацию о конкретном случае
- Требуемый
case_idпараметр - возвращает подробные детали дела
- promote alert to case - Поощрять оповещение о случае
- Требуемый
alert_idпараметр
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
MCP Server for TheHive
An MCP (Model Context Protocol) server that provides AI models and automation tools with access to TheHive incident response platform.
Overview
This server acts as a bridge between MCP clients (like AI assistants) and TheHive, allowing them to:
- Retrieve and analyze security alerts
- Access case information
- Promote alerts to cases
- Perform incident response operations
Features
Available Tools
-
get_thehive_alerts - Retrieve a list of alerts from TheHive
- Optional
limitparameter (default: 100) - Returns formatted alert information including ID, title, severity, and status
- Optional
-
get_thehive_alert_by_id - Get detailed information about a specific alert
- Required
alert_idparameter - Returns comprehensive alert details
- Required
-
get_thehive_cases - Retrieve a list of cases from TheHive
- Optional
limitparameter (default: 100) - Returns formatted case information
- Optional
-
get_thehive_case_by_id - Get detailed information about a specific case
- Required
case_idparameter - Returns comprehensive case details
- Required
-
promote_alert_to_case - Promote an alert to a case
- Required
alert_idparameter - Returns information about the newly created case
- Required
-
create_thehive_case - Create a new case in TheHive
- Required
titleanddescriptionparameters - Optional parameters:
severity,tags,tlp,pap,status,assignee,case_template,start_date - Returns information about the newly created case
- Required
Installation
Prerequisites
- Access to a TheHive 5 instance
- Valid TheHive API token
Downloading Pre-compiled Binaries
You can download pre-compiled binaries for various operating systems from the GitHub Releases page. Download the appropriate binary for your system, make it executable, and place it in your desired location.
Building from Source
git clone
cd mcp-server-thehive
cargo build --release
Configuration
The server requires the following environment variables:
THEHIVE_URL- TheHive API base URL (default:http://localhost:9000/api)THEHIVE_API_TOKEN- TheHive API token (required)VERIFY_SSL- Whether to verify SSL certificates (default:false)RUST_LOG- Logging level (optional, e.g.,debug,info)
Environment File
Create a .env file in the project root:
THEHIVE_URL=https://your-thehive-instance.com/api
THEHIVE_API_TOKEN=your-api-token-here
VERIFY_SSL=true
RUST_LOG=info
Getting a TheHive API Token
- Log into your TheHive instance
- Go to User Settings → API Keys
- Click Create API Key
- Copy the generated token and use it as
THEHIVE_API_TOKEN
Usage
Running the Server
# Using cargo
cargo run
# Using the built binary
./target/release/mcp-server-thehive
Integration with MCP Clients
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"thehive": {
"command": "/path/to/mcp-server-thehive",
"env": {
"THEHIVE_URL": "https://your-thehive-instance.com:9000/api",
"THEHIVE_API_TOKEN": "your-api-token-here"
}
}
}
}