MLNops
MLNops is a local-first cyber reconnaissance MCP server that equips AI clients with a comprehensive suite of infrastructure assessment and security analysis tools.
whois_lookup— Retrieve domain registration details, expiry dates, registrar, and name servers.dns_enumeration— Enumerate DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA) and common subdomains.port_scan— Run Nmap scans with configurable profiles (basic,service,os,full,vuln) to discover open ports, services, and versions.ssl_inspect— Inspect TLS/SSL certificate chains, issuers, SANs, cipher suites, protocols, and expiry details.tech_stack_detect— Identify a website's technology stack including web server, CMS, frameworks, CDN, analytics, and security header posture.asn_lookup— Resolve a domain or IP to its ASN, BGP prefix, country, and hosting organization (no API key required).email_security_check— Check SPF, DKIM, and DMARC records to assess email anti-spoofing configuration with remediation guidance.cert_transparency— Search Certificate Transparency logs via crt.sh (with passive DNS fallback) for subdomain discovery.ip_reputation— Check whether an IP is flagged as malicious via AbuseIPDB (requires API key).headers_analyzer— Analyze HTTP security headers for presence, values, issues, and severity ratings.cve_lookup— Search the NVD for known CVEs by software name and version.cloud_exposure_check— Check for publicly exposed cloud storage buckets (AWS S3, Azure Blob, GCS) derived from a domain name.trace_redirects— Trace full redirect chains hop-by-hop, flagging TLS downgrades, redirect loops, and private-IP destinations.robots_txt_inspect— Fetch and parserobots.txtto reveal disallowed paths, hidden directories, and sitemaps.full_recon— Execute all tools in dependency-aware waves, extract normalized security signals, and produce a structured threat analysis payload with executive summary, severity-ranked findings, risk score, and remediation roadmap.
What is MLNops?
MLNops is a Python MCP server that equips AI clients with live infrastructure reconnaissance tools. It combines domain registration, DNS, TLS, network, web, email-security, certificate-transparency, and reputation evidence into one structured workflow.
MLNops does not replace professional judgment. It collects evidence and exposes it through MCP; the connected AI client decides which tool to invoke and how to explain the result.
operator request
│
▼
MCP client ──► MLNops tool registry
│
┌─────────┼─────────┐
▼ ▼ ▼
passive active external
records probes intelligence
└─────────┼─────────┘
▼
normalized signals
▼
correlated threat reportMLNops runs locally, but reconnaissance still creates outbound traffic to target systems and third-party services. Use it only on assets you own or are explicitly authorized to assess.
Related MCP server: Bug Bounty Assistant MCP
Capability matrix
Full reconnaissance pipeline
full_recon executes dependency-aware waves and returns raw evidence, tool coverage, normalized signals, and a prompt-ready summary.
Signal | What MLNops inspects |
Ownership | WHOIS registration, expiry, registrar, and name servers |
DNS | A, AAAA, MX, NS, TXT, CNAME, SOA, and common subdomains |
TLS | Certificate chain, issuer, SANs, cipher, protocol, and expiry |
SPF, DKIM, DMARC, score, and remediation guidance | |
Network | ASN, BGP prefix, country, registry, and network organization |
Exposure | Nmap ports, services, and detected versions |
Web stack | Server, CMS, frameworks, CDN, analytics, and header posture |
Discovery | Certificate Transparency subdomains with passive-DNS fallback |
Reputation | AbuseIPDB confidence and malicious-IP indicators |
Focused tools
Tool | Purpose |
| Detailed HTTP security-header analysis |
| NVD CVE search by software and version |
| Checks likely public S3, Azure Blob, and GCS names |
| Maps redirect chains and flags downgrade, loop, and private-IP risks |
| Parses directives, paths, crawl delays, hosts, and sitemaps |
MCP prompt
threat_analysis turns full_recon signals into a structured report with:
an executive security posture;
confirmed and likely findings separated by severity;
a transparent 100-point risk score;
an immediate, weekly, and monthly remediation roadmap;
explicit insufficient-data handling when a tool is blocked or fails.
Quick start
Requirements
Python 3.12+
Nmap for port scanning
An MCP-capable client such as Claude Desktop, Cursor, or VS Code
Install
git clone https://github.com/Milindu-Weerawarna/MLNops.git
cd MLNops
uv sync --lockedConfirm Nmap is available:
nmap --versionConnect an MCP client
Use absolute paths in your client configuration.
Windows
{
"mcpServers": {
"MLNops": {
"command": "C:\\full\\path\\to\\MLNops\\.venv\\Scripts\\python.exe",
"args": ["C:\\full\\path\\to\\MLNops\\server.py"],
"env": {
"ABUSEIPDB_API_KEY": "optional-key"
}
}
}
}macOS / Linux
{
"mcpServers": {
"MLNops": {
"command": "/full/path/to/MLNops/.venv/bin/python",
"args": ["/full/path/to/MLNops/server.py"],
"env": {
"ABUSEIPDB_API_KEY": "optional-key"
}
}
}
}ABUSEIPDB_API_KEY is optional and used only by ip_reputation. All other tools work without it.
Restart the MCP client after changing its configuration, then ask:
What MLNops security tools are available?Operator examples
Run DNS enumeration on example.com.
Inspect the TLS posture of example.com.
Scan scanme.nmap.org with service detection.
Look up CVEs for Apache 2.4.49.
Trace redirects for https://example.com.
Run a complete authorized recon on my-domain.example.For a correlated report, attach the threat_analysis MCP prompt and invoke full_recon.
Port-scan profiles
Profile | Nmap behavior | Typical use |
| Fast scan of common ports | Rapid exposure check |
| Common ports plus version detection | Default full-recon profile |
| OS detection; elevated privileges may be required | Host characterization |
| All 65,535 TCP ports | Deep authorized assessment |
| Nmap vulnerability scripts on common ports | Focused validation |
Architecture
server.py MCP entry point and tool registration
tools/ Reconnaissance implementations
tools/signals/ Evidence normalization and warning extraction
tools/prompts/ Correlation prompt templates
utils/ Shared validation and parsing helpers
tests/ Unit and regression tests
mcp.json / server.json MCP distribution metadataThe full-recon scheduler runs tools in waves:
Lightweight identity and configuration checks.
Active service inspection and passive discovery.
Reputation analysis after an IP address has been resolved.
A failed tool is recorded as failed or skipped without terminating the remaining scan.
Development
uv sync --locked
uv run pytest tests -qRun the MCP development inspector:
uv run fastmcp dev inspector server.pySee contributing.md for tool contracts, signal extraction, testing, and registration guidance.
Responsible use
Scan only systems you own or have explicit written permission to test.
Use
scanme.nmap.orgwhen learning Nmap against a public target.Treat heuristic findings as leads that require validation.
Do not interpret a missing response as proof of a vulnerability.
Follow the laws and organizational policies that apply to your environment.
License and lineage
MLNops is an independent fork and rebuild based on AynOps. It is distributed under the MIT License. The original copyright notice is retained in LICENSE, and subsequent MLNops modifications are identified there as well.
Maintained by Milindu Weerawarna.
Available Tools
12 toolsasn_lookupA
Find the Autonomous System Number (ASN) and network ownership for a domain or IP using Team Cymru WHOIS. Useful for identifying hosting provider and network ownership. No API key required.
Inputs: target (required). Returns: object
cve_lookupB
Look up known CVEs for a software name and version using the NVD API.
Inputs: version (required), software (required). Returns: object
dns_enumerationB
Enumerate DNS records for a domain. Returns A, AAAA, MX, NS, TXT, CNAME, SOA records.
Inputs: domain (required). Returns: object
email_security_checkA
Check SPF, DKIM, and DMARC DNS records for a domain to assess basic email anti-spoofing configuration.
DKIM detection is best-effort here. It checks a fixed list of common selectors used by major email providers, since DKIM selectors cannot be discovered via DNS without already knowing them.
Inputs: domain (required). Returns: object
full_reconB
Execute all registered reconnaissance tools in dependency-aware waves, extract security signals, and build the final threat analysis payload.
Inputs: domain (required). Returns: object
headers_analyzerA
Analyze HTTP security headers for a domain.
Returns a dict with header analysis including present/absent status, actual values, issues found, and severity ratings.
Inputs: domain (required). Returns: object
ip_reputationC
Check whether an IP address is reported as malicious using AbuseIPDB. Requires ABUSEIPDB_API_KEY in the environment.
Inputs: ip_address (required). Returns: object
port_scanA
Perform Nmap port scan on a target IP or domain.
scan_type options:
"basic" : Top 100 ports, fast (-F)
"service" : Service & version detection (-sV -F)
"os" : OS detection, needs admin (-O -F)
"full" : All 65535 ports, slow (-p-)
"vuln" : Basic vulnerability scripts (--script vuln -F)
Inputs: target (required), scan_type. Returns: object
robots_txt_inspectB
Fetch and parse the robots.txt file for a given domain to reveal hidden directories and sitemaps.
Inputs: domain (required). Returns: object
tech_stack_detectC
Detect technology stack of a website. Identifies web server, frameworks, CMS, CDN, analytics, and security headers.
Inputs: domain (required). Returns: object
trace_redirectsA
Trace the full redirect chain for a URL, hop by hop.
Follows redirects manually (allow_redirects=False + loop) instead of relying on requests' built-in auto-follow, so each hop's own status code and destination are visible. Flags TLS downgrades, private-IP destinations, redirect loops, excessively long chains, and cross-domain hops along the way.
Inputs: url (required). Returns: object
whois_lookupC
Perform WHOIS lookup for a domain.
Inputs: domain (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct reconnaissance function—DNS, ports, headers, redirects, email security, etc.—with no apparent duplication. The only aggregate tool, full_recon, is clearly described as an orchestrator rather than a competing individual operation.
All tool names are lowercase snake_case and readable, but verb placement varies: some use lookup (whois_lookup, asn_lookup), others use scan, analyze, check, detect, or inspect. This is mostly consistent with minor deviations rather than chaotic naming.
Twelve tools form a well-scoped security reconnaissance suite without bloat. The count is within the ideal range and each tool covers a meaningful aspect of external footprint analysis.
The toolset covers a broad reconnaissance lifecycle including DNS, ports, WHOIS, headers, redirects, email security, and vulnerability checks. Minor gaps exist such as lack of SSL/TLS certificate inspection or subdomain enumeration, but these are not fatal for the stated purpose.
Maintenance
Related MCP Connectors
Free MCP server of security & dev API tools -- supply-chain, CVE, DNS, WHOIS, OFAC, Cosmos SDK.
MEOK MCP Hardening MCP — automated security red-team for any MCP server. Maps OWASP LLM Top 10
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Remote MCP server: 19 domain-hygiene and email-auth tools (DNS, SPF, DMARC, DKIM, TLS).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server to perform various OSINT tasks by leveraging common network reconnaissance tools.48-
- AlicenseAqualityBmaintenanceAn MCP server that provides passive and low-impact active reconnaissance tools for authorized bug bounty and security assessments, enabling LLMs to perform structured recon and generate reports.11Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server providing 15 OSINT tools over free, public sources for AI agents, enabling domain reconnaissance, subdomain discovery, DNS lookups, host profiling, CVE search, and more without API keys.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for passive domain reconnaissance and attack surface monitoring. It scans subdomains, security headers, TLS certs, and tech stack, detects subdomain takeovers, and reports changes since the last scan.2MIT