Skip to main content
Glama
MITRE ATT&CK MCP Server

MITRE ATT&CK MCP Server

by stoyky

Key Features

  • 50+ Tools for MITRE ATT&CK Querying

    • Comprehensive access to the MITRE ATT&CK knowledge base through structured API tools

  • Automatic ATT&CK Navigator Layer Generation

    • Generate visual representations of techniques used by threat actors

  • Threat Actor and Malware Attribution

    • Query relationships between malware, threat actors, and techniques

  • Technique Overlap Analysis

    • Compare techniques used by different threat actors or malware families

Related MCP server: Threat Intel MCP Server

Installation

To clone and run this server, you'll need Git, Python, and PipX installed on your computer.

  1. Ensure Git, Python, and PipX have been installed using their official respective installation instructions for Windows/Mac/Linux

  2. Install the MCP Server using PipX

pipx install git+https://github.com/stoyky/mitre-attack-mcp

How To Use

Configure with Claude AI Desktop

  1. Open Claude's MCP server configuration file.

Windows

C:\Users\[YourUsername]\AppData\Roaming\Claude\claude_desktop_config.json
# or
C:\Users\[YourUsername]\AppData\Local\AnthropicClaude\claude_desktop_config.json

Linux / Mac

~/.config/Claude/claude_desktop_config.json
  1. Add the following to that file if it doesn't already exist. If it already exists, merge the two JSON structures accordingly.

{
  "mcpServers": {
    "mitre-attack": {
      "command": "mitre-attack-mcp",
      "args": [
      ]
    }
  }
}

Note: By default the MCP server stores the mitre-related data in the current users default cache directory. You can specify a custom data directory to use with the following config:

{
  "mcpServers": {
    "mitre-attack": {
      "command": "mitre-attack-mcp",
      "args": [
        "--data-dir",
        "<path-to-data-dir>"
      ]
    }
  }
}

Changelog

  • v1.0.2 - Now installable via PipX on Windows, Mac, and Linux. "data directory" argument is now optional and will use the default cache directory if omitted.

  • v1.0.0 - Initial release

  • V1.0.1 - Improved robustness of layer metadata generation and error handling in layer generation function

Use Cases

  • Query for detailed information about specific malware, tactics, or techniques

  • Discover relationships between threat actors and their tools

  • Generate visual ATT&CK Navigator layers for threat analysis

  • Find campaign overlaps between different threat actors

  • Identify common techniques used by multiple malware families

Please see my blog for more information and examples.

Credits


Created by Remy Jaspers

Available Tools

55 tools
generate_layerA

Generate an ATT&CK navigator layer in JSON format based on a matching ATT&CK ID value

Args: attack_id: ATT&CK ID to generate ATT&CK navigator layer for. Valid match values are single ATT&CK ID's for group (GXXX), mitigation (MXXX), software (SXXX), and data component objects (DXXX) within the selected ATT&CK data. NEVER directly input a technique (TXXX). If an invalid match happens, or if multiple ATT&CK ID's are provided, present the user with an error message. score: Score to assign to each technique in the layer domain: Domain name ('enterprise', 'mobile', or 'ics')

Inputs: attack_id (required), score (required), domain.

get_all_assetsB

Get all assets in the MITRE ATT&CK framework (ICS domain only)

Args: domain: Domain name ('ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_campaignsB

Get all campaigns in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_datacomponentsB

Get all data components in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_datasourcesB

Get all data sources in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_groupsC

Get all threat actor groups in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_matricesC

Get all matrices in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_mitigationsB

Get all mitigations in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_parent_techniquesB

Get all parent techniques in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_softwareB

Get all software in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_subtechniquesB

Get all subtechniques in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_tacticsB

Get all tactics in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_all_techniquesB

Get all techniques in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_assets_targeted_by_techniqueB

Get assets targeted by technique STIX ID (shows how assets are targeted by technique), only pertains to ICS domain

Args: technique_stix_id: Technique STIX ID to check what assets are targeted by it domain: Domain name ('ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_attack_idC

Get attack ID for given stix ID

Args: stix_id: STIX ID to find associated ATT&CK ID for domain: Domain name ('enterprise', 'mobile', or 'ics')

Inputs: stix_id (required), domain.

get_campaigns_attributed_to_groupB

Get all campaigns attributed to group by group STIX ID

Args: group_stix_id: Group STIX ID belonging to requested MITRE ATT&CK group domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: group_stix_id (required), domain, include_description.

get_campaigns_by_aliasB

Get campaigns by their alias

Args: alias: Alias to find associated campaigns for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: alias (required), domain, include_description.

get_campaigns_using_softwareB

Get all campaigns that use software

Args: software_stix_id: Software STIX ID to look up campaigns in which it is used domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: software_stix_id (required), domain, include_description.

get_campaigns_using_techniqueA

Get all campaigns in which a technique is used by its STIX ID

Args: technique_stix_id: Technique STIX ID to look up campaigns in which it is used domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_datacomponents_detecting_techniqueB

Get datacomponents that detect the given technique

Args: technique_stix_id: Technique STIX ID to check what datacomponents detect it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_groups_attributing_to_campaignB

Get groups attributing to campaign

Args: campaign_stix_id: Campaign STIX ID to look up what groups have been attributed to it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: campaign_stix_id (required), domain, include_description.

get_groups_by_aliasA

Get MITRE ATT&CK group ID and description by their alias

Args: alias: alias of a MITRE ATT&CK group domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: alias (required), domain, include_description.

get_groups_using_softwareB

Get groups using software by software name

Args: software_stix_id: Software STIX ID to check which groups use the given software domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: software_stix_id (required), domain, include_description.

get_groups_using_techniqueC

Get groups using a technique by its STIX ID

Args: technique_stix_id: Technique STIX ID to check what groups are associated with it. domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_layer_metadataA

Always call this tool whenever a prompt requires the generation of a MITRE ATT&CK Navigator Layer, such as the generate_layer tool. Always insert this metadata in the generated layer.

Args: domain (str, optional): The ATT&CK domain ('enterprise', 'mobile', or 'ics'). Defaults to 'enterprise'.

Returns: str: JSON string containing the appropriate layer metadata

Inputs: domain.

get_mitigations_mitigating_techniqueC

Get mitigations mitigating technique

Args: technique_stix_id: Technique STIX ID to what mitigations are mitigating this technique domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_nameB

Get name for given stix ID

Args: stix_id: STIX ID to find associated name for domain: Domain name ('enterprise', 'mobile', or 'ics')

Inputs: stix_id (required), domain.

get_object_by_attack_idA

Get object by ATT&CK ID (case-sensitive)

Args: attack_id: ATT&CK ID to find associated object for stix_type: TheSTIX object type (must be 'attack-pattern', 'malware', 'tool', 'intrusion-set', 'campaign', 'course-of-action', 'x-mitre-matrix', 'x-mitre-tactic', 'x-mitre-data-source', 'x-mitre-data-component', or 'x-mitre-asset') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: attack_id (required), stix_type (required), domain, include_description.

get_object_by_stix_idB

Get object by STIX ID (case-sensitive)

Args: stix_id: ATT&CK ID to find associated object for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: stix_id (required), domain, include_description.

get_objects_by_contentC

Get objects by the content of their description

Args: name: Name of the object to search for object_type: The STIX object type (must be 'attack-pattern', 'malware', 'tool', 'intrusion-set', 'campaign', 'course-of-action', 'x-mitre-matrix', 'x-mitre-tactic', 'x-mitre-data-source', 'x-mitre-data-component', or 'x-mitre-asset') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: content (required), object_type (required), domain, include_description.

get_objects_by_nameB

Get objects by name (case-sensitive)

Args: name: Name of the object to search for stix_type: TheSTIX object type (must be 'attack-pattern', 'malware', 'tool', 'intrusion-set', 'campaign', 'course-of-action', 'x-mitre-matrix', 'x-mitre-tactic', 'x-mitre-data-source', 'x-mitre-data-component', or 'x-mitre-asset') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: name (required), stix_type (required), domain, include_description.

get_objects_by_typeB

Get objects by STIX type

Args: stix_type: TheSTIX object type (must be 'attack-pattern', 'malware', 'tool', 'intrusion-set', 'campaign', 'course-of-action', 'x-mitre-matrix', 'x-mitre-tactic', 'x-mitre-data-source', 'x-mitre-data-component', or 'x-mitre-asset') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: stix_type (required), domain, include_description.

get_objects_created_afterB

Get objects created after a specific timestamp

Args: timestamp: ISO format timestamp string (e.g., '2020-01-01T00:00:00Z') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: timestamp (required), domain, include_description.

get_objects_modified_afterB

Get objects modified after a specific timestamp

Args: timestamp: ISO format timestamp string (e.g., '2020-01-01T00:00:00Z') domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: timestamp (required), domain, include_description.

get_parent_technique_of_subtechniqueB

Get parent technique of subtechnique

Args: technique_stix_id: Subtechnique STIX ID to check what its parent technique is domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_procedure_examples_by_tacticB

Get procedure examples by tactic (shows how groups use techniques in this tactic)

Args: tactic: Tactic name to check procedure examples for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: tactic (required), domain, include_description.

get_procedure_examples_by_techniqueB

Get procedure examples by technique STIX ID (shows how groups use a technique)

Args: technique_stix_id: Technique STIX ID to check how they are used and in what procedure domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_revoked_techniquesB

Get all revoked techniques in the MITRE ATT&CK framework

Args: domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: domain, include_description.

get_software_by_aliasB

Get software by it's alias

Args: alias: Software name alias to find in MITRE ATT&CK domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: alias (required), domain, include_description.

get_software_used_by_campaignC

Get software used by campaign

Args: campaign_stix_id: Campaign STIX ID to look up what software has been used in it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: campaign_stix_id (required), domain, include_description.

get_software_used_by_groupB

Get software used by MITRE ATT&CK group STIX id

Args: group_stix_id: Group STIX ID belonging to requested MITRE ATT&CK group domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: group_stix_id (required), domain, include_description.

get_software_using_techniqueB

Get software using technique

Args: technique_stix_id: Technique STIX ID to search software that uses it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_stix_typeB

Get object type by stix ID

Args: stix_id: ATT&CK ID to find associated object type for domain: Domain name ('enterprise', 'mobile', or 'ics')

Inputs: stix_id (required), domain.

get_subtechniques_of_techniqueC

Get subtechniques of technique

Args: technique_stix_id: Technique STIX ID to check what its subtechniques are domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_tactics_by_matrixB

Get tactics by matrix

Args: matrix_stix_id: Matrix STIX ID to find associated tactics for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: matrix_stix_id (required), domain, include_description.

get_tactics_by_techniqueB

Get tactics associated with a technique

Args: technique_stix_id: Technique STIX ID to find associated tactics for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: technique_stix_id (required), domain, include_description.

get_techniques_by_platformB

Get techniques by the platform provided (Windows, Linux etc.)

Args: platform: Platform (Windows, Linux etc.) to find associated techniques for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: platform (required), domain, include_description.

get_techniques_by_tacticB

Get all techniques of the given tactic

Args: tactic: Tactic name to lookup techniques for domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: tactic (required), domain, include_description.

get_techniques_detected_by_datacomponentB

Get techniques detected by a datacomponent

Args: datacomponent_stix_id: Datacomponent STIX ID to check what techniques it detects domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: datacomponent_stix_id (required), domain, include_description.

get_techniques_mitigated_by_mitigationB

Get techniques mitigated by mitigation

Args: mitigation_stix_id: Mitigation STIX ID to check what techniques are mitigated by it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: mitigation_stix_id (required), domain, include_description.

get_techniques_targeting_assetB

Get techniques targeting a specific asset (ICS domain only)

Args: asset_stix_id: Asset STIX ID to find techniques targeting it domain: Domain name ('ics') include_description: Whether to include description in the output (default is False)

Inputs: asset_stix_id (required), domain, include_description.

get_techniques_used_by_campaignC

Get techniques used by campaign

Args: campaign_stix_id: Campaign STIX ID to check what techniques are used in it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: campaign_stix_id (required), domain, include_description.

get_techniques_used_by_groupA

Get all MITRE ATT&CK techniques used by group by group STIX ID

Args: group_stix_id: Group STIX ID belonging to requested MITRE ATT&CK group domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: group_stix_id (required), domain, include_description.

get_techniques_used_by_group_softwareB

Get techniques used by group's software

Args: group_stix_id: Group STIX ID to check what software they use, and what techniques that software uses domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: group_stix_id (required), domain, include_description.

get_techniques_used_by_softwareB

Get techniques used by software

Args: software_stix_id: Software STIX ID to check what techniques are associated with it domain: Domain name ('enterprise', 'mobile', or 'ics') include_description: Whether to include description in the output (default is False)

Inputs: software_stix_id (required), domain, include_description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 55 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific ATT&CK objects and relationships, with clear naming like 'get_techniques_used_by_group' versus 'get_groups_using_technique'. However, some tools like 'get_objects_by_name' and 'get_objects_by_content' could be confused due to overlapping search functionality, and 'get_layer_metadata' is a special-case tool that might be misapplied.

    Naming Consistency5/5

    Tool names follow a highly consistent snake_case pattern with a clear 'verb_noun' or 'verb_noun_preposition_noun' structure throughout. All tools start with 'generate_' or 'get_', and relationship tools consistently use prepositions like 'by', 'for', 'using', or 'targeting' to indicate connections between entities.

    Tool Count2/5

    With 55 tools, this is an extremely large set that feels overwhelming for the ATT&CK framework domain. While ATT&CK has many entities and relationships, this many tools will likely cause analysis paralysis and difficulty in tool selection, exceeding the typical well-scoped range of 3-15 tools.

    Completeness5/5

    The toolset provides comprehensive coverage of the MITRE ATT&CK domain, including retrieval of all entity types (groups, techniques, software, etc.), relationship queries between entities, search capabilities by various attributes, and specialized functions like layer generation and timestamp filtering. No obvious gaps exist for querying the framework's data model.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables querying the MITRE ATT\&CK framework for adversarial tactics, techniques, mitigations, and detection methods through natural language, supporting both ID-based and fuzzy name-based searches.
      3
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides threat intelligence and vulnerability research tools by integrating with NVD, VirusTotal, AbuseIPDB, Shodan, and MITRE ATT\&CK. It enables users to perform CVE lookups, analyze IP reputation, and retrieve detailed MITRE ATT\&CK technique information.
      1
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI-native access to the MITRE ATT\&CK framework, allowing LLMs and agents to query techniques, threat groups, software, and generate ATT\&CK Navigator layers for threat intelligence and security workflows.
      65
      573 npm
      5
      Apache 2.0
    • A
      license
      A
      quality
      A
      maintenance
      Exposes the MITRE ATT\&CK framework to LLMs and AI assistants via the Model Context Protocol, enabling querying of techniques, tactics, groups, software, and mitigations.
      9
      16
      MIT