Skip to content
MCP server
Registry

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.

by cyanheadsApache-2.0TypeScript4 stars
Trust score
44Fair
Trust score 44 of 100, Fair

Fair trust

44 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 44 comes from

0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
SHODAN_API_KEYSecretOptionalOptional Shodan API key. Enables attacksurface_lookup_host; absent → that one tool returns source_unavailable and the rest of the server works.
CERTSPOTTER_API_KEYSecretOptionalOptional Certspotter API key. Raises CT-fallback rate limits; absent → free unauthenticated tier.
ATTACKSURFACE_DEFAULT_RESOLVERSOptionalComma-separated public DNS resolver IPs. The first also supplies discovery liveness, PTR and public DNS checks before guarded connections.
ATTACKSURFACE_HTTP_USER_AGENTOptionalDefault User-Agent for attacksurface_probe_http (overridable per call).
ATTACKSURFACE_MAX_SUBDOMAINSOptionalMap/snapshot resolution cap; enumeration also caps each page at 50 candidates.
ATTACKSURFACE_RDAP_BOOTSTRAP_URLOptionalRDAP bootstrap base URL; override for a private/mirrored RDAP.
ATTACKSURFACE_ALLOW_PRIVATE_TARGETSOptionalSet true to permit non-public target ranges for trusted internal-network assessment; URL and HTTP(S) scheme checks remain enforced.
MCP_LOG_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPEOptionalSelects the HTTP transport.
MCP_HTTP_HOSTOptionalThe hostname for the HTTP server.
MCP_HTTP_PORTOptionalThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHOptionalThe endpoint path for the MCP server.
MCP_AUTH_MODEOptionalAuthentication mode to use: 'none', 'jwt', or 'oauth'.
MCP_LOG_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

Tools9Tool docs quality grade F

All capabilities

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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server