Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Attack Surface MCP Server.
attacksurface_map_domainFlagship workflow. Maps a domain's external surface end to end: CT-log subdomain discovery β DNS liveness β (standard+) DNS records, TLS posture, HTTP headers/tech β optional RDAP/WHOIS β (thorough + key) per-IP Shodan enrichment. Returns a structured surface map and a defensive assessment of obserβ¦
attacksurface_enumerate_subdomainsPassive subdomain discovery from Certificate Transparency logs (crt.sh β Certspotter β TLS-SAN fallback chain), with DNS resolution to mark which names are live. Per-source provenance; no DNS brute-forcing.
attacksurface_resolve_dnsResolve and enumerate DNS records (A/AAAA/CNAME/MX/NS/TXT/CAA) for one or more hosts across multiple public resolvers, with optional reverse DNS (PTR). Per-resolver values surface propagation gaps.
attacksurface_inspect_tlsInspect TLS/SSL posture via a real read-only handshake: protocol, cipher, full certificate chain, SANs, validity window, days-to-expiry, issuer, validation status. Reports invalid/expired/self-signed certs instead of failing.
attacksurface_probe_httpPassive HTTP(S) probe: one GET following redirects. Returns status, redirect chain, headers, a security-header audit (HSTS/CSP/X-Frame-Options/cookie flags/CORS reflection), and an evidence-bound technology fingerprint.
attacksurface_lookup_registrationRegistration and ownership lookup via RDAP (JSON; WHOIS fallback). A domain returns registrar, status, lifecycle events, nameservers, DNSSEC; an IP/CIDR returns netblock, allocation CIDRs, origin ASN, country.
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan via MCP. STDIO or Streamable HTTP.
[!IMPORTANT] Authorized, defensive use only. Point this server only at assets you own or are explicitly authorized to assess. It performs passive, non-intrusive reconnaissance β it reads public records (Certificate Transparency logs, DNS, RDAP/WHOIS) and each target's own published surface (one TLS handshake and one HTTP GET per host). It does not port-scan, exploit, brute-force, fuzz, or probe for vulnerabilities; that capability is excluded from the surface by design, not gated behind a flag. Output is descriptive β what exists and what the security posture is β never an exploitation plan. Every outbound connection passes an SSRF guard that refuses private, loopback, link-local, and cloud-metadata targets.
Eight tools organized around the recon workflow β attacksurface_map_domain orchestrates the full flow end to end, the per-aspect tools back it for targeted follow-up, and attacksurface_recon_guidance synthesizes findings into a defensive review plan. Seven are keyless; one (attacksurface_lookup_host) needs a Shodan key and degrades gracefully without it.
| Tool | Description |
|---|---|
attacksurface_map_domain | Flagship workflow. Maps a domain's external surface end to end: CT-log subdomain discovery β DNS liveness β (standard+) DNS records, TLS posture, HTTP headers/tech β optional RDAP/WHOIS β (thorough + key) per-IP Shodan enrichment. Returns a structured surface map and a defensive assessment of observable facts. |
attacksurface_enumerate_subdomains | Passive subdomain discovery from Certificate Transparency logs (crt.sh β Certspotter β TLS-SAN fallback chain), with DNS resolution to mark which names are live. Per-source provenance; no DNS brute-forcing. |
attacksurface_resolve_dns | Resolve and enumerate DNS records (A/AAAA/CNAME/MX/NS/TXT/CAA) for one or more hosts across multiple public resolvers, with optional reverse DNS (PTR). Per-resolver values surface propagation gaps. |
attacksurface_inspect_tls | Inspect TLS/SSL posture via a real read-only handshake: protocol, cipher, full certificate chain, SANs, validity window, days-to-expiry, issuer, validation status. Reports invalid/expired/self-signed certs instead of failing. |
attacksurface_probe_http | Passive HTTP(S) probe: one GET following redirects. Returns status, redirect chain, headers, a security-header audit (HSTS/CSP/X-Frame-Options/cookie flags/CORS reflection), and an evidence-bound technology fingerprint. |
attacksurface_lookup_registration | Registration and ownership lookup via RDAP (JSON; WHOIS fallback). A domain returns registrar, status, lifecycle events, nameservers, DNSSEC; an IP/CIDR returns netblock, allocation CIDRs, origin ASN, country. |
attacksurface_lookup_host | Infrastructure intelligence for a single IP (open ports, banners, software versions, ASN, geo) or a faceted internet-wide search, via Shodan. Requires SHODAN_API_KEY β returns a typed source_unavailable error when unset; the rest of the server is unaffected. |
attacksurface_recon_guidance | Offline synthesis over findings gathered so far. Returns a prioritized defensive review plan plus pre-filled follow-up calls (which certs to renew, which hosts to inspect, which software versions to check for CVEs against an external NVD/OSV server). No external calls. |
attacksurface_map_domainThe spine of most engagements β one call maps a domain end to end.
depth control: quick = subdomains + liveness only; standard = + DNS records, TLS, and HTTP posture; thorough = + Shodan enrichment (when a key is present, otherwise skipped with a note)includeRegistration adds an RDAP/WHOIS lookup for the apex at standard+ depthPromise.allSettled β one failed source or unreachable host degrades to a note, never tanks the callATTACKSURFACE_MAX_SUBDOMAINS, default 200) with the cap disclosed when hitassessment block synthesizes only observable facts β expiring certs, missing HSTS/CSP, weak TLS versions, failed chain validation β never an exploitation pathattacksurface_enumerate_subdomainsPassive subdomain discovery from public Certificate Transparency logs.
includeUnresolved: false returns only live hostsattacksurface_resolve_dnsMulti-resolver DNS enumeration with propagation visibility.
8.8.8.8, 1.1.1.1, 9.9.9.9)attacksurface_inspect_tlsRead-only TLS posture inspection β surfacing problems is the point.
attacksurface_probe_httpA single passive HTTP(S) GET with a security read-out.
attacksurface_lookup_registrationRegistration and ownership from public registries.
attacksurface_lookup_hostShodan infrastructure intelligence β the one optional-key path.
mode: "host" (default) β a free single-IP lookup: open ports, service banners, software versions, hostnames, ASN, geomode: "search" β a faceted internet-wide query that consumes paid Shodan query creditsSHODAN_API_KEY; without it the tool returns a typed source_unavailable error and every other tool keeps workingattacksurface_recon_guidanceState-aware synthesis β no network calls, just reasoning over what you've found.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/attack-surface-mcp-server)<a href="https://allmcps.com/mcp/attack-surface-mcp-server"><img src="https://allmcps.com/api/badge/attack-surface-mcp-server?style=directory" alt="Attack Surface MCP Server on AllMCPs" /></a>