UTMStack MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UTMStack MCP Servershow me the latest critical alerts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UTMStack MCP Server
A Model Context Protocol server that lets an AI assistant — Claude Code, OpenCode, Claude Desktop, or any MCP client — drive your UTMStack SIEM/XDR platform: triage alerts, search logs, run SQL, manage incidents, inspect agents, create and delete correlation rules, manage data filters, and run commands on endpoints.
Ships as a single self-contained binary. No Python installation required.
Install
Find your platform below and copy the matching command. Each installer detects your CPU architecture automatically — one command per operating system, not per architecture.
macOS — Apple Silicon (M1–M4) and Intel
curl -fsSL https://raw.githubusercontent.com/utmstack/MCP/main/install.sh | shLinux — x86_64 and ARM64
curl -fsSL https://raw.githubusercontent.com/utmstack/MCP/main/install.sh | shWindows — x64 and ARM64 (PowerShell)
irm https://raw.githubusercontent.com/utmstack/MCP/main/install.ps1 | iexRun this in PowerShell, not cmd.exe. Under Git Bash or WSL, use the macOS/Linux
command instead.
Supported platforms
Operating system | Architecture | Asset |
macOS 12+ | Apple Silicon ( |
|
macOS 12+ | Intel ( |
|
Linux (glibc 2.35+) |
|
|
Linux (glibc 2.39+) |
|
|
Windows 10/11 |
|
|
Windows 11 |
|
|
Linux x86_64 targets glibc 2.35 (Ubuntu 22.04+, Debian 12+, RHEL 9+). Linux arm64 is built on a newer runner and targets glibc 2.39 (Ubuntu 24.04+, Debian 13+, Kali rolling). Alpine/musl is not covered — run from source there. 32-bit systems are not supported.
Every installer verifies the download's SHA256 against the checksums.txt published with
the release, and refuses to install if it cannot.
Where it lands
Location | |
macOS / Linux |
|
Windows |
|
Set UTMSTACK_MCP_VERSION=1.2.3 to install a specific version.
Unsigned binaries
These binaries are not code-signed. They run normally — signing is not required to execute anything on macOS or Windows — but it affects two situations:
macOS. Binaries fetched by curl are not quarantined, so the installer path works
as-is. If you download an asset from the Releases page in a browser, Gatekeeper will
block it — use the installer, or clear the flag:
xattr -dr com.apple.quarantine /usr/local/lib/utmstack-mcpWindows. SmartScreen triggers on Mark-of-the-Web, which browsers apply to downloads;
Invoke-WebRequest (what install.ps1 uses) does not, so the installer path is normally
silent. Separately, Microsoft Defender is known to heuristically flag PyInstaller-built
executables. If it quarantines utmstack-mcp.exe, the file is a false positive — verify
its SHA256 against checksums.txt on the release, then add an exclusion for
%LOCALAPPDATA%\Programs\utmstack-mcp.
Every release publishes checksums.txt, and the installers verify against it and refuse to
proceed if they cannot.
Related MCP server: AI4IA-MCP-Server
Set up
utmstack-mcp initThe wizard asks for your UTMStack URL, how to authenticate, and your TLS preference, then
validates the credentials against the live API before saving anything. It writes them
to a 0600 file (~/.config/utmstack-mcp/config.json, or %APPDATA%\utmstack-mcp on
Windows), so no credentials end up in shell history or in an MCP client's config.
Check it any time:
utmstack-mcp check # verify configuration and connectivity
utmstack-mcp config-path # print the config file locationConnect an MCP client
Because credentials live in the config file, registration carries no secrets and is the same everywhere.
Claude Code
claude mcp add --scope user utmstack -- utmstack-mcpOpenCode — add to ~/.config/opencode/opencode.json:
{ "mcp": { "utmstack": { "type": "local", "command": ["utmstack-mcp"], "enabled": true } } }Claude Desktop — add to claude_desktop_config.json:
{ "mcpServers": { "utmstack": { "command": "utmstack-mcp" } } }The UTMStack CLI bundles this server preconfigured — nothing to register there.
Configuration
utmstack-mcp init writes this file for you. Configuration is resolved in this order,
first match wins:
UTMSTACK_SERVERS(a JSON array) in the environmentUTMSTACK_SERVERS_FILEpointing at a JSON file~/.config/utmstack-mcp/config.json— whatinitwrites.envin the current directory (development convenience)
[
{
"name": "prod",
"url": "https://utm.example.com",
"user": "admin",
"pass": "...",
"default": true
},
{
"name": "lab",
"url": "https://10.0.0.2",
"apiKey": "...",
"caBundle": "/etc/ssl/certs/lab-ca.pem",
"allowAgentCommands": true
}
]Key | Meaning |
| identifier used by the |
| base URL of the deployment |
| console login — recommended, and required for |
| sent as the |
| a ready id_token (static; cannot be refreshed) |
| defaults to true; see below |
| path to a CA certificate — the right way to trust a self-signed cert |
| defaults to false; see below |
| marks the default server |
Auth precedence per server: user+pass > jwt > apiKey.
Multiple deployments are supported: every tool takes an optional server= argument,
use_server switches the default, and list_servers shows what is configured.
Two defaults chosen for safety
TLS verification is on. UTMStack instances often use a self-signed certificate. The
right fix is caBundle, pointing at that certificate. You can set "verifySSL": false
instead, but the server warns on every start — that same connection carries your
administrator password to /api/authenticate, so anyone on the network path can read it.
Remote command execution is off. run_agent_command gives the assistant a root/SYSTEM
shell on an endpoint. SIEM log content is partly written by attackers and reaches the model
through search_logs and search_alerts, which puts a remote shell downstream of data you
do not control. Enable it per server with "allowAgentCommands": true, only where you want
that capability.
Configuring from the assistant
Beyond utmstack-mcp init, the assistant can set up or change a connection when you
ask it to in conversation — "connect to my UTMStack at https://utm.example.com with API
key …", or "change the UTMStack URL to …". It uses the configure_server tool, which
validates against the live API, writes the same owner-only config file, and applies the
change immediately. remove_server deletes a connection.
For safety, configure_server cannot enable remote agent command execution — turning on
allowAgentCommands stays a deliberate edit to the config file or a run of
utmstack-mcp init, never something reachable from a conversation that may contain
attacker-influenced log data.
Tools
Servers and health — list_servers, use_server, configure_server, remove_server, ping, whoami, get_version
Alerts — count_open_alerts, search_alerts, get_alert, get_alerts_for_response,
change_alert_status, mark_alert_false_positive, add_alert_notes, add_alert_tags
Logs — list_index_patterns, list_indices, get_index_properties, search_logs,
count_events, get_field_values, get_field_values_with_count, run_sql
Incidents — list_incidents, get_incident, create_incident, change_incident_status
Agents and data sources — list_agents, get_agent_by_hostname,
list_data_input_statuses, list_supported_data_types
Correlation rules — list_correlation_rules, get_correlation_rule,
create_correlation_rule, set_correlation_rule_active, delete_correlation_rule
Data filters — list_filters, get_filters_by_pipeline, create_filter, delete_filter
Agent commands — can_run_command, run_agent_command, list_agent_commands,
list_agents_with_commands
Guardrails
Destructive operations are bounded, because an assistant acting on a security product can suppress detections as easily as it can read them:
delete_correlation_ruleanddelete_filterrequireconfirm=TrueBulk alert writes are capped at 100 ids per call
Page sizes are clamped, and oversized responses return a structured marker rather than truncated JSON
run_agent_commandvalidates the hostname, clamps its timeout, and refuses to run unless the permission check returns an explicit allow
Run from source
git clone https://github.com/utmstack/MCP.git
cd MCP
python3 -m venv .venv && . .venv/bin/activate
pip install -e .
utmstack-mcp initBuild a binary for your platform:
pip install pyinstaller
pyinstaller --clean --noconfirm utmstack-mcp.spec
# -> dist/utmstack-mcp/Requires Python 3.10+.
Notes
Correlation rules take about five minutes to load into the engine before they fire.
The correlation engine matches normalized fields (log.eventCode, target.user,
log.eventDataScriptBlockText, …), not raw log.data.* fields.
User-created filters attach to module/integration pipelines. The built-in Windows and Linux system filters are edited in the web UI; the API returns 500 for those.
Known limitation: the console token travels in the URL
UTMStack's /ws console endpoint authenticates with ?access_token=<JWT> in the
query string, and accepts no header alternative we could find — so
run_agent_command has to send it that way. Query strings are commonly recorded
in reverse-proxy and gateway access logs. If your deployment ingests its own web
logs, that token can end up in the log store.
This only affects run_agent_command, which is disabled by default. Every other
tool authenticates with an Authorization header. If you enable agent commands,
consider excluding /ws request URIs from your access-log ingestion.
run_agent_command uses the interactive console, which speaks STOMP over SockJS at
/ws and requires a JWT — the Utm-Api-Key header is rejected there. Configure user and
pass for that tool; every other tool works with an API key.
Some deployments return HTTP 500 on the API-key path for certain endpoints, which is why JWT login is preferred throughout.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceConnects AI assistants to the Vectra AI security platform to enable intelligent analysis of threat detection data and automated incident response workflows. It allows users to investigate threats, take response actions, and generate security reports using natural language.235MIT
- Alicense-qualityDmaintenanceBridges AI assistants with Wazuh SIEM infrastructure, providing natural language access to security alerts, vulnerability analysis, CVE databases, and network documentation for security operations.MIT
- Alicense-qualityAmaintenanceBrings the full AlertLogic MDR platform into AI assistants, exposing 473+ tools for incident response, log search, SOAR automation, and multi-account security operations at MSSP scale.MIT
- Flicense-qualityCmaintenanceEnables AI assistants to query Wazuh security alerts, investigate hosts, detect brute-force attempts, and generate security summaries by connecting to a Wazuh manager.
Related MCP Connectors
Connect AI assistants to ITM Platform projects, tasks, budgets, risks, and team workload.
Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/utmstack/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server