About Security Detections MCP
Security Detections MCP is an MCP server published by MHaggis in the Security category: mCP to help Defenders Detection Engineer Harder and Smarter. Conduid read 87 tools from its source: add_learning, add_observation, analyze_actor_coverage, analyze_coverage, analyze_procedure_coverage, auto_analyze_coverage and 81 more. It is published to npm as security-detections-mcp and starts with npx.
The repository has 532 stars and 86 forks, and its last commit was on 4 Nov 2026. The latest release is v3.3.4 (4 Nov 2026). It follows v3.3.3 (4 Nov 2026), and the 5 most recent releases go back to v3.3.0 (16 Jun 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass License declared, No dynamic code execution and Scoped permissions. Its topics include security and detection-engineering.
Install
claude mcp add security-detections-mcp -- npx -y security-detections-mcpnpx -y security-detections-mcpgit clone https://github.com/MHaggis/Security-Detections-MCPTools (87)
add_learningStore a pattern or insight derived from analysis for future reference. Learnings are reusable knowledge that can help future sessions. Learning types: - detection_pattern: A pattern for writing effective detections - gap_pattern: A recurring type of detection gap - user_preference: User preferences for analysis style - false_positive_pattern: Common FP patterns to avoid - threat_pattern: Recurring threat behaviors - correlation_insight: Insights about technique correlations - data_quality_insight: Insights about data source quality Examples: - "STORM-0501 consistently uses native tools before deploying ransomware" - "Detections for T1059.001 need process parent filtering to reduce FPs" - "User prefers prioritizing detections by MITRE tactic stage"| Parameter | Type | Description |
|---|---|---|
| applications | string | How this learning can be applied in practice |
| evidence | string | Evidence supporting this learning (observations, decisions that led to it) |
| insight * | string | The actual insight or pattern learned |
| learning_type * | string | Type of learning: detection_pattern, gap_pattern, user_preference, false_positive_pattern, threat_pattern, correlation_insight, data_quality_insight |
| title * | string | Short title for this learning |
add_observationAdd a fact or observation about an entity. Observations capture point-in-time knowledge that can be queried later. Examples: - "APT29 has been active since at least 2008" - "This detection has high false positives in development environments" - "T1059.001 is commonly used for initial access in ransomware"| Parameter | Type | Description |
|---|---|---|
| confidence | number | Confidence in this observation (0.0-1.0, default 1.0) |
| entity_name * | string | Name of the entity this observation is about |
| observation * | string | The fact or observation to record |
| source | string | Source of this observation (e.g., "CISA Advisory", "user input", "threat report") |
analyze_actor_coverageDeep intelligence about a threat actor: per-tactic coverage breakdown, covered techniques with detection counts, and all uncovered technique gaps.| Parameter | Type | Description |
|---|---|---|
| actor_name * | string | Threat actor name |
analyze_coverageAlias for get_coverage_summary — returns the same comprehensive coverage report.analyze_procedure_coverageAnalyze procedure-level coverage for a MITRE technique. Goes beyond "we cover T1059.001" to show WHICH specific behaviors/procedures your detections actually catch (e.g., encoded commands, download cradles, AMSI bypass). Shows covered and uncovered procedures with detection names.| Parameter | Type | Description |
|---|---|---|
| include_query_snippets | boolean | Include relevant query snippets showing what each detection checks (default: false) |
| source_type | string | Filter to specific source (optional — analyzes all if omitted) |
| technique_id * | string | MITRE technique ID (e.g., T1059.001, T1003.001) |
auto_analyze_coverageAutomatically analyze detection coverage, identify gaps across threat profiles, and store findings for future reference. This tool: 1. Runs coverage analysis across all detections 2. Identifies gaps for specified threat profiles (ransomware, apt, etc.) 3. Stores results in the gap_analyses dynamic table 4. Logs decisions about significant findings in the knowledge graph Use this for comprehensive, stored analysis that persists across sessions.| Parameter | Type | Description |
|---|---|---|
| analysis_name | string | Optional name for this analysis run (defaults to timestamp-based name) |
| session_id | string | Optional session ID to group related analyses |
| store_results | boolean | Store results in dynamic tables for persistence (default: true) |
| threat_profiles | array | Threat profiles to analyze. Options: ransomware, apt, initial-access, persistence, credential-access, defense-evasion. Default: ["ransomware", "apt"] |
auto_compare_sourcesAutonomously compare detection coverage across different sources (Sigma, Splunk ESCU, Elastic, KQL) with detailed reasoning and analysis. This tool: 1. Compares detection counts and coverage across all available sources 2. Analyzes technique-level coverage differences between sources 3. Identifies which source has best coverage for specific tactics/techniques 4. Provides reasoned recommendations for source selection 5. Stores comparison results and logs decision reasoning Use this to understand the strengths/weaknesses of different detection sources and make informed decisions about which to use.| Parameter | Type | Description |
|---|---|---|
| focus_tactic | string | Focus comparison on a specific MITRE ATT&CK tactic |
| include_quality_analysis | boolean | Include analysis of detection quality indicators (default: true) |
| session_id | string | Optional session ID to group related comparisons |
| techniques_to_compare | array | Specific MITRE technique IDs to compare (e.g., ["T1059.001", "T1003.001"]). If not provided, uses high-priority techniques. |
auto_gap_reportGenerate a comprehensive gap report comparing detection coverage across sources (Sigma, Splunk ESCU, Elastic, KQL) and threat profiles. This tool: 1. Analyzes all threat profiles for gaps 2. Compares detection coverage across different sources 3. Creates prioritized recommendations based on severity and coverage 4. Stores the complete report in dynamic tables Use this for executive-level reporting on detection posture.| Parameter | Type | Description |
|---|---|---|
| compare_sources | boolean | Include source comparison analysis (default: true) |
| include_recommendations | boolean | Generate prioritized recommendations (default: true) |
| priority_tactics | array | Tactics to prioritize in recommendations. Options: execution, persistence, credential-access, defense-evasion, lateral-movement, exfiltration, impact |
| report_name | string | Name for this report (defaults to timestamp-based name) |
| session_id | string | Optional session ID to group related reports |
check_sampling_statusCheck if MCP sampling is available for LLM-enhanced analysis. Sampling allows the server to request LLM completions from the client, enabling richer autonomous analysis. Not all MCP clients support this feature. Use this tool to check capability before using llm_enhanced_analysis.compare_actor_coverageCompare two or more threat actors side-by-side: total techniques, coverage %, shared gaps, unique gaps.| Parameter | Type | Description |
|---|---|---|
| actor_names * | array | Between 2 and 5 actor names to compare |
compare_procedure_coverageCompare procedure-level detection coverage across sources for a technique. Shows which source catches which specific behaviors — two orgs can both tag T1059.001 but detect completely different procedures. Returns a matrix of source × procedure.| Parameter | Type | Description |
|---|---|---|
| sources | array | Sources to compare (default: all available) |
| technique_id * | string | MITRE technique ID to compare across sources |
compare_sourcesCross-source comparison for a MITRE technique: how many detections does each source (Sigma, Splunk, Elastic, KQL, Sublime, CQL) have for this technique, and which sources have no coverage.| Parameter | Type | Description |
|---|---|---|
| technique_id * | string | MITRE technique ID |
count_by_sourceGet quick counts of detections by source for a topic. Returns just the numbers, no detection details.| Parameter | Type | Description |
|---|---|---|
| topic * | string | Topic to count (e.g., "powershell", "lateral movement") |
create_entityCreate a knowledge entity representing a security concept. Use this to build the knowledge graph with threat actors, techniques, detections, campaigns, tools, vulnerabilities, and data sources. Entity types: - threat_actor: APT groups, criminal gangs (e.g., "APT29", "STORM-0501") - technique: MITRE ATT&CK techniques (e.g., "T1059.001 PowerShell") - detection: Security detection rules (e.g., "Suspicious PowerShell Execution") - campaign: Attack campaigns (e.g., "SolarWinds Compromise") - tool: Attack tools or malware (e.g., "Cobalt Strike", "Mimikatz") - vulnerability: CVEs (e.g., "CVE-2024-1234") - data_source: Log sources (e.g., "Windows Security Events")| Parameter | Type | Description |
|---|---|---|
| entity_type * | string | Type of entity: threat_actor, technique, detection, campaign, tool, vulnerability, data_source |
| name * | string | Unique name for the entity (e.g., "APT29", "T1059.001", "Cobalt Strike") |
create_relationCreate a relationship between two entities WITH reasoning explaining WHY they're connected. This is the core of tribal knowledge - capturing not just the connection but the insight behind it. Relation types: - uses: Threat actor uses technique/tool (e.g., APT29 uses Cobalt Strike) - targets: Threat actor targets sector/system - detects: Detection covers technique - covers: Detection provides coverage for technique - mitigates: Control mitigates technique - exploits: Campaign exploits vulnerability - attributed_to: Campaign attributed to threat actor - depends_on: Detection depends on data source - related_to: General relationship IMPORTANT: The reasoning field is critical - explain WHY this connection exists.| Parameter | Type | Description |
|---|---|---|
| confidence | number | Confidence in this relationship (0.0-1.0, default 1.0) |
| from_entity * | string | Name of the source entity |
| reasoning * | string | REQUIRED: WHY does this relationship exist? This captures tribal knowledge. |
| relation_type * | string | Type of relationship: uses, targets, detects, covers, mitigates, exploits, attributed_to, depends_on, related_to |
| to_entity * | string | Name of the target entity |
create_tableCreate a new custom table to store analysis data. Use this to persist findings, research results, or any structured data you want to retrieve later. Pre-built tables available: gap_analyses, source_comparisons, threat_actor_profiles, detection_recommendations| Parameter | Type | Description |
|---|---|---|
| columns * | array | Column definitions for the table schema |
| description * | string | Human-readable description of what this table stores |
| name * | string | Table name (alphanumeric and underscores, must start with letter). Examples: my_analysis, cve_research, custom_mappings |
delete_entityRemove an entity from the knowledge graph. This also removes all relations and observations associated with the entity.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name or ID of the entity to delete |
delete_observationRemove a specific observation by its ID. Use open_entity first to find observation IDs.| Parameter | Type | Description |
|---|---|---|
| observation_id * | string | UUID of the observation to delete |
delete_templateDelete a saved query template by name.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the template to delete |
describe_tableGet detailed schema information and statistics for a dynamic table.| Parameter | Type | Description |
|---|---|---|
| table_name * | string | Name of the table to describe |
drop_tableRemove a dynamic table and all its data. Use with caution - this is irreversible.| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to confirm deletion |
| table_name * | string | Name of the table to drop |
extract_patternsExtract and store patterns from all indexed detections. Run this to populate the pattern database for template generation.| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force re-extraction even if patterns exist (default: false) |
find_similar_detectionsFind existing detections similar to what you want to create. Use this to learn from existing detection logic and structure.| Parameter | Type | Description |
|---|---|---|
| description * | string | Describe the behavior you want to detect (e.g., "PowerShell downloading files", "process injection via CreateRemoteThread") |
| limit | number | Maximum results (default 5) |
| source_type | string | Filter by source type (optional) |
| technique_id | string | MITRE technique ID to narrow search (optional) |
generate_navigator_layerGenerate a MITRE ATT&CK Navigator JSON layer showing covered techniques. Output can be pasted directly into the Navigator web app.| Parameter | Type | Description |
|---|---|---|
| name | string | Layer name shown in Navigator |
generate_rba_structureGenerate RBA (Risk-Based Alerting) structure for a detection based on learned patterns and best practices.| Parameter | Type | Description |
|---|---|---|
| description * | string | What the detection identifies (for message generation) |
| detection_type * | string | Type of detection |
| fields_available | array | Fields available in the detection (e.g., ["dest", "user", "process_name"]) |
| severity * | string | Detection severity |
get_actor_coverageAnalyze detection coverage against a MITRE ATT&CK threat actor/APT group. Shows covered and uncovered techniques.| Parameter | Type | Description |
|---|---|---|
| actor_name * | string | Threat actor name (e.g., APT29, Lazarus Group, FIN7) |
get_actor_profileGet a full profile for a threat actor: description, aliases, technique list, and detection coverage %.| Parameter | Type | Description |
|---|---|---|
| actor_name * | string | Threat actor name (e.g., "APT29", "FIN7") |
get_by_idGet full details for a single detection by its ID (Sigma UUID or Splunk/Elastic slug).| Parameter | Type | Description |
|---|---|---|
| id * | string | Detection ID |
get_coverage_summaryGet overall MITRE ATT&CK coverage summary — total techniques, covered techniques, coverage %, breakdowns by source and tactic, weakest/strongest tactics.get_detection_listGet a lightweight list of detection names and IDs matching a search query. Returns ONLY name, id, source, mitre_ids - no queries or raw yaml. Use this when you need a simple list.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 100) |
| query * | string | Search query (e.g., "powershell", "credential", "T1059") |
| source_type | string | Optional: filter by source type |
get_field_referenceGet available fields for a Splunk data model with usage examples. Use this to understand what fields are available when writing a detection query.| Parameter | Type | Description |
|---|---|---|
| data_model * | string | Data model name (e.g., Endpoint.Processes, Endpoint.Filesystem, Network_Traffic.All_Traffic) |
get_learningsGet applicable learnings for the current task. Returns patterns and insights that may help with the current analysis. Use this to: - Apply proven patterns to new situations - Remember user preferences - Avoid known pitfalls| Parameter | Type | Description |
|---|---|---|
| learning_type | string | Optional filter by learning type |
| limit | number | Maximum learnings to return (default 10) |
| mark_applied | boolean | If true, increment the times_applied counter for returned learnings |
| task_query * | string | Description of current task to find relevant learnings (e.g., "writing PowerShell detection", "analyzing APT coverage") |
get_macro_referenceGet common Splunk macros and their usage patterns. Essential for writing detections that follow repository conventions.| Parameter | Type | Description |
|---|---|---|
| filter | string | Filter macros by name (optional, e.g., "security_content") |
get_query_patternsGet common query patterns for a MITRE technique based on existing detections. Returns SPL structure, common fields, macros used, and example queries. Use this before writing a detection to learn the conventions.| Parameter | Type | Description |
|---|---|---|
| source_type | string | Filter patterns by source type (optional) |
| technique_id * | string | MITRE technique ID (e.g., T1059.001, T1003.001) |
get_raw_yamlGet the original YAML content for a detection (useful for copying the rule verbatim).| Parameter | Type | Description |
|---|---|---|
| id * | string | Detection ID |
get_relevant_decisionsGet past decisions relevant to the current context. Uses full-text search to find tribal knowledge that applies to your current analysis. Use this to: - See how similar situations were handled before - Understand reasoning behind past recommendations - Maintain consistency with previous decisions| Parameter | Type | Description |
|---|---|---|
| context_query * | string | Description of current context to find relevant decisions (e.g., "ransomware detection gaps", "credential theft coverage") |
| decision_type | string | Optional filter by decision type |
| limit | number | Maximum decisions to return (default 20) |
| session_id | string | Optional filter by session |
get_saved_queryRetrieve a previously saved query result by name.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the saved query |
get_statsGet summary statistics about the indexed detection corpus (total detections, per-source counts, last sync).get_storyGet detailed information about a specific analytic story by name| Parameter | Type | Description |
|---|---|---|
| name * | string | Story name (e.g., "Ransomware", "Windows Persistence Techniques") |
get_tactic_summaryGet a summary of detection coverage across all MITRE ATT&CK tactics.get_technique_countGet just the detection count for a technique (~50 bytes). Use this for quick coverage checks.| Parameter | Type | Description |
|---|---|---|
| technique_id * | string | MITRE technique ID (e.g., T1059.001) |
get_technique_coverageGet detection coverage for a specific MITRE ATT&CK technique. Shows which sources have detections.| Parameter | Type | Description |
|---|---|---|
| technique_id * | string | MITRE ATT&CK technique ID (e.g., T1059.001) |
get_technique_fullFull technique detail: all covering detections (paginated), actors using it, procedures, per-source breakdown.| Parameter | Type | Description |
|---|---|---|
| detection_limit | number | Max detections to return (default 50) |
| technique_id * | string | MITRE technique ID |
get_technique_idsGet ONLY unique MITRE technique IDs (lightweight - no full detection data). Use this for Navigator layer generation or coverage analysis.| Parameter | Type | Description |
|---|---|---|
| severity | string | Filter by severity |
| source_type | string | Filter by source type |
| tactic | string | Filter by MITRE tactic |
get_technique_intelligenceDeep intelligence for a single MITRE technique ID: detections by source, actors using it, related sub-techniques, coverage gaps.| Parameter | Type | Description |
|---|---|---|
| technique_id * | string | MITRE technique ID like T1059 or T1059.001 |
get_templateGet the full details of a saved query template including the template string and parameters.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the template to retrieve |
get_top_gapsGet just the top 5 gaps (~300 bytes) for a threat profile. Use this for quick gap checks.| Parameter | Type | Description |
|---|---|---|
| threat_profile * | string | Threat profile to check |
identify_gapsIdentify detection gaps for a specific threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized uncovered techniques.insert_rowInsert a row of data into a dynamic table. Data is validated against the table schema.| Parameter | Type | Description |
|---|---|---|
| data * | object | Key-value pairs matching the table schema. Use JSON for complex values (arrays, nested objects). |
| row_id | string | Optional: Custom row ID. If not provided, a UUID is generated. |
| table_name * | string | Name of the table to insert into |
learn_from_feedbackStore user preference or correction to improve future suggestions. Call this when user modifies generated content to build tribal knowledge.| Parameter | Type | Description |
|---|---|---|
| context | string | Additional context (technique, detection type, etc.) |
| corrected * | string | What the user changed it to |
| feedback_type * | string | Type of feedback |
| original * | string | What was originally suggested |
list_actorsList or search MITRE ATT&CK threat actors. Pass a query to search by name or alias.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| query | string | Search term (matches name and aliases) |
list_allList detections with pagination. Prefer search() or list_by_* filters for targeted queries.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 50, hard cap 100) |
| offset | number | Offset for pagination |
list_by_analytic_storyList detections that belong to a Splunk Analytic Story (e.g., "Ransomware", "Cloud Federated Credential Abuse").| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| story * | string | Analytic story name |
list_by_cveFind detections that reference a specific CVE ID.| Parameter | Type | Description |
|---|---|---|
| cve * | string | CVE identifier like CVE-2024-12345 |
| limit | number |
list_by_data_sourceFind detections that require a specific data source (e.g., "Sysmon", "Windows Event Log", "Process Creation").| Parameter | Type | Description |
|---|---|---|
| data_source * | string | Data source name |
| limit | number |
list_by_detection_typeList detections by detection type (e.g., "TTP", "Anomaly", "Hunting", "Correlation").| Parameter | Type | Description |
|---|---|---|
| detection_type * | string | Detection type label |
| limit | number |
list_by_kql_categoryList KQL detections filtered by category (e.g., "Defender For Endpoint", "Azure Active Directory", "Threat Hunting")| Parameter | Type | Description |
|---|---|---|
| category * | string | KQL category derived from folder path (e.g., "Defender For Endpoint", "DFIR", "Sentinel") |
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
list_by_kql_datasourceList KQL detections that use a specific Microsoft data source (e.g., "DeviceProcessEvents", "SigninLogs", "EmailEvents")| Parameter | Type | Description |
|---|---|---|
| data_source * | string | Microsoft KQL table name (e.g., "DeviceProcessEvents", "AADSignInEventsBeta", "CloudAppEvents") |
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
list_by_kql_tagList KQL detections filtered by tag (e.g., "ransomware", "hunting", "ti-feed")| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
| tag * | string | Tag to filter by (e.g., "ransomware", "dfir", "apt") |
list_by_logsourceList Sigma detections filtered by logsource (category, product, or service)| Parameter | Type | Description |
|---|---|---|
| category | string | Logsource category (e.g., process_creation, network_connection) |
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
| product | string | Logsource product (e.g., windows, linux, aws) |
| service | string | Logsource service (e.g., sysmon, security, powershell) |
list_by_mitreList detections that reference a specific MITRE technique ID (via the detection_techniques junction table).| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| technique_id * | string | MITRE technique ID like T1059.001 |
list_by_mitre_tacticList detections that map to a specific MITRE tactic (e.g., credential-access, defense-evasion).| Parameter | Type | Description |
|---|---|---|
| limit | number |
list_by_name_patternList detections whose NAME matches a pattern, grouped by source. Returns just name + ID pairs.| Parameter | Type | Description |
|---|---|---|
| pattern * | string | Pattern to match in detection names (e.g., "PowerShell", "WMI", "Registry") |
| source_type | string | Optional: filter to specific source |
list_by_process_nameFind detections that monitor a specific process name (e.g., rundll32.exe, powershell.exe).| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| process_name * | string | Process executable name |
list_by_severityList detections at a specific severity (informational, low, medium, high, critical).| Parameter | Type | Description |
|---|---|---|
| limit | number |
list_by_sourceList detections from a specific source (sigma, splunk_escu, elastic, kql, sublime, crowdstrike_cql, jamf_protect).| Parameter | Type | Description |
|---|---|---|
| limit | number |
list_saved_queriesList all saved queries, optionally filtered by type.| Parameter | Type | Description |
|---|---|---|
| query_type | string | Optional: filter by query type |
list_storiesList all analytic stories with pagination| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
list_stories_by_categoryList analytic stories by category (e.g., "Malware", "Adversary Tactics", "Abuse")| Parameter | Type | Description |
|---|---|---|
| category * | string | Story category (e.g., "Malware", "Adversary Tactics", "Abuse", "Cloud Security") |
| limit | number | Max results to return (default 100) |
| offset | number | Offset for pagination (default 0) |
list_tablesList all dynamic tables created by the LLM, including pre-built analysis tables and their statistics.| Parameter | Type | Description |
|---|---|---|
| include_prebuilt | boolean | Include pre-built analysis tables in the list (default: true) |
list_templatesList all saved query templates with their names, descriptions, and usage statistics.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of templates to return (default: 50) |
| sort_by | string | Field to sort by (default: use_count) |
llm_enhanced_analysisRequest LLM-enhanced analysis of security detection data using MCP sampling. This tool leverages MCP sampling to request the client's LLM to analyze security data with expert reasoning. Unlike the auto_* tools that perform direct analysis, this tool asks the LLM to provide contextual insights. Note: Requires client to support MCP sampling capability. If not supported, falls back to structured data output. Use cases: - Get expert reasoning about coverage gaps - Generate detection recommendations with context - Compare sources with nuanced analysis - Understand threat profile implications| Parameter | Type | Description |
|---|---|---|
| analysis_type * | string | Type of analysis to request |
| custom_context | string | Additional context for the analysis |
| techniques | array | Specific techniques to analyze (optional) |
| threat_profile | string | Threat profile context (e.g., ransomware, apt) |
log_decisionRecord WHY a significant decision was made. This is the gold of tribal knowledge - capturing the reasoning process so future agents can understand past decisions. Decision types: - gap_identified: A detection gap was found - detection_recommended: A specific detection was recommended - coverage_mapped: Coverage was analyzed and mapped - priority_assigned: A priority decision was made - false_positive_tuning: FP tuning recommendation - threat_assessment: Threat level assessment - data_source_selected: Data source was chosen IMPORTANT: Be detailed in the reasoning - this helps future analysis.| Parameter | Type | Description |
|---|---|---|
| context * | string | The situation/context that led to this decision |
| decision * | string | The actual decision that was made |
| decision_type * | string | Type of decision being logged |
| entities_involved | array | Names of entities involved in this decision |
| outcome | string | Optional outcome or result of the decision |
| reasoning * | string | DETAILED explanation of WHY this decision was made - this is the tribal knowledge. Be specific! |
| session_id | string | Optional session ID to group related decisions |
open_entityGet complete information about a specific entity including all its relations and observations. This is the detailed view of a single knowledge node.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name or ID of the entity to open |
query_tableQuery data from a dynamic table with optional filtering, sorting, and pagination. Filter examples: - Exact match: {"status": "completed"} - LIKE match: {"name": "%ransomware%"} - Multiple conditions: {"status": "pending", "priority": "high"}| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum rows to return (default: 100) |
| offset | number | Number of rows to skip (for pagination) |
| order_by | array | Sort order |
| select | array | Columns to return (default: all) |
| table_name * | string | Name of the table to query |
| where | object | Filter conditions as key-value pairs. Use % for LIKE patterns. |
read_graphRead the entire knowledge graph or a filtered subgraph. Returns entities, relations, and observations. Use this to: - Get an overview of all stored knowledge - Filter by entity type to focus on specific concepts - Understand the structure of captured tribal knowledge| Parameter | Type | Description |
|---|---|---|
| entity_type | string | Filter to specific entity type (threat_actor, technique, detection, etc.) |
| limit | number | Maximum entities/relations to return (default 500) |
rebuild_indexForce re-index all detections and stories from configured paths. WARNING: This is a destructive operation that deletes the current index.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to confirm you want to rebuild (required for safety) |
| skip_elicitation | boolean | Skip the elicitation confirmation prompt (for programmatic use) |
run_templateExecute a saved query template with the provided parameters. Returns the query results.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the saved template to execute |
| params | object | Parameter values to substitute into the template (e.g., {"technique": "T1486", "source": "splunk_escu"}) |
save_querySave a query result for quick retrieval later. Useful for caching frequently needed data.| Parameter | Type | Description |
|---|---|---|
| data * | object | The data to save (any JSON object) |
| name * | string | Name for the saved query (e.g., "powershell_splunk_detections") |
| query_type * | string | Type of query (e.g., "detection_list", "comparison", "coverage") |
| ttl_minutes | number | Time-to-live in minutes (optional, default: no expiry) |
save_templateSave a reusable query template with {{placeholders}}. Templates can contain SQL queries or tool-chain definitions for future execution.| Parameter | Type | Description |
|---|---|---|
| description | string | Human-readable description of what this template does |
| name * | string | Unique name for the template (e.g., "ransomware_gaps", "technique_coverage") |
| template * | string | The query template with {{param}} placeholders (e.g., "SELECT * FROM detections WHERE mitre_ids LIKE '%{{technique}}%'") |
searchFull-text search across all detection rules (name, description, query). Supports multi-word AND queries. Returns up to 50 detections by default.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 50) |
| query * | string | Search query (words are AND-combined) |
search_detectionsSearch for security detections by keyword, technique ID, or description. Returns matching detection rules.| Parameter | Type | Description |
|---|---|---|
| limit | string | Max results (default 10) |
| query * | string | Search query (keywords, technique IDs, CVEs, process names) |
| severity | string | Filter by severity |
| source | string | Filter by source |
search_knowledgeSearch across all knowledge types: entities, relations, observations, decisions, and learnings. Uses full-text search to find relevant tribal knowledge. Search examples: - "PowerShell execution" - Find everything related to PowerShell - "credential theft" - Find credential-related knowledge - "APT29" - Find all knowledge about this threat actor| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results to return (default 30) |
| query * | string | Search query (supports FTS5 syntax) |
search_storiesSearch analytic stories by narrative, description, or name. Stories provide rich context about threat campaigns and detection strategies.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return (default 20) |
| query * | string | Search query for stories (e.g., "ransomware encryption", "credential theft", "persistence") |
smart_compareCompare detections across sources, tactics, or techniques for a given topic. Returns breakdown by source, tactic, and severity.| Parameter | Type | Description |
|---|---|---|
| topic * | string | Topic to compare (e.g., "powershell", "credential dumping", "T1059", "ransomware") |
suggest_detection_templateGenerate a detection template based on technique, learned patterns, and conventions. Returns YAML structure ready for customization.| Parameter | Type | Description |
|---|---|---|
| data_model | string | Data model (e.g., Endpoint.Processes). If not specified, will use most common for technique. |
| description * | string | What behavior to detect (e.g., "PowerShell executing encoded commands") |
| detection_type | string | Detection type (default: TTP) |
| platform | string | Target platform (default: Windows) |
| technique_id * | string | MITRE technique ID (e.g., T1059.001) |
suggest_detectionsGet detection suggestions for a specific technique. Returns existing detections, required data sources, and detection ideas.| Parameter | Type | Description |
|---|---|---|
| source_type | string | Filter by source type (optional) |
| technique_id * | string | MITRE technique ID (e.g., T1059.001, T1547.001) |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 3 more.
- !No dynamic code executionScanned 149 source files and found 8 calls to eval or shell execution, in src/db/procedure-reference.ts:4639, src/db/procedure-reference.ts:8232 and src/db/procedure-reference.ts:4198 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/server.ts:4, web/app/api/mcp/[transport]/route.ts:23
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 18 callsweb/app/(app)/account/account-form.tsx:75, web/app/(app)/account/account-form.tsx:107, web/app/(app)/account/admin/admin-user-list.tsx:100
- Writes or deletes files
- 1 callagents/nodes/attack-range-builder.ts:321
- Lockfile
- package-lock.json and 3 more
Pattern matches on the source text of 149 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.6K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README