Security MCP

io.github.pratham-jain33由 GitHub 账号 pratham-jain33 发布v0.1.1更新于 Oct 24, 2026

Zero-key security toolkit: grade sites A+ to F, check CVE exploits, plain-English attack defenses

概览

AI 生成的概览

免密钥的防御性安全工具包,让助手为网站安全评级、查询 CVE 是否被利用,并用通俗语言解释 MITRE ATT&CK 技术。

可以做什么
  • 为网站安全评级(A+ 到 F),检查 HTTP 安全响应头、TLS 证书信息以及 SPF/DMARC/DKIM 邮件认证记录,并给出通俗解释
  • 查询某个 CVE 是否在 CISA 已知被利用漏洞目录中,并获取 FIRST EPSS 的利用概率
  • 按编号或关键词检索 MITRE ATT&CK 技术,了解其含义、攻击者用法、识别方法与防御措施
适用场景
适合需要快速、无需注册地回答日常防御性安全问题的场景:审查网站的响应头与证书、判断某个 CVE 的紧迫程度,或了解某项 ATT&CK 技术的原理与应对方式。
运行要求
以本地 Python 包形式运行(需 Python 3.10+),通常通过 uvx 或 pip 安装启动。无需 API 密钥、账号或配置。网站审计和 CVE 查询需要网络访问;ATT&CK 查询使用包内自带数据,可离线使用。
安装前请注意
审计网站会向该域名以及公共数据源(CISA KEV、FIRST EPSS)发起 HTTPS 和 DNS 请求,目标站点和所查 CVE 对这些服务可见。工具为只读且仅用于防御,不扫描端口也不实施攻击。证书检查失败会导致整次审计失败。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Security MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

security-mcp

mcp-name: io.github.pratham-jain33/security-mcp

The zero-key cybersecurity toolkit for your AI assistant. No API keys, no signups, no configuration. Install it, ask Claude a security question, get an answer.

Why

Most security tooling makes you sign up, get an API key, and configure something before you can ask a single question. security-mcp exists so an AI assistant can answer everyday security questions with none of that: every data source it uses is a free public feed, and the one dataset it needs (MITRE ATT&CK) ships inside the package. Defensive only, by design.

Features

Three tools:

  • audit_site — grade any website's security from A+ to F. Checks HTTP security headers (HSTS, CSP, X-Frame-Options and more), the SSL/TLS certificate (valid, issuer, days until expiry), and DNS email-auth records (SPF, DMARC, DKIM). Every finding comes with a plain-English explanation.
  • check_cve — is this vulnerability actively exploited right now, and how likely is it to be exploited soon? Reads CISA's Known Exploited Vulnerabilities catalog and the FIRST EPSS score. Both are free public feeds.
  • lookup_attack — MITRE ATT&CK techniques in plain English. Give a technique ID like T1566 or a keyword like phishing; get what it is, how attackers use it, how to spot it, and how to defend. The technique data ships with the package, so this works fully offline.

Defensive only. This server audits and explains; it does not scan ports, exploit anything, or do anything offensive.

Install

Requires Python 3.10+.

bash
uvx security-mcp

Or with pip:

bash
pip install security-mcp

Claude Desktop config:

json
{  "mcpServers": {    "shield": {      "command": "uvx",      "args": ["security-mcp"]    }  }}

Usage

  • "Audit the security of example.com"
  • "Is CVE-2021-44228 being exploited right now?"
  • "What is T1566 and how do I defend against it?"

How it works

audit_site fetches the site's homepage over HTTPS and reads its response headers, opens a TLS connection to inspect the certificate dates and issuer, and looks up SPF/DMARC/DKIM records over DNS (falling back to DNS-over-HTTPS where direct DNS is blocked). Each check carries a penalty; the penalties add up to a score, and the score maps to a grade. A failed certificate check fails the whole audit.

check_cve validates the CVE ID format, then asks two free public sources: the CISA KEV catalog (a JSON feed of vulnerabilities confirmed to be exploited in the wild, cached in memory for an hour) and the FIRST EPSS API (a 0–100% probability of exploitation in the next 30 days). The verdict combines both.

lookup_attack searches a compact bundle of the public MITRE ATT&CK catalog (697 techniques, trimmed from MITRE's CTI feed and shipped inside the package). ID lookups are exact; keyword searches rank name matches above description matches.

Built with

  • Python 3.10+, FastMCP (MCP server framework)
  • requests for the public data feeds, dnspython for DNS lookups
  • Data: CISA Known Exploited Vulnerabilities catalog, FIRST EPSS scores, and a bundled MITRE ATT&CK technique set (697 techniques, shipped in the package)

Development

bash
python -m venv .venv.venv/bin/pip install -e . pytest.venv/bin/python -m pytest tests/ -q            # unit tests (mocked network)SHIELD_LIVE=1 .venv/bin/python -m pytest tests/ -q -k live  # real network smoke tests

License

MIT

来源:README.md,提交 05eaad2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 30, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分