Security Onion MCP (Community Edition)
Provides tools to query and hunt in Security Onion's OpenSearch data, including running OQL queries, retrieving alerts and events, pivoting connections, and listing indices.
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., "@Security Onion MCP (Community Edition)find recent alerts about malware"
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.
CyberHawk Threat Intel
✅ FULLY WORKING ON SECURITY ONION COMMUNITY EDITION — NO PAID LICENSE REQUIRED
This is a real, live-tested operator built specifically for the FREE Community Edition. Every tool here was proven against a live Security Onion 2.4.190 CE grid — read + write. You do not need a Pro/Enterprise license, and you do not need the Connect API. The official Security Onion MCP requires Pro; this one runs on the free edition the vast majority of people actually use.
Why This Exists
The official securityonion-mcp depends on the Connect API (Hydra) feature — which is Pro/Enterprise only. On the free Community Edition it has nothing to connect to, so it simply doesn't work.
This MCP works on Community Edition by talking to the grid the way an analyst already can:
OpenSearch (HTTPS →
:9200) for all read/hunt toolsSSH (
so-*commands + sudo, host-key pinned) for all write/operate tools
No license, no Connect API. And it's a full operator — 21 tools spanning query, hunt, triage, detection authoring & tuning, PCAP, agent enrollment, and gated grid ops — versus the official server's ~3 read-only tools.
Who is this for? SOC analysts and blue teams running Security Onion Community Edition who want an LLM operator that can actually do things on the grid, not just read a Pro one they don't have.
Related MCP server: operant-mcp
Official vs. This
Official securityonion-mcp | This (CE) | |
Works on free Community Edition | ❌ (needs Pro Connect API) | ✅ |
License required | Pro / Enterprise | None |
Tools | ~3 (read-only) | 21 (read + write) |
Deploy / tune detections (Suricata, Sigma, YARA) | ❌ | ✅ |
Elastic Agent enrollment, PCAP export, grid ops | ❌ | ✅ |
Backend | Connect API | OpenSearch (read) + SSH |
Honest caveat: the official server is vendor-supported and rides SO's internal plumbing. This one is community/DIY and reaches the same surface via OpenSearch + SSH. For a CE user, it's not "similar" — it's the only thing that runs, and it does far more.
Tools (21)
Connectivity & read/hunt (OpenSearch) — ping, grid_status, query_events (OQL: Lucene +
| groupby / | table / | sortby), get_alerts, get_alert_detail, pivot_connection, zeek_logs,
hunt, list_indices, detections_status, agent_list.
Write / operate (SSH so-*, all gated with confirm) — suricata_add_rule, suricata_remove_rule,
suricata_tune, sigma_deploy, yara_deploy, pcap_retrieve, agent_installer, acknowledge_alert,
case_create, grid_command.
Every write tool defaults to a dry-run, validates before applying (Suricata rules go through
so-suricata-testrule), and returns exactly what changed — honest {"ok": false, ...} on failure,
never a fabricated success.
Install
Requires Python 3.12+ and network reach to your SO manager on 9200 (OpenSearch) and 22 (SSH).
git clone <this-repo> securityonion-mcp && cd securityonion-mcp
python -m venv venv && venv\Scripts\activate # Windows (or: source venv/bin/activate)
pip install -r requirements.txt
# credentials live ONLY in an untracked .env.local (never commit real secrets)
copy .env.example .env.local # then fill it in (see below)Fill .env.local:
Var | Value |
|
|
|
|
| manager IP + a sudo-capable account |
| the manager's ed25519 fingerprint — pin it (see |
|
|
Register with Claude Code
claude mcp add securityonion -s user \
--env-file /abs/path/to/.env.local \
-- /abs/path/to/venv/bin/python -m security_onion_mcp.serverOn Windows the command is the venv's python.exe (e.g. ...\venv\Scripts\python.exe -m security_onion_mcp.server), run with the package directory on PYTHONPATH or launched from it.
Usage Examples
"Ping the grid and show me the top firing rules over the last 7 days." →
ping+query_events("tags:alert | groupby rule.name", "-7d", "now")
"What's noisiest, and tune the worst offender for our benign source." →
get_alerts+suricata_tune(sid, "suppress", {"ip": "...", "reason": "..."})
"Write a Suricata rule for this indicator, test it, and deploy it." →
suricata_add_rule(rule, confirm=True)(validate → local.rules → so-rule-update)
"Generate a Windows Elastic Agent installer for enrollment." →
agent_installer("windows", confirm=True)
"Pull the packets between these two hosts." →
pcap_retrieve(src_ip="...", dst_ip="...")
See TESTING.md for the three validation proofs (ping, read query, gated Suricata write)
with live expected output.
Guardrails
Secrets never touch tracked files or logs — env-only,
.env.localgit-ignored, redaction on logging.Writes are gated —
confirm=Falsedefault; each returns exactly what changed.Validate before apply — Suricata rules pass
so-suricata-testrulebefore any deploy.grid_commandis a hard allow-list — never an arbitrary shell; destructive ops needconfirm+ reason.Honest results — a non-zero exit or non-2xx returns
{"ok": false, ...}; CE-uncertain paths report the real mechanism used (or an honest "SOC-UI" fallback) rather than faking success.SSH host-key pinned — MITM on the control channel is refused.
Requirements & Compatibility
Security Onion 2.4.x (built and validated against 2.4.190 CE). OpenSearch reachable on 9200; a sudo-capable SSH account on the manager.
Enterprise Plus not required. (If you do have Pro, the official MCP is an option too — this one still adds the write/operate surface.)
Disclaimer
For authorized defensive security operations on Security Onion grids you own or are authorized to administer. All actions (querying events, exporting PCAP, deploying detections) are blue-team operations. Authorized security research & administration only. Unauthorized use is illegal.
Connect with CyberHawk Threat Intel
This server cannot be installed
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
- Alicense-qualityAmaintenanceAn MCP server for the RocketCyber Managed SOC platform that provides read-only access to security data including incidents, agents, and events. It enables users to monitor and query security information through 10 specialized tools and resources.Last updatedApache 2.0

operant-mcpofficial
AlicenseAqualityDmaintenanceA comprehensive security testing MCP server providing 51 tools for penetration testing, network forensics, memory analysis, and vulnerability assessment. It enables automated security audits and technical investigations across web applications, cloud environments, and network captures.Last updated516121MIT- AlicenseAqualityAmaintenanceAn MCP server for Zeek and Suricata, providing intelligent log parsing, querying, and analysis over network security monitoring data.Last updated3921MIT
- Alicense-qualityBmaintenanceAn MCP server that enables conversational interaction with Wazuh SIEM, allowing users to investigate alerts, hunt threats, tune false positives, edit rules, and run security actions via natural language.Last updatedMIT
Related MCP Connectors
A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J
Hosted MCP for X/Twitter and Reddit. 12 read-only tools, no API keys, free during beta.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
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/rudraverma/securityonion-CE-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server