mcpField
S
Security MCP

Security MCP

Local
github.com/pratham-jain33Security0Updated 3w ago

About Security MCP

Security MCP is a defensive cybersecurity server for people assessing websites, vulnerabilities, and attack techniques. It combines site checks, public CVE exploitation data, and offline MITRE ATT&CK lookups, with findings explained in plain language.

Key features

  1. 01Grade website security from A+ to F
  2. 02Check CVEs against CISA KEV and FIRST EPSS
  3. 03Explain MITRE ATT&CK techniques
  4. 04Inspect headers, TLS certificates, and email DNS records
  5. 05Search attack techniques offline

Use cases

  1. 01Review a website’s security configuration
  2. 02Check exploitation status for a CVE
  3. 03Learn how to detect and defend against an attack technique

MCP support

Exposes `audit_site`, `check_cve`, and `lookup_attack` tools to MCP clients. Website and CVE checks use network data; the bundled attack technique lookup works offline.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"pratham-jain33-security": {
"command": "uvx",
"args": [
"security-mcp"
]
}
}
}
Run commanduvx security-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypisecurity-mcp0.1.1

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
domainstringYes

Details

From the project 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.

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+.

uvx security-mcp

Or with pip:

pip install security-mcp

Claude Desktop config:

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

Try it

  • "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.

Development

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.