SM

stoyky/mitre-attack-mcp

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

45 stars 11 forks 质量 48 趋势 0

stoyky/mitre-attack-mcp 是从 https://github.com/stoyky/mitre-attack-mcp. 导入的一个 MCP 服务器候选。

概览

stoyky/mitre-attack-mcp 是从 https://github.com/stoyky/mitre-attack-mcp. 导入的一个 MCP 服务器候选。

概述(AI 翻译)

MITRE ATT&CK MCP 服务器

MITRE AT&CK 知识库的模型-上下文协议服务器

主要特色 • 安装 • 如何使用 • 使用场景 • 制作人员

主要特色

  • 50+ MITRE AT&CK 查询工具
  • 通过结构化API工具全面访问MITRE ATT&CK知识库
  • 自动ATT&CK导航仪层生成
  • 生成威胁行为者使用的技术的可视化表示
  • 威胁行为者与恶意软件归因
  • 恶意软件、威胁行为者与技术之间的查询关系
  • 技术重叠分析
  • 比较不同威胁行为者或恶意软件家族使用的技术

安装

要克隆并运行这台服务器,你需要在电脑上安装 Git、Python 和 PipX。

  1. 确保 Git、Python 和 PipX 已按照其官方的 Windows/Mac/Linux 安装说明安装
  2. 使用 PipX 安装 MCP 服务器

如何使用

用Claude AI桌面配置

  1. 打开 Claude 的 MCP 服务器配置文件。

窗户

Linux / Mac

  1. 如果该文件还不存在,请添加以下内容。如果已有,则相应地合并两个 JSON 结构。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MITRE ATT&CK MCP Server

A Model-Context Protocol server for the MITRE ATT&CK knowledge base

Key Features • Installation • How To Use • Use Cases • Credits

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

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",
        ""
      ]
    }
  }
}

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
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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