thehive-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| THEHIVE_URL | Yes | TheHive instance URL using http or https (e.g. https://192.0.2.10:9000). | |
| THEHIVE_API_KEY | Yes | API key for authentication. | |
| THEHIVE_TIMEOUT | No | Request timeout in seconds (1-300). | 30 |
| THEHIVE_VERIFY_SSL | No | Set to false only for trusted lab systems with self-signed TLS. When disabled, TLS verification is relaxed only for TheHive requests, not process-wide. | true |
| NODE_EXTRA_CA_CERTS | No | Path to a PEM CA bundle for private certificate authorities. Node loads the bundle at process startup while keeping certificate and hostname verification enabled. | |
| THEHIVE_ENABLE_RAW_QUERY | No | Set to true to enable the raw Query DSL MCP tool. | false |
| THEHIVE_ALLOW_INSECURE_HTTP | No | Explicitly permit plaintext HTTP API credentials outside loopback. | false |
| THEHIVE_ALLOW_DESTRUCTIVE_TOOLS | No | Enable local previews for all 28 mutations, including additive writes and analyzer submissions. Execution also requires dryRun: false and confirm: true. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| thehive_list_casesC | List cases from TheHive with optional filters |
| thehive_get_caseB | Get detailed information about a specific case |
| thehive_create_caseA | Create a new case in TheHive Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_update_caseA | Update an existing case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_search_casesB | Search cases by title keyword |
| thehive_close_caseA | Close/resolve a case. In TheHive 5, the status field is the resolution status directly. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_assign_caseA | Assign a case to a TheHive user by username or login Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_update_case_custom_fieldsA | Update custom fields on an existing case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_add_case_tagsA | Add tags to a case without removing existing tags Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_remove_case_tagsA | Remove tags from a case while preserving other tags Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_set_case_flagA | Set or clear the case flag Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_bulk_assign_casesA | Assign multiple cases to a TheHive user. Requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_bulk_close_casesA | Close multiple cases with the same resolution status and summary. Requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_case_timeline_summaryB | Summarize a case with related tasks, observables, and comments |
| thehive_delete_caseA | Permanently delete a case. Use force=true to delete even if the case has tasks/observables. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_merge_casesA | Merge multiple cases into a single case. This is irreversible and data-destructive. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_alertsC | List alerts from TheHive with optional filters |
| thehive_get_alertB | Get detailed information about a specific alert |
| thehive_create_alertA | Create a new alert in TheHive Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_update_alertA | Update an existing alert Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_promote_alertA | Promote an alert to a case. Creates a new case from the alert data. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_delete_alertA | Permanently delete an alert Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_get_similar_casesA | List cases that share observables with a given alert or case (TheHive similarity matching) |
| thehive_get_similar_alertsB | List alerts that share observables with a given alert or case (TheHive similarity matching) |
| thehive_list_alert_observablesB | List observables (IOCs) attached to an alert |
| thehive_list_alert_commentsB | List comments on an alert, newest first |
| thehive_create_alert_observableA | Add an observable (IOC) to an alert without promoting it to a case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_create_alert_commentA | Add a comment to an alert Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_tasksC | List tasks for a specific case |
| thehive_get_taskC | Get detailed information about a specific task |
| thehive_create_taskA | Create a new task in a case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_update_taskA | Update an existing task Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_observablesA | List observables (IOCs) for a specific case |
| thehive_get_observableB | Get detailed information about a specific observable |
| thehive_create_observableA | Add a new observable (IOC) to a case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_update_observableA | Update metadata of an existing observable (IOC flag, sighted, TLP/PAP, tags, message). At least one field is required. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_create_observable_bulkA | Add multiple observables of the same type to a case in one request. More efficient than creating one at a time. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_search_observablesB | Search observables across all cases |
| thehive_list_task_logsB | List log entries for a specific task |
| thehive_create_task_logA | Add a log entry to a task Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_commentsC | List comments on a specific case |
| thehive_create_commentA | Add a comment to a case Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_usersB | List users in the TheHive organization |
| thehive_get_current_userA | Get the currently authenticated user's profile |
| thehive_list_analyzersB | List available Cortex analyzers that can be run on observables |
| thehive_get_observable_enrichment_optionsA | List Cortex analyzers that can enrich a specific observable |
| thehive_run_analyzerA | Run a Cortex analyzer on a specific observable. Returns the job ID for tracking. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_run_analyzer_and_waitA | Run a Cortex analyzer on an observable and wait up to 50 seconds for a terminal job status Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_get_jobB | Get the status and results of a Cortex analyzer job |
| thehive_wait_for_jobB | Wait up to 50 seconds for a Cortex analyzer job to reach a terminal status |
| thehive_summarize_job_reportA | Fetch a Cortex job and return a compact report summary |
| thehive_list_respondersA | List Cortex responders available for a case, alert, task, or observable |
| thehive_run_responderA | Run a Cortex responder on a case, alert, task, or observable. Responders have real-world side effects. Requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval. |
| thehive_list_actionsA | List past Cortex responder actions run on a case, alert, task, or observable |
| thehive_statusA | Get TheHive server health status, version info, and capabilities. No authentication required. |
| thehive_queryA | Execute a raw TheHive Query API request. Use this for complex searches that other tools can't handle (date ranges, AND/OR logic, nested queries, counting, etc.). Common query filters:
|
| thehive_list_case_templatesA | List available case templates. Use these when creating cases to auto-populate fields and tasks. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| case-summary | Generate a comprehensive incident case summary for reporting |
| alert-triage | Triage and analyze a security alert for escalation decision |
| incident-response | Guided incident response workflow for a new security incident |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| open-cases | List of currently open cases in TheHive |
| new-alerts | List of new/unprocessed alerts |
| current-user | Currently authenticated TheHive user |
TDQS
Scored across 57 tools
Most tools target a clearly distinct resource+action (get_case, create_alert, list_tasks, etc.). A few pairs overlap mildly: thehive_run_analyzer vs thehive_run_analyzer_and_wait, and thehive_get_job vs thehive_wait_for_job vs thehive_summarize_job_report, but descriptions clarify the boundaries well enough.
Strong thehive_verb_noun convention throughout. Fine, but with a few deviations: thehive_status and thehive_query lack verbs, and case comments use thehive_create_comment while alert comments use thehive_create_alert_comment, which is asymmetric.
57 tools is very heavy for a single MCP server, well beyond the 25+ threshold. While the domain is broad (cases, alerts, observables, tasks, analytics, responders), many operations could be consolidated, making the surface feel bloated.
Near-complete lifecycle coverage: full CRUD for cases, alerts, observables and tasks, plus comments, logs, tags, bulk ops, similarity search, Cortex analyzers/responders, and a raw query escape hatch. Minor gaps like no task/observable delete or comment edit exist but are workable.