attack-surface-mcp-server
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan.
What this server provides
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan.
Packages
npxTransport stdio- SHODAN_API_KEYOptional
Optional Shodan API key. Enables attacksurface_lookup_host; absent → that one tool returns source_unavailable and the rest of the server works.
Format: string - CERTSPOTTER_API_KEYOptional
Optional Certspotter API key. Raises CT-fallback rate limits; absent → free unauthenticated tier.
Format: string - ATTACKSURFACE_DEFAULT_RESOLVERSOptional
Comma-separated default DNS resolver IPs for attacksurface_resolve_dns.
Format: string · Default: 8.8.8.8,1.1.1.1,9.9.9.9 - ATTACKSURFACE_HTTP_USER_AGENTOptional
Default User-Agent for attacksurface_probe_http (overridable per call).
Format: string - ATTACKSURFACE_MAX_SUBDOMAINSOptional
Map/snapshot resolution cap; enumeration also caps each page at 50 candidates.
Format: string · Default: 200 - ATTACKSURFACE_RDAP_BOOTSTRAP_URLOptional
RDAP bootstrap base URL; override for a private/mirrored RDAP.
Format: string · Default: https://rdap.org - ATTACKSURFACE_ALLOW_PRIVATE_TARGETSOptional
Set true to permit non-public target ranges for trusted internal-network assessment; URL and HTTP(S) scheme checks remain enforced.
Format: string · Default: false - MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info
npxTransport streamable-httphttp://localhost:3010/mcp- MCP_HTTP_HOSTOptional
The hostname for the HTTP server.
Format: string · Default: 127.0.0.1 - MCP_HTTP_PORTOptional
The port to run the HTTP server on.
Format: string · Default: 3010 - MCP_HTTP_ENDPOINT_PATHOptional
The endpoint path for the MCP server.
Format: string · Default: /mcp - MCP_AUTH_MODEOptional
Authentication mode to use: 'none', 'jwt', or 'oauth'.
Format: string · Default: none - MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info