External Recon MCP server

External Recon MCP server

mcp-vscode-template•bytimsonner

An MCP server that performs external reconnaissance by resolving DNS records, checking email security records, scanning TCP ports, and running whois lookups.

License: Not specified•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Provides a dns_lookup tool that resolves A, MX, NS, TXT, and SOA records for a domain.
  • •Provides a check_email_security tool that looks for SPF, DMARC, and DKIM TXT records.
  • •Provides a scan_ports tool that checks TCP ports on a target with a 1 second timeout per connection.
  • •Provides a whois_lookup tool that runs whois with a 30 second timeout and extracts registrar and dates.

BEST FOR

  • •Enumerating a domain's IP addresses, subdomains, and email security posture through a model.
  • •Assessing whether a domain has SPF, DMARC, and DKIM configured.
  • •Checking for open TCP ports on a target host.

ABOUT MCP-VSCODE-TEMPLATE

External Recon MCP server is cataloged as an MCP server attributed to timsonner. An MCP server that performs external reconnaissance by resolving DNS records, checking email security records, scanning TCP ports, and running whois lookups. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for External Recon MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What DKIM selectors does check_email_security try?

It tries default, mail, email, selector1, selector2, k1, and dkim in that order, and the first match sets the DKIM fields.

How does the server communicate with a client?

It uses the stdio transport, reading MCP messages on stdin and writing responses on stdout.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 3c5f08920962 · 采集于 2026-11-13 13:11:47 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

external-recon

MCP server for external reconnaissance. A client such as VS Code starts this process and talks to it over stdin and stdout. The server name is external-recon.

The tools in external-recon.py resolve DNS records, read SPF, DMARC, and DKIM data, try TCP connections to a list of ports, and run the system whois program.

Prerequisites

  • Python 3.11 or newer. Commands below were run with Python 3.12.3.
  • mcp 1.x. external-recon.py imports FastMCP from mcp.server.fastmcp. mcp 1.30.0 requires Python >=3.10 and provides that module. mcp 2.x does not.
  • dnspython, which provides dns.resolver. dnspython 2.9.2 requires Python >=3.11.
  • The whois executable on PATH when you call whois_lookup. The Python packages do not install it.

Install

From this directory:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install 'mcp>=1,<2' dnspython

There is no separate build step.

Run

With the virtual environment activated:

python external-recon.py

external-recon.py calls mcp.run(transport='stdio'). The process reads MCP messages on stdin and writes responses on stdout. It keeps running while stdin stays open.

This repository has no test suite. To check that the file parses:

python3 -m py_compile external-recon.py

Usage

Point an MCP client at the virtual environment Python and external-recon.py. In VS Code settings.json, use absolute paths:

{
  "mcp": {
    "servers": {
      "external-recon": {
        "command": "/absolute/path/to/this/repo/.venv/bin/python",
        "args": [
          "/absolute/path/to/this/repo/external-recon.py"
        ]
      }
    }
  }
}

Tools in external-recon.py:

  • setup_prompt(domainname) returns text that asks the model to enumerate that domain and report IP addresses, subdomains, and email security.
  • dns_lookup(domain) resolves A, MX, NS, TXT, and SOA records. Each record type is returned as a list of strings, or as an error string when resolution fails.
  • check_email_security(domain) looks for an SPF TXT record (v=spf1), a DMARC TXT record at _dmarc.<domain> (v=DMARC1), and DKIM TXT records. DKIM selectors tried, in order, are default, mail, email, selector1, selector2, k1, and dkim. The first match sets dkim_configured, dkim_selector, and dkim.
  • scan_ports(target, ports) checks TCP ports on target. An IPv4 dotted quad is used as the address. Any other value is resolved with socket.gethostbyname. ports is a comma-separated list. The default is 21,22,23,25,53,80,443,8080,8443. Each connect uses a 1 second timeout. Open ports are labeled FTP (21), SSH (22), Telnet (23), SMTP (25), DNS (53), HTTP (80), HTTPS (443), RDP (3389), HTTP-Alt (8080), or HTTPS-Alt (8443). Any other open port is labeled unknown.
  • whois_lookup(domain) runs whois with a 30 second timeout. The result includes raw_data plus registrar, creation_date, and expiration_date when those lines are present in the command output.

Layout

  • external-recon.py is the MCP server.
  • README.md is this file.

No license file is included.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for External Recon MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-vscode-template)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets