Security Detections

v3.3.4
io.github.MHaggis/security-detections-mcp Checked 6 hours ago Published 27 days ago

Search security detections across Sigma, Splunk, Elastic, KQL, Sublime, CQL and Jamf with ATT&CK.

Values you need

VariableWhat it is
SIGMA_PATHSoptional Comma-separated paths to Sigma rule directories (e.g., /path/to/sigma/rules,/path/to/sigma/rules-threat-hunting)
SPLUNK_PATHSoptional Comma-separated paths to Splunk ESCU detection directories (e.g., /path/to/security_content/detections)
ELASTIC_PATHSoptional Comma-separated paths to Elastic detection rule directories (e.g., /path/to/detection-rules/rules)
KQL_PATHSoptional Comma-separated paths to KQL hunting query directories (e.g., /path/to/kql-queries)
SUBLIME_PATHSoptional Comma-separated paths to Sublime MQL rule directories (e.g., /path/to/sublime-rules/detection-rules,/path/to/delivr-detections/sublime-rules)
CQL_HUB_PATHSoptional Comma-separated paths to CQL Hub (CrowdStrike) query directories (e.g., /path/to/cql-hub/queries)
JAMF_PROTECT_PATHSoptional Comma-separated paths to Jamf Protect custom analytic detection directories (macOS, e.g., /path/to/jamfprotect/custom_analytic_detections)
STORY_PATHSoptional Comma-separated paths to Splunk analytic story directories (optional, e.g., /path/to/security_content/stories)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add security-detections-mcp -- npx -y security-detections-mcp@3.3.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "security-detections-mcp": {
      "args": [
        "-y",
        "security-detections-mcp@3.3.4"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "security-detections-mcp": {
      "args": [
        "-y",
        "security-detections-mcp@3.3.4"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "security-detections-mcp": {
      "args": [
        "-y",
        "security-detections-mcp@3.3.4"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.security-detections-mcp]
command = "npx"
args = ["-y", "security-detections-mcp@3.3.4"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search, get_by_id, get_raw_yaml, list_all, list_by_source, list_by_mitre, list_by_logsource, list_by_severity, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json