A Model Context Protocol server that gives AI Clients real-time cybersecurity reconnaissance capabilities — WHOIS, DNS enumeration, port scanning, SSL inspection, CVE lookup, IP reputation, ASN lookup and more.
pip install AynOps==1.2.1 Copy PIP instructions
A high-performance Model Context Protocol (MCP) server that brings real-time cybersecurity reconnaissance, attack surface mapping, and automated OSINT telemetry directly to AI agents. 📚 Table of Contents Overview Features Tools & Prompts Demo Prerequisites Installation Usage Examples Registries & Ecosystem LLM Client Behavior & Security Considerations Legal & Ethical Usage Known Limitations Project Structure Roadmap & Discussions Contributing License Author 🌐 Overview Modern Large Language Models (LLMs) operate in sandboxed, non-deterministic execution environments devoid of native raw-socket access, packet crafting abilities, and live network reconnaissance primitives. When tasked with auditing an attack surface, AI agents are fundamentally constrained by static training cutoff boundaries and an inability to query live network interfaces.
AynOps bridges this operational divide. Built on top of the Model Context Protocol (MCP) specification using the FastMCP framework, AynOps exposes an extensible suite of deterministic cybersecurity reconnaissance tools directly to LLM agents (such as Cursor, VS Code, Claude Desktop, and custom MCP clients) over a standard JSON-RPC 2.0 stdio transport.
┌───────────────────────────┐ JSON-RPC 2.0 (stdio) ┌────────────────────────────────────────────────────────┐ │ AI / LLM Client │ ◄──────────────────────────────────► │ AynOps MCP Server │ │ (Cursor, VS Code, Claude) │ │ (Local Daemon) │ └───────────────────────────┘ └──────────────────────────┬─────────────────────────────┘ │ ┌───────────────────────────────────────────────────────────┴──────────────────────────────┐ ▼ ▼ ▼ ┌──────────────────────────┐ ┌──────────────────────────┐ ┌──────────────────────────┐ │ Active Network │ │ DNS & OSINT │ │ Web & Cloud Audits │ │ • Nmap Port Scanner │ │ • Authoritative WHOIS │ │ • SSL/TLS X.509 Parser │ │ • Team Cymru ASN BGP │ │ • dnspython Resolver │ │ • HTTP Headers Linting │ │ • AbuseIPDB Threat Intel│ │ • crt.sh CT Log Parser │ │ • Multi-Cloud Storage │ └──────────────────────────┘ │ • Subdomain Takeover │ │ • Redirect Hop Tracer │ └──────────────────────────┘ └──────────────────────────┘ Architectural Highlights 🔒 Local-First & Zero-Telemetry Egress: AynOps runs entirely as a local daemon on your host or isolated container. Target queries, raw IP telemetry, and internal host details never transit through external telemetry collectors. ⚡ Wave-Based Concurrent Pipeline: Orchestrates complex reconnaissance tasks through an intelligent 3-wave async execution model, resolving foundational network primitives in parallel before dispatching dependent service, web, and threat intelligence probes. 🧠 Unified Heuristic Signal Extraction: Raw outputs from heterogeneous utilities (Nmap, dnspython, cryptography, socket APIs) are parsed and normalized into structured threat signals (tools/signals/) designed for direct ingestion by LLM reasoning layers. 🛠️ Standardized MCP Tool & Prompt Primitives: Fully compliant with the official Model Context Protocol standard, packaging ready-to-use tool declarations and meta-prompts (threat_analysis) for automated threat modeling workflows. ⚡ Features AynOps is engineered from the ground up for cybersecurity engineers, red/blue teams, and security researchers seeking deterministic automation:
AynOps provides 17 specialized reconnaissance tools alongside structured MCP prompt templates.
The full_recon tool orchestrates a 3-wave concurrent pipeline designed to minimize scan latency while preserving dependency order across tools:
Target Domain │ ├──► [Wave 1: Base Perimeter] ──► whois_lookup + dns_enumeration + ssl_inspect + email_security_check + asn_lookup │ ├──► [Wave 2: Service & Web] ──► port_scan (service) + tech_stack_detect + headers_analyzer + cert_transparency │ └──► [Wave 3: Threat Feeds] ──► ip_reputation (AbuseIPDB - dynamically bound to resolved IP address) │ ▼ Signal Aggregator (tools/signals/) ──► Unified Heuristic Security Telemetry Payload 2. Core Reconnaissance Tool Inventory (Included in full_recon) Documentation status: Browse the tools documentation index for all tools and their documentation availability. Detailed reference pages are currently available for tools marked Available. Tools marked Pending are implemented and included in the inventory, but their dedicated documentation pages are not yet available.
Query known Common Vulnerabilities and Exposures (CVEs) directly against the NIST National Vulnerability Database (NVD) v2 API for specific software components and patch revisions without requiring API authentication:
Full Reconnaissance Pipeline — Parallelized Security Assessment Trigger the 3-wave parallel execution engine to synthesize network perimeter state, DNS resource records, SSL/TLS posture, email anti-spoofing enforcement, HTTP headers, and software stack fingerprints into a single structured report:
📋 Prerequisites Ensure your host environment meets the following runtime requirements before starting the server:
git clone https://github.com/AynOps/AynOps.git cd AynOps Step 2: Provision Virtual Environment and Install Dependencies Using uv (Fastest):
uv sync Alternatively, using standard Python tooling:
python -m venv .venv # On Linux/macOS: source .venv/bin/activate # On Windows (PowerShell): .venv\Scripts\Activate.ps1 pip install -e . Step 3: Install and Configure Nmap Nmap must be installed locally and registered in your system PATH for the port_scan tool:
nmap --version macOS Installation Instructions Install via Homebrew:
brew install nmap nmap --version Linux Installation Instructions Install via your system package manager:
# Debian / Ubuntu / Kali sudo apt update && sudo apt install -y nmap # Fedora / RHEL sudo dnf install -y nmap # Arch Linux sudo pacman -S nmap Step 4: Configure Your MCP Client Locate and edit your client's MCP configuration file (e.g., Claude Desktop, Cursor, or VS Code):
{ "mcpServers": { "AynOps": { "command": "C:\\full\\path\\to\\AynOps\\.venv\\Scripts\\python.exe", "args": ["C:\\full\\path\\to\\AynOps\\server.py"], "env": { "ABUSEIPDB_API_KEY": "your-abuseipdb-api-key-here", "HIBP_API_KEY": "your-hibp-api-key-here" } } } } macOS / Linux (claude_desktop_config.json):
{ "mcpServers": { "AynOps": { "command": "/full/path/to/AynOps/.venv/bin/python3", "args": ["/full/path/to/AynOps/server.py"], "env": { "ABUSEIPDB_API_KEY": "your-abuseipdb-api-key-here", "HIBP_API_KEY": "your-hibp-api-key-here" } } } } Step 5: Launch Client and Validate Registration Terminate all running client processes completely (ensure no background instances remain in Task Manager / Activity Monitor). Re-open your MCP client. Verify tool availability by querying: What cybersecurity tools do you have available? Method 2: Containerized Deployment via Docker AynOps ships a production-ready Dockerfile bundling Python 3.12, uv, and nmap, eliminating host dependency requirements.
docker run --rm -i aynops:latest # Press Ctrl+C to exit Step 3: Configure Client for Docker Execution Configure your client to spawn the container directly:
{ "mcpServers": { "AynOps": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "ABUSEIPDB_API_KEY=your-abuseipdb-api-key-here", "-e", "HIBP_API_KEY=your-hibp-api-key-here", "aynops:latest" ] } } } 🚀 Usage Natural Language Tool Invocations Once connected, you can interact with individual reconnaissance tools or prompt compound analytical queries:
# Domain & DNS Reconnaissance "Perform a WHOIS query on target-organization.com" "Enumerate all DNS resource records and brute-force common subdomains for example.com" "Query Certificate Transparency logs for *.internal.corp.com" # Network & Host Fingerprinting "Run a service version port scan on scanme.nmap.org" "Execute an ASN lookup for IP 1.1.1.1 and identify the BGP prefix" "Analyze the IP reputation of 198.51.100.42" # Web Application & Perimeter Security "Inspect the SSL/TLS certificate of payment.gateway.io on port 443" "Audit the HTTP security headers of enterprise-app.com and report misconfigurations" "Fingerprint the CMS, JavaScript frameworks, and CDNs running on target.com" "Trace the HTTP redirect chain for http://insecure-portal.com" "Inspect robots.txt on admin.target.com for unindexed endpoints" # Vulnerability & Threat Audits "Look up known CVEs for OpenSSH version 8.2p1" "Check if cloud storage buckets exist for domain fincorp-assets.com" "Detect dangling CNAME records susceptible to subdomain takeover on cloudapp.net" "Query Have I Been Pwned for breaches associated with security@enterprise.com" Port Scan Profiles The port_scan tool supports multiple scanning strategies tailored to operational velocity and assessment depth:
Scan target scanme.nmap.org using the 'service' profile. End-to-End Threat Modeling with threat_analysis Prompt For optimal threat intelligence synthesis in supported MCP clients:
Do a complete security recon on scanme.nmap.org The LLM will invoke full_recon, process the normalized signals, and generate a correlated matrix mapping open ports to potential CVEs, missing headers, email spoofability, and infrastructure risk factors. 💡 Examples Scenario 1: CVE Patch Validation and Vulnerability Correlation User: Run a service scan on our perimeter host and cross-reference detected software with NVD for CVEs. Agent: [Invokes port_scan with scan_type="service"] Discovered Open Services: • Port 80/tcp: Apache httpd 2.4.49 • Port 22/tcp: OpenSSH 7.4 [Invokes cve_lookup for software="apache", version="2.4.49"] Critical Findings: • CVE-2021-41773 (CVSS 9.8) — Remote Code Execution via Path Traversal. Remediation: Upgrade Apache to >= 2.4.51 immediately. Scenario 2: Dangling DNS Subdomain Takeover Triaging User: Check our domain company.com for dangling DNS records pointing to abandoned cloud services. Agent: [Invokes subdomain_takeover for "company.com"] Resolved CNAME: blog.company.com -> company-blog.ghost.io HTTP Verification Probe: HTTP 404 - "Fastly error: unknown domain company-blog.ghost.io" Status: HIGH RISK — Dangling CNAME pointer detected for Ghost/Fastly infrastructure. Remediation: Remove the orphaned CNAME DNS record from your authoritative nameservers. Scenario 3: Unauthenticated Multi-Cloud Storage Exposure User: Does our company domain 'megacorp.io' expose any unauthenticated cloud storage containers? Agent: [Invokes cloud_exposure_check for "megacorp.io"] Probing Permutations across AWS S3, Azure Blob, GCS... • https://megacorp-data.s3.amazonaws.com — AccessDenied (Secured) • https://megacorp-backup.s3.amazonaws.com — HTTP 200 OK (PUBLIC LISTING ENABLED) Found XML object keys: /db_dump_2025.sql.gz, /employee_records.csv • https://megacorp.blob.core.windows.net/public — HTTP 404 (Not Found) Scenario 4: HTTP Redirect Chain & TLS Downgrade Analysis User: Trace the redirect chain for http://legacy.portal.org Agent: [Invokes trace_redirects for "http://legacy.portal.org"] Hop 1: http://legacy.portal.org (301 Moved Permanently) Hop 2: https://auth.portal.org/login (302 Found) Hop 3: http://internal-sso.portal.org/auth (302 Found) ⚠️ TLS DOWNGRADE DETECTED Hop 4: http://192.168.1.50/dashboard ⚠️ PRIVATE IP LEAK (RFC 1918) 📦 Registries & Ecosystem mcp-name: io.github.AynOps/AynOps
AynOps is indexed and distributed across the following official registries:
AynOps acts strictly as an execution server over MCP. Tool invocation decisions, parameter synthesis, and prompt chaining are governed by the connected LLM client:
AynOps/ ├── .github/ # GitHub workflows, templates, and assets │ ├── images/ # Documentation and demo media │ ├── ISSUE_TEMPLATE/ # Issue templates │ └── workflows/ # CI/CD workflows ├── docs/ # Extended documentation │ └── tools/ # Per-tool documentation ├── tests/ # Unit and integration tests ├── tools/ # MCP reconnaissance tools │ ├── fingerprint/ # Web technology fingerprinting engine │ ├── prompts/ # MCP prompt templates │ └── signals/ # Signal extraction framework ├── utils/ # Shared utilities and helpers ├── .env.example # Environment variable template ├── .gitignore # Git ignored files and directories ├── .python-version # Mentions the Python version ├── CONTRIBUTING.md # Contribution guidelines ├── Dockerfile # Container configuration ├── glama.json # Glama MCP configuration ├── LICENSE # MIT License ├── mcp.json # MCP metadata and tool manifests ├── pyproject.toml # Project metadata and dependencies ├── README.md # Project documentation ├── SECURITY.md # Security policy ├── server.json # MCP server package schema ├── server.py # FastMCP server entrypoint └── uv.lock # Dependency lockfile 🗺️ Roadmap & Discussions We have active GitHub Discussions set up for community ideas, RFCs, tool requests, and roadmap planning.
💬 Join the conversation: Share your feedback, suggest new tools, or vote on roadmap features in AynOps GitHub Discussions!
Contributions, issues, and feature requests are welcome! See CONTRIBUTING.md for the development setup, project structure, and a guide to adding support for a new tool — that's currently the highest-value place to contribute. All participants are expected to follow Code of Conduct.
If you find a bug or a security vulnerability, please report it directly to the developer.
This project is licensed under the MIT License — see the LICENSE file for details. You are free to use, modify, distribute, and integrate this software in commercial and open-source environments.
Special thanks to @SemTiOne, one of the early contributors to AynOps, for his valuable contributions, reviews, feedback, and continued support throughout the project. His help, especially during the early stages, is genuinely appreciated. ❤️
Special thanks to @Nitjsefnie for their continued and active involvement in AynOps through multiple contributions across the project. Their consistent effort, initiative, and willingness to improve the project are greatly appreciated. ❤️
With gratitude to all our contributors who have helped improve AynOps through code, documentation, testing, ideas, reviews, and feedback. Your contributions are genuinely appreciated. ❤️
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




