attack-surface-mcp-server MCP Server
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan.
attack-surface-mcp-server scores 44 (Fair), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 9 tools. Filed under Uncategorized. GitHub shows 4 stars. Package registries report about 792 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
44 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade D
52/100 for listing completeness. Lost points: no README, 8 of 9 tools barely described, short summary.
How quality is graded
Where the 44 comes from
0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-attack-surface-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/attack-surface-mcp-server@0.6.2" ], "env": { "SHODAN_API_KEY": "YOUR_SHODAN_API_KEY", "CERTSPOTTER_API_KEY": "YOUR_CERTSPOTTER_API_KEY", "ATTACKSURFACE_DEFAULT_RESOLVERS": "8.8.8.8,1.1.1.1,9.9.9.9", "ATTACKSURFACE_HTTP_USER_AGENT": "", "ATTACKSURFACE_MAX_SUBDOMAINS": "200", "ATTACKSURFACE_RDAP_BOOTSTRAP_URL": "https://rdap.org", "ATTACKSURFACE_ALLOW_PRIVATE_TARGETS": "false", "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SHODAN_API_KEYSecret | Optional | Optional Shodan API key. Enables attacksurface_lookup_host; absent → that one tool returns source_unavailable and the rest of the server works. |
CERTSPOTTER_API_KEYSecret | Optional | Optional Certspotter API key. Raises CT-fallback rate limits; absent → free unauthenticated tier. |
ATTACKSURFACE_DEFAULT_RESOLVERS | Optional | Comma-separated public DNS resolver IPs. The first also supplies discovery liveness, PTR and public DNS checks before guarded connections. |
ATTACKSURFACE_HTTP_USER_AGENT | Optional | Default User-Agent for attacksurface_probe_http (overridable per call). |
ATTACKSURFACE_MAX_SUBDOMAINS | Optional | Map/snapshot resolution cap; enumeration also caps each page at 50 candidates. |
ATTACKSURFACE_RDAP_BOOTSTRAP_URL | Optional | RDAP bootstrap base URL; override for a private/mirrored RDAP. |
ATTACKSURFACE_ALLOW_PRIVATE_TARGETS | Optional | Set true to permit non-public target ranges for trusted internal-network assessment; URL and HTTP(S) scheme checks remain enforced. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools9Tool docs quality grade F
All capabilities<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
ctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
About
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan via MCP. STDIO or Streamable HTTP.
Frequently asked questions
What is attack-surface-mcp-server MCP Server?
Passive external attack-surface mapping: CT subdomains, DNS, TLS, HTTP posture, RDAP/WHOIS, Shodan.
How do I install attack-surface-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. attack-surface-mcp-server MCP Server runs locally from the npm package @cyanheads/attack-surface-mcp-server with the command npx -y @cyanheads/attack-surface-mcp-server@0.6.2.
Is attack-surface-mcp-server MCP Server free and open source?
Yes. attack-surface-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
What tools does attack-surface-mcp-server MCP Server provide?
attack-surface-mcp-server MCP Server provides 9 tools, including attacksurface_enumerate_subdomains, attacksurface_inspect_tls, attacksurface_lookup_host, and attacksurface_lookup_registration. See the full tool list for descriptions and parameters.
How is attack-surface-mcp-server MCP Server's trust score calculated?
attack-surface-mcp-server MCP Server scores 44 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.