Skip to main content
Glama

reconFTW MCP Server

Powered by reconFTW — Created by @six2dez

Docker MCP Python

reconFTW MCP Server is a wrapper for the incredibly powerful reconFTW reconnaissance framework. This project enables AI assistants to leverage the best-in-class automation created by six2dez.

šŸŽÆ Features

  • Full reconFTW Integration: Access all reconFTW capabilities through MCP tools

  • Multiple Scan Modes: Full, passive, subdomains, vulnerabilities, OSINT, and more

  • Real-time Status: Monitor scan progress and get results on demand

  • Resource Access: Access scan results as MCP resources

  • Dual Transport: STDIO for local AI assistants, SSE for remote access

  • Docker Ready: Pre-configured Docker and docker-compose setup

Related MCP server: Pentester-MCP

šŸš€ Quick Start

# Clone the repository
git clone https://github.com/your-org/reconftw-mcp.git
cd reconftw-mcp

# Build and run (SSE mode)
docker-compose up -d

# MCP server will be available at http://localhost:8002/sse

Option 2: Docker Direct

# Build the image
docker build -t reconftw-mcp .

# Run in SSE mode (for remote access)
docker run -p 8002:8002 -v reconftw-output:/opt/reconftw/output reconftw-mcp mcp --sse

# Run in STDIO mode (for Claude Code)
docker run -i -v reconftw-output:/opt/reconftw/output reconftw-mcp mcp

Option 3: Local Installation

# Install reconFTW first
git clone --depth 1 https://github.com/six2dez/reconftw.git ~/reconftw
cd ~/reconftw && ./install.sh

# Install MCP server
pip install -r requirements.txt

# Run the MCP server
python mcp_server.py

šŸ”§ Configuration

Environment Variables

Variable

Description

Default

RECONFTW_DIR

reconFTW installation directory

/root/reconftw

OUTPUT_DIR

Scan output directory

/opt/reconftw/output

MCP_PORT

MCP SSE server port

8002

SSE_MODE

Enable SSE mode by default

false

API Keys (Optional)

For enhanced reconnaissance, configure API keys in your environment or .env file:

SHODAN_API_KEY=your_shodan_key
VIRUSTOTAL_API_KEY=your_vt_key
CENSYS_API_ID=your_censys_id
CENSYS_API_SECRET=your_censys_secret
# ... see reconFTW documentation for all supported APIs

šŸ“– MCP Tools

Scanning Tools

Tool

Description

start_recon

Start a full reconnaissance scan

quick_recon

Fast passive reconnaissance

subdomain_enum

Subdomain enumeration

vulnerability_scan

Vulnerability scanning

osint_scan

OSINT gathering

Status & Results

Tool

Description

get_scan_status

Check scan progress

list_results

List available scans

get_findings

Get scan findings

get_nuclei_results

Get Nuclei vulnerability results

Control

Tool

Description

stop_scan

Stop a running scan

šŸ”Œ Integration with AI Assistants

Claude Code (STDIO Mode)

Add to your Claude Code configuration:

{
  "mcpServers": {
    "reconftw": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "reconftw-output:/opt/reconftw/output",
        "reconftw-mcp",
        "mcp"
      ]
    }
  }
}

Remote MCP Clients (SSE Mode)

Connect to http://localhost:8002/sse (or your server URL).

Example Usage with Claude

User: Can you scan example.com for subdomains?

Claude: I'll start a subdomain enumeration scan for example.com.

[Claude calls subdomain_enum tool]

Claude: I've started scan #1 for example.com. Let me check the status...

[Claude calls get_scan_status tool]

Claude: The scan is running. I found 45 subdomains so far. Would you like me to wait for completion or get the current results?

šŸ“ Project Structure

reconftw-mcp/
ā”œā”€ā”€ Dockerfile           # Docker image definition
ā”œā”€ā”€ docker-compose.yml   # Docker Compose configuration
ā”œā”€ā”€ mcp_server.py        # Main MCP server
ā”œā”€ā”€ tools.py             # MCP tools implementation
ā”œā”€ā”€ resources.py         # MCP resources implementation
ā”œā”€ā”€ entrypoint.sh        # Container entrypoint
ā”œā”€ā”€ requirements.txt     # Python dependencies
└── README.md            # This file

šŸ› ļø Scan Modes

Mode

Description

Duration

full

Complete reconnaissance

1-4 hours

passive

Passive sources only

10-30 min

subdomains

Subdomain enumeration

20-60 min

vulns

Vulnerability scanning

30-90 min

osint

OSINT gathering

15-45 min

webs

Web analysis only

20-60 min

hosts

Host analysis only

15-45 min

šŸ“Š MCP Resources

Access scan data through MCP resources:

  • scan://list - List all available scans

  • scan://results/{scan_name} - Get results from a scan

  • scan://results/{scan_name}/{file_type} - Get specific result file

  • config://reconftw - Get reconFTW configuration

  • docs://tools - Tool documentation

  • docs://modes - Scan mode documentation

āš ļø Disclaimer

IMPORTANT: Usage of this tool for attacking targets without prior consent is illegal. It is the user's responsibility to obey all applicable laws. The developers assume no liability for misuse or damage caused by this tool.

Only use this tool:

  • On systems you own

  • With explicit permission from the owner

  • In accordance with all applicable laws and regulations

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m 'Add some AmazingFeature')

  4. Push to the branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

šŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

šŸ“® Support

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to autonomously execute over 200 open-source penetration testing tools via MCP, including reconnaissance, web exploitation, and brute-forcing, through a unified server architecture with Docker sandboxing for safe execution.
    51
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    Exposes AI-augmented network reconnaissance and evasion capabilities as callable FastMCP tools, enabling natural language orchestration of host discovery, service fingerprinting, CVE mapping, and attack chain synthesis.
    1
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to orchestrate OSINT reconnaissance pipelines, including subdomain takeover detection, URL harvesting, secret scanning, and JS analysis, by chaining 73 tools with smart target detection and deduplication.
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BugTraceAI/reconftw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server