Alex Llm Attack Mcp Server

ai.smithery由 smithery.ai 發布官方發布者v2.1更新於 Oct 24, 2026

Query and retrieve information about various adversarial tactics and techniques used in cyber atta…

發布方自己的服務:222wcnm Bilistalkermcp

已驗證Streamable HTTP可網頁執行知識與記憶安全與監控

概覽

AI 產生的概覽

一個用來查詢 MITRE ATT&CK 戰術與技術的 MCP 伺服器,可依 ID 或名稱取得緩解措施與偵測方法。

可以做什麼
依 ID 或名稱模糊搜尋查詢 ATT&CK 技術,簡版與完整版可回傳平台、Kill Chain 階段、參考資料、子技術與緩解措施。依技術 ID 查詢緩解措施。依技術 ID 查詢偵測方法。列出所有 ATT&CK 戰術。回傳服務與資料集的版本、維護者及 Git 資訊。
適用情境
適合需要把觀察到的攻擊行為對應到 ATT&CK 技術編號、說明某項技術,或為資安分析、威脅建模與報告取得其緩解措施與偵測方法的情境。
執行需求
可作為 server.smithery.ai 上的遠端 streamable HTTP 端點使用;也可在本機執行 Python 程式,需以 pip 安裝相依套件,並在專案根目錄放置 enterprise-attack.json 資料集。遠端端點需要 Authorization bearer token 進行 Smithery 驗證。
安裝前請注意
遠端端點需要 Authorization bearer token,憑證會傳送給服務提供者。內容為攻擊技術的參考資料,應僅作資訊用途,並與官方 ATT&CK 來源核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Alex Llm Attack Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.smithery%2Falex-llm-attack-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "alex-llm-attack": {
      "type": "http",
      "url": "https://server.smithery.ai/@alex-llm/attack-mcp-server/mcp"
    }
  }
}

README

attAck-mcp-server

This project is an MCP (Model Context Protocol) server for querying ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) techniques and tactics. It provides a way to access and retrieve information about various attack techniques and tactics used by adversaries.

Tools

The server provides the following tools:

  • query_technique: This tool allows you to query ATT&CK techniques by ID or name.
    • Arguments:
      • technique_id (string, optional): The ID of the technique to query.
      • tech_name (string, optional): The name (or partial name) of the technique to query. 支持名称模糊搜索。
    • Example:
      • 按ID查询:
      json
      {  "technique_id": "T1059.001"}
      • 按名称模糊搜索:
      json
      {  "tech_name": "phishing"}
  • search_technique_full: 通过技术 ID 或名称查询攻击技术的所有详细信息,返回的数据包含 ID、名称、描述、适用平台、Kill Chain 阶段、参考资料、子技术及缓解措施。名称搜索返回格式为 { "results": [...], "count": N } 的字典,其中 results 为匹配技术完整数据列表。
    • Arguments:
      • technique_id (string, optional): 要查询的技术ID。
      • tech_name (string, optional): 技术名称关键字,支持模糊匹配。
    • Example:
      • 按ID查询:
      json
      {  "technique_id": "T1059.001"}
      • 按名称模糊搜索:
      json
      {  "tech_name": "phishing"}
  • query_mitigations: 查询技术的缓解措施
    • Arguments:
      • technique_id (string, required): 要查询的技术ID
    • Example:
      json
      {  "technique_id": "T1059.001"}
  • query_detections: 查询技术的检测方法
    • Arguments:
      • technique_id (string, required): 要查询的技术ID
    • Example:
      json
      {  "technique_id": "T1059.001"}
  • list_tactics: This tool allows you to retrieve a list of all ATT&CK tactics.
    • Arguments: None
  • server_info: 返回服务与数据集的版本、维护者和Git信息。
    • Arguments: None
    • Example:
      json
      {}

Usage

To use this MCP server, you need to have an MCP client configured to connect to it. Once connected, you can use the provided tools to query ATT&CK techniques and tactics.

MCP Client 配置说明

1. 本地 stdio 方式(推荐 Smithery/本地集成)

  • 直接运行:
    bash
    python main.py
  • 程序会自动选择 stdio 模式(默认或 ATTACK_MCP_MODE=stdio),适用于 Smithery、Cursor 等支持本地 MCP stdio 的客户端。
  • MCP 客户端配置服务类型为"local/stdio",无需指定端口。
  • 适用场景:Smithery 自动化、CI/CD、本地 AI Agent 集成。

2. HTTP/Streamable 方式(远程/开发/调试)

  • 使用 CLI 参数切换模式:

    bash
    python main.py --mode http --host 0.0.0.0 --port 8081 --log-level info
  • 或通过环境变量控制:

    bash
    export ATTACK_MCP_MODE=httpexport ATTACK_MCP_HOST=0.0.0.0   # 可选,默认 0.0.0.0 或 $HOSTexport ATTACK_MCP_PORT=8081      # 可选,默认 8081 或 $PORTexport ATTACK_MCP_LOG_LEVEL=info # 可选,默认 infopython main.py
  • 运行后服务以 streamable HTTP 方式暴露,可在客户端配置服务类型为 "http",地址如 http://127.0.0.1:8081/mcp。

  • 远程部署(如 Smithery Cloud)通常会提供 PORT 或 MCP_TRANSPORT 环境变量,可直接运行 python main.py 即使用 HTTP。对于值为 streaming、streamable、streamable-http、streamable HTTP transport 或 stdioNotSupported 等新枚举的运行环境,程序会自动回退到 HTTP 模式,无需额外配置。

  • Smithery 等容器平台会通过 PORT(默认为 8081)告知监听端口;程序会自动读取该值并监听在 0.0.0.0:$PORT。

  • 工具名称:query_technique、search_technique_full、query_mitigations、query_detections、list_tactics、server_info

  • 参数示例:

    • 按ID查询技术:
      json
      {  "technique_id": "T1059.001"}
    • 按名称模糊搜索技术:
      json
      {  "tech_name": "phishing"}
    • 使用 search_technique_full 获取技术的完整详细信息:
      json
      {  "tech_name": "phishing"}
    • 查询技术缓解措施:
      json
      {  "technique_id": "T1059.001"}
    • 查询技术检测方法:
      json
      {  "technique_id": "T1059.001"}
    • 查询战术列表:
      json
      {}
    • 查询服务与数据集信息:
      json
      {}

具体的客户端配置方式请参考您的 MCP 客户端文档,将上述服务地址和工具名称填入对应位置即可。

Installation

  1. Clone this repository.
  2. Install the required dependencies using pip install -r requirements.txt.
  3. Configure the MCP server in your MCP client.

ATT&CK

ATT&CK is a curated knowledge base and model for cyber adversary behavior, reflecting the various phases of an adversary's attack lifecycle and the platforms they are known to target. ATT&CK is useful for understanding security risks against any specific technology or organization.

快速启动

方式一:直接用 Python 脚本运行(开发/调试推荐)

  1. 安装依赖(建议在虚拟环境中):
    bash
    pip install -r requirements.txt
  2. 确保 enterprise-attack.json 数据集在项目根目录。
  3. 启动服务(默认 stdio 模式,适用于本地客户端集成):
    bash
    python main.py
  4. 如果需要以 HTTP 方式提供服务,请显式选择模式:
    bash
    python main.py --mode http --host 127.0.0.1 --port 8081

方式二:生产环境推荐(Docker 部署)

Docker
  1. 构建镜像:
    bash
    docker build -t attack-mcp-server .
  2. 运行容器:
    bash
    docker run -p 8081:8081 attack-mcp-server

API 说明

  • /query_technique 通过ID或名称查询攻击技术详情(支持名称模糊搜索)
  • /search_technique_full 通过ID或名称查询攻击技术的完整详细信息(名称搜索返回匹配技术列表,包含子技术与缓解措施)
  • /query_mitigations 查询指定技术的缓解措施
  • /query_detections 查询指定技术的检测方法
  • /list_tactics 获取所有ATT&CK战术分类
  • /server_info 返回服务版本、数据集版本和Git信息

如有问题请联系维护者。

來源:README.md,提交 4f9a7ad

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Smithery 整合