Project Astro V2

Project Astro V2

project_astro•bywhit3rabbit0

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

License: MIT•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Wraps Kali tools for reconnaissance, exploitation, and post-exploitation.
  • •Enforces CIDR and domain allowlists before executing tool calls.
  • •Tracks engagement findings in SQLite and exports reports to SARIF, HTML, or an Obsidian vault.
  • •Uses structured parsers for output from tools such as nmap, sqlmap, wpscan, nuclei, and subfinder.

BEST FOR

  • •Authorized penetration-testing engagements and isolated lab environments.
  • •Running tool-calling security workflows from any MCP-compatible client or a local Ollama chat.
  • •Tracking findings and producing SARIF, HTML, or Obsidian reports during an engagement.

ABOUT PROJECT_ASTRO

Project Astro V2 is cataloged as an MCP server attributed to whit3rabbit0. An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output. 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: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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 Project Astro V2 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

Can I restrict which targets the tools are allowed to touch?

Yes. Astro checks every tool call against CIDR and domain allowlists in a YAML scope file and rejects out-of-scope targets.

What reporting exports does Astro provide for findings?

Findings can be exported to SARIF for CI integration, HTML for client reports, or interlinked Markdown notes in an Obsidian vault.

What transport options does the MCP server support?

Astro supports Streamable-HTTP or stdio transports.

Upstream README

View this exact version on GitHub

README.md · 9e040616ccac · Fetched 2026-11-13 07:12:05 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Project Astro V2 - Disclaimer - This is DEVKIT

Intelligence layer for LLM-driven penetration testing. Ships as an MCP server with 38 Kali tool wrappers, engagement tracking, scope enforcement, and structured output for any MCP-compatible client.

This is a devkit. Use only against targets you own or have explicit authorization to test.

What changed from V1

V1 was a Flask proxy that shuttled JSON between Claude Desktop and a kali_api_server.py process. It worked, but the architecture was fragile — two servers, no state, no safety rails, 10 tools hard-wired to HTTP endpoints.

V2 is a ground-up rewrite:

V1V2
ArchitectureFlask API + MCP shim (2 processes)Single FastMCP server (mcp SDK)
TransportHTTP onlyStreamable-HTTP or stdio
Tools10, inline in one file38 wrappers (+ custom script executor), each in src/astro/tools/
Tool validationNone — raw strings to shellPydantic-based validation, shell metacharacter blocking, blocked-flag list
Scope enforcementNoneCIDR + domain allowlists via YAML config; every tool call is checked
Rate limitingNonePer-tool async semaphores
AuthNoneAPI key + OIDC support
Engagement trackingNoneSQLite-backed finding recorder with per-engagement isolation
Output parsingRaw stdoutStructured parsers for nmap, sqlmap, wpscan, nuclei, subfinder, etc.
ReportingNoneSARIF, HTML, Obsidian vault export, remediation mapping
IntelligenceNoneCVE correlator (NVD API), attack graph builder (NetworkX), methodology tracker
CLIrun.py (starts 2 servers)astro serve, astro ollama, astro tui, astro version
Packagingrequirements.txt + venvpyproject.toml, installable via pip install .
ContainerNoneMulti-stage Kali Linux Dockerfile, docker-compose for lab environments
LLM supportClaude Desktop onlyAny MCP client, plus native Ollama bridge and OpenAI-compatible bridge
TestsNonepytest suite (unit + integration), ruff, mypy strict

New tools (V2 additions)

Recon: amass, subfinder, ffuf, whatweb, dnsrecon, theharvester, nuclei

Exploitation: searchsploit, crackmapexec, hashcat, responder, smbclient, evil-winrm

Impacket suite: secretsdump, psexec, wmiexec, kerberoast, getnpusers, getst, ticketer

Post-exploitation: linpeas, winpeas, bloodhound, chisel, netcat, msfvenom

Tunneling/C2: burp (proxy integration), certipy (AD CS attacks)

Flex: custom_script (arbitrary bash/python with timeout + sandbox)

Removed

  • kali_api_server.py — no longer needed; tools execute directly
  • run.py — replaced by astro CLI
  • requirements.txt — replaced by pyproject.toml
  • setup.sh — replaced by pip install . or Docker

Quick start

export API_KEY="$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')"
docker compose up --build

The server starts on http://localhost:8080 with streamable-HTTP transport. MCP clients must send the configured key in the X-API-Key header. All 38 Kali tools are pre-installed in the image.

Docker lab (with a target)

export API_KEY="$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')"
docker compose -f docker-compose.lab.yml up --build

Starts Astro + a Metasploitable2 target on an isolated 172.28.0.0/24 network with scope pre-configured. The published Astro port remains host-loopback-only.

Local install

python3 -m venv .venv && source .venv/bin/activate
pip install ".[dev,reporting]"
astro serve --port 8080

The default HTTP bind is loopback-only and may run without network authentication for local development. A non-loopback HTTP bind requires API_KEY or OIDC configuration and otherwise refuses to start. Requires the underlying Kali tools to be installed on the host.

See docs/HTTP_SECURITY.md for the HTTP startup and request-authentication policy.

Usage

MCP server (default)

astro serve --transport streamable-http --port 8080
API_KEY="replace-with-a-strong-key" astro serve --transport streamable-http --host 0.0.0.0 --port 8080
astro serve --transport stdio  # for Claude Desktop / Claude Code

Connect any MCP client to http://localhost:8080 or wire it up via stdio in your client config:

{
  "mcpServers": {
    "astro": {
      "command": "astro",
      "args": ["serve", "--transport", "stdio"]
    }
  }
}

Ollama bridge (offline / local LLM)

astro ollama --model llama3 --scope config/lab_scope.yaml

Interactive chat session with tool-calling against a local Ollama instance.

Terminal UI

astro tui --target 10.10.10.10 --engagement "HTB-Box"

Rich terminal interface with live tool output, methodology tracking, and engagement management.

Scope enforcement

Create a YAML scope file to restrict what targets tools can hit:

scope:
  allowed_cidrs:
    - "10.10.10.0/24"
  allowed_domains:
    - "target.htb"
  excluded_targets: []

  tool_restrictions:
    hydra:
      enabled: true
      max_threads: 4
      service_whitelist: ["ssh", "http"]
    sqlmap:
      risk_level: 2
astro serve --scope config/scope.yaml

Every tool call validates its target against the scope before execution. Out-of-scope targets are rejected.

Tools (38)

Recon

ToolDescription
nmapNetwork scanner with structured output parsing
gobusterDirectory/DNS/vhost brute-forcer
dirbWeb content scanner
niktoWeb server vulnerability scanner
wpscanWordPress vulnerability scanner
enum4linuxWindows/Samba enumeration
subfinderPassive subdomain discovery
amassAttack surface mapping
ffufWeb fuzzer
whatwebTechnology fingerprinting
dnsreconDNS reconnaissance
theharvesterOSINT email/subdomain harvesting
nucleiTemplate-based vulnerability scanner

Exploitation

ToolDescription
sqlmapSQL injection tester with DB enumeration
metasploitExploitation framework (msfconsole)
hydraNetwork login brute-forcer
johnPassword cracker
hashcatGPU-accelerated password cracker
searchsploitExploit-DB local search
crackmapexecNetwork protocol attack tool
responderLLMNR/NBT-NS/mDNS poisoner
smbclientSMB client
evil-winrmWinRM shell

Impacket suite

ToolDescription
impacket_secretsdumpSAM/LSA/NTDS credential extraction
impacket_psexecRemote command execution via SMB
impacket_wmiexecRemote command execution via WMI
impacket_kerberoastSPN-based Kerberos ticket extraction
impacket_getnpusersAS-REP roasting
impacket_getstService ticket requests
impacket_ticketerSilver/golden ticket forging

Post-exploitation

ToolDescription
linpeasLinux privilege escalation scanner
winpeasWindows privilege escalation scanner
bloodhoundActive Directory relationship mapper
msfvenomPayload generator
netcatNetwork Swiss army knife
chiselTCP/UDP tunnel over HTTP
certipyAD Certificate Services attacks
burpBurp Suite proxy integration

Other

ToolDescription
custom_scriptRun arbitrary bash/python with timeout sandbox

Engagement tracking

create_engagement("HTB-Devvortex")  →  engagement ID
  └─ nmap_scan(...)                 →  finding recorded
  └─ nikto_scan(...)                →  finding recorded
  └─ sqlmap_scan(...)               →  finding recorded
get_engagement_summary()            →  all findings + metadata
export_to_obsidian("~/Vault/HTB")   →  interlinked markdown notes

Findings are persisted in SQLite. Export to SARIF for CI integration or HTML for client reports.

Project structure

src/astro/
├── __main__.py          CLI entry point (serve, ollama, tui, version)
├── core/
│   ├── executor.py      Shell command executor with timeout + sandboxing
│   ├── scope.py         CIDR/domain scope enforcer
│   ├── engagement.py    SQLite-backed engagement + finding manager
│   ├── rate_limiter.py  Per-tool async rate limiting
│   ├── auth.py          API key + OIDC authentication
│   ├── validators.py    Input validation (shell metachar blocking, flag filtering)
│   └── parallel.py      Concurrent tool execution
├── tools/
│   ├── base.py          BaseTool ABC (validate → build_command → execute → parse)
│   ├── registry.py      Tool registry with category filtering
│   ├── nmap.py          ... 38 tool wrappers, one per file
│   └── nuclei.py
├── parsers/             Structured output parsers (nmap XML, sqlmap, wpscan JSON)
├── intel/
│   ├── cve_correlator.py   NVD API CPE→CVE lookup
│   ├── attack_graph.py     NetworkX-based attack path modeling
│   └── methodology.py      Phase tracker (recon → exploit → post-exploit)
├── server/
│   ├── mcp_server.py       FastMCP server (all tool + engagement endpoints)
│   ├── ollama_bridge.py    Native Ollama chat with tool calling
│   ├── openai_bridge.py    OpenAI-compatible API bridge
│   └── config.py           Environment-based config loader
├── reporting/
│   ├── sarif.py            SARIF 2.1.0 export
│   ├── html_report.py      Standalone HTML report generator
│   ├── obsidian.py         Obsidian vault export (interlinked notes)
│   └── remediation.py      CWE → remediation mapping
├── observability/
│   ├── logging.py          structlog-based structured logging
│   └── metrics.py          Execution metrics tracking
└── tui/
    ├── app.py              Textual-based terminal UI
    └── widgets.py          Custom TUI widgets

Environment variables

VariableDefaultDescription
ASTRO_HOST127.0.0.1Server bind address
ASTRO_PORT8080Server listen port
ASTRO_TRANSPORTstreamable-httpMCP transport (streamable-http or stdio)
ASTRO_DB_PATH~/.astro/engagements.dbSQLite database path
ASTRO_SCOPE_CONFIG—Path to scope YAML config
ASTRO_DEBUGfalseEnable debug logging
API_KEY—API key for authenticated access

Development

pip install ".[dev]"
pytest                    # run tests
ruff check src/ tests/    # lint
mypy src/                 # type check

License

MIT

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 Project Astro V2 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/project_astro)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

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

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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

mcp-osint is an MCP server for OSINT investigations that uses common network reconnaissance tools to perform WHOIS lookups, Nmap scans, DNS reconnaissance, and domain permutation checks.

Repository stats unavailable
Security & Secrets