Skip to main content
Glama
Falcon MCP AI PT

Falcon MCP AI PT

by Abdulmnom

Falcon MCP AI PT (Security Tools) šŸ¦…šŸ’»

Welcome to Falcon MCP AI PT, a specialized AI Agent driven by the Model Context Protocol (MCP) to perform rigorous penetration testing, security assessments, and cybersecurity automation seamlessly integrated directly into your Claude Desktop environment.

This toolkit allows Claude to interact natively with your local vulnerability scanning, networking algorithms, and security modules to analyze operations securely over your terminal.

Features

  • MCP Native Integration: Plugs natively into Claude Desktop, allowing conversational requests for robust security tasks.

  • Locally Executed: All Python tools and operational scripts are securely run from your local machine footprint via uv.

  • Extensible Architecture: Compatible and often deployed as part of a larger ecosystem of MCP servers (such as Tax, Weather, and E-commerce assistants).

Related MCP server: AWS MCP Server

Getting Started

Prerequisites

  • Claude Desktop

  • uv (Extremely fast Python package installer and resolver, written in Rust).

Installation

  1. Clone the repository:

    git clone <repository_url>
    cd falcon_mcp_AI_PT
  2. Ensure you have installed uv. On Windows using PowerShell:

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Configuration & Usage

Follow these simple steps to connect Falcon AI with your Claude Desktop app:

  1. Open Claude Settings:

    • Launch Claude Desktop.

    • Go to Settings > Developer (or Settings > Connected Apps).

    • Click Edit Config. This will open your configuration JSON file.

  2. Add the MCP Server: Copy the following code and paste it into the file:

{
  "mcpServers": {
    "security-tools": {
      "command": "uv",
      "args": [
        "--directory",
        "YOUR_ABSOLUTE_PROJECT_PATH_HERE",
        "run",
        "app.py"
      ]
    }
  }
}
  1. Set Your Project Path:

    • Replace "YOUR_ABSOLUTE_PROJECT_PATH_HERE" with the exact folder path where you downloaded this project.

    • āš ļø Windows Users: You MUST use double-backslashes (\\) instead of single ones (\).

      • Example: If your folder is at C:\Users\John\Desktop\falcon_mcp, write it as C:\\Users\\John\\Desktop\\falcon_mcp.

  2. Restart Claude: Save the file, then completely restart Claude Desktop. A new "hammer" (tools) icon will appear in your chat bar when the AI is ready!

For a more comprehensive explanation, please check our Detailed MCP Guide.

Documentation

  • See MCP_GUIDE.md for full documentation on creating an integrated workspace involving multiple local AI applications.

License

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

Available Tools

60 tools
add_vhost_to_hostsC

Add a vhost entry to /etc/hosts in Kali WSL

Inputs: ip (required), vhost (required). Returns: result

ask_user_permissionA

āœ‹ Human-In-The-Loop (HITL) Authorization. YOU MUST CALL THIS TOOL before executing any critical, destructive, or highly intrusive exploit (like shells, sqlmap, etc). Pause your execution, ask the user in the chat: "Do you authorize the following action: [action]?" DO NOT proceed until the user explicitly replies "yes".

Inputs: action_description (required). Returns: result

comprehensive_reconA

šŸš€ Run COMPREHENSIVE full-scope reconnaissance on a target.

This orchestrator combines ALL available tools for maximum coverage:

  1. Nmap service discovery

  2. Masscan port scanning

  3. Amass subdomain enumeration

  4. HTTPX HTTP probing

  5. WhatWeb technology detection

  6. Katana web crawling

  7. Waybackurls historical URL discovery

  8. GAU (Get All URLs)

  9. Nuclei vulnerability scanning

  10. Jaeles web vulnerability scanning

  11. Gobuster directory fuzzing

  12. Nikto web vulnerability scanning

  13. SSL/TLS analysis

Options: target: IP address or hostname domain: Domain name (for subdomain enumeration) web_ports: Web ports to check scan_ports: Ports for nmap scanning enable_*: Toggle individual tools on/off stealth: Enable stealth mode (slower, quieter)

Returns immediately — use tmux_watch('') to monitor each job.

Inputs: target (required), domain, stealth, web_ports, +7 more. Returns: result

dns_enumB

šŸ” Comprehensive DNS enumeration for a domain.

Features:

  • DNS record discovery (A, AAAA, MX, NS, TXT, SOA, CNAME)

  • Zone transfer testing (AXFR)

  • Subdomain brute-forcing

  • Reverse DNS lookups

Returns: All discovered DNS records, potential zone transfers, and subdomains.

Inputs: domain (required), wordlist, dns_server, brute_force, +1 more. Returns: result

enhanced_reconB

šŸš€ Run ENHANCED parallel recon with all available tools.

Includes:

  1. Nmap quick + full scans

  2. Nikto web vulnerability scan

  3. SSL/TLS analysis

  4. WhatWeb technology fingerprinting

  5. Gobuster directory fuzzing

  6. DNS enumeration (if domain provided)

  7. Subdomain enumeration (if domain provided)

Returns immediately — use tmux_watch('') to monitor each job.

Inputs: target (required), domain, ssl_ports, web_ports. Returns: result

full_reconA

šŸ” Run COMPLETE parallel recon on a target in one command:

  1. nmap quick scan (common ports)

  2. nmap full scan (all 65535 ports)

  3. HTTP banner grab (all web ports)

  4. SMB enumeration

  5. Directory fuzzing on discovered web ports

Returns immediately — use tmux_watch('') to monitor each job. Use recon_summary(target) after jobs finish to get a clean report.

Inputs: target (required), web_ports. Returns: result

fuzz_dirsC

Fuzz directories and files on a web target using ffuf. Auto-routed to tmux.

  • extensions: e.g. 'php,html,txt'

  • filter_size: e.g. '0' to hide empty responses

Inputs: url (required), wordlist, extensions, filter_size. Returns: result

fuzz_parametersC

Fuzz GET/POST parameters using ffuf (auto-routed to tmux)

Inputs: url (required), method, wordlist, post_data, +1 more. Returns: result

fuzz_vhostC

Fuzz virtual hosts/subdomains using ffuf (auto-routed to tmux)

Inputs: ip (required), port (required), domain (required), wordlist. Returns: result

generate_egress_testA

šŸš€ RUN THIS AUTOMATICALLY BEFORE CHOOSING A REVERSE SHELL. Generates commands to test target Egress (Outbound) connectivity. The AI should execute this payload on the target via the discovered RCE. If the attacker receives the ping/HTTP request, Egress is allowed -> use Reverse Shell. If not -> Egress is blocked -> use Bind Shell or In-band Web Shell.

Inputs: attacker_ip (required), attacker_port. Returns: result

jenkins_exploitA

šŸŽÆ Jenkins attack workflow.

action options: "check" → detect version + anonymous access "cve_read" → CVE-2024-23897 file read (no auth needed, Jenkins < 2.442) "login" → test credentials "rce" → Groovy Script Console RCE (needs valid creds) "shell" → full reverse shell via Groovy (needs lhost + lport)

CVE-2024-23897 works on Jenkins 2.303.1 without any credentials!

Inputs: target (required), port, lhost, lport, +3 more. Returns: result

memory_clearA

šŸ—‘ļø Clear all stored data for a target.

WARNING: This action is irreversible. Set confirm=True to proceed.

Inputs: target (required), confirm. Returns: result

memory_list_targetsB

šŸ“‹ List all targets that have stored data in memory.

Inputs: no named parameters. Returns: result

memory_recallB

šŸ” Retrieve all stored information about a target from memory.

If the target was previously scanned, this shows all accumulated findings including open ports, services, vulnerabilities, and sensitive information.

Inputs: target (required). Returns: result

memory_storeA

šŸ’¾ Store scan results, findings, or notes for a target in persistent memory.

This data is shared between Claude Desktop and Ollama clients. Use memory_recall to retrieve stored data later.

Parameters: target: The IP or domain being assessed tool_name: Name of the tool that generated results (e.g., "nmap", "nikto") summary: Brief summary of findings open_ports: List of discovered open ports services: Dict of port -> service mapping vulnerabilities: List of vulnerability dicts with id, severity, description sensitive_info: Dict with credentials, api_keys, internal_paths, usernames notes: Free-form notes about the target

Inputs: target (required), notes, summary, services, +4 more. Returns: result

network_checkA

⚔ ALWAYS run this FIRST before any scan or exploit. Checks if the target is reachable over the current network. Returns REACHABLE or NOT_REACHABLE for each port.

If NOT_REACHABLE → the agent must stop and ask the user to run commands locally (VPN is on their machine, not here).

Inputs: target (required), ports. Returns: result

ollama_analyzeB

🧠 Send scan results to Ollama for AI-assisted analysis.

Parameters: data: The scan results or findings to analyze context: Type of data ("scan_results", "vulnerabilities", "full_report") model: Override Ollama model (default: from env or llama3.1:8b)

Example: ollama_analyze(data="Open ports: 22, 80, 443. Services: OpenSSH 7.4, Apache 2.4.6")

Inputs: data (required), model, context. Returns: result

ollama_chatB

šŸ’¬ Free-form chat with Ollama about penetration testing.

Use this to ask any pentesting-related question.

Parameters: message: Your question or topic model: Override Ollama model

Inputs: message (required), model. Returns: result

ollama_explainB

šŸ“š Ask Ollama to explain a specific vulnerability or finding.

Parameters: vulnerability: The CVE, vulnerability name, or finding to explain context: Additional context (affected service, version, etc.) model: Override Ollama model

Inputs: vulnerability (required), model, context. Returns: result

ollama_next_stepsC

šŸŽÆ Get AI recommendations for next steps in the penetration test.

Parameters: target: The target being assessed current_findings: Summary of what has been discovered so far model: Override Ollama model

Inputs: target (required), model, current_findings. Returns: result

ollama_set_modelC

āš™ļø Change the Ollama model being used.

Parameters: model: Model name (e.g., "llama3.1:8b", "mistral", "codellama")

Inputs: model (required). Returns: result

ollama_statusA

šŸ“” Check Ollama connection status and available models.

Inputs: no named parameters. Returns: result

recon_summaryB

šŸ“Š Read all recon logs and produce a clean summary. Run this AFTER full_recon jobs finish. Shows: open ports, services, web apps, CVE hints.

Inputs: target (required). Returns: result

report_generateA

šŸ“Š Generate a full JSON vulnerability report for a target.

Combines all stored memory data into a structured report including:

  • Assessment summary

  • Attack surface (ports, services, technologies)

  • Vulnerabilities with severity and CVSS

  • Sensitive information (credentials, API keys, paths)

  • Recommendations

The report is saved to ~/.falcon/memory/reports/

Inputs: target (required). Returns: result

report_listB

šŸ“‹ List all generated vulnerability reports.

Inputs: no named parameters. Returns: result

report_showC

šŸ“„ Display an existing vulnerability report for a target.

Inputs: target (required). Returns: result

run_amassC

🌐 Run Amass for advanced subdomain enumeration (auto-routed to tmux).

domain: Target domain mode: "enum" (enumeration), "intel" (discover targets), "track" (track changes) passive: Passive mode only (no DNS resolution) brute_force: Enable brute-forcing wordlist: Wordlist for brute-forcing output_file: Save results to file

Example: run_amass(domain="example.com", brute_force=True)

Inputs: domain (required), mode, passive, wordlist, +2 more. Returns: result

run_commandA

Run any command on Kali Linux WSL. AUTO-DETECTS long-running tools (nmap, ffuf, hydra, sqlmap …) and routes them to a tmux window automatically. Short commands run inline and return output directly.

Inputs: command (required). Returns: result

run_eyewitnessC

Run EyeWitness screenshots on a target

Inputs: target (required), flags. Returns: result

run_gauB

šŸ”— Run GAU (Get All URLs) from multiple sources.

domain: Target domain providers: Comma-separated sources (wayback, commoncrawl, otx, urlscan) output_file: Save results to file threads: Number of concurrent threads

Returns: URLs from multiple archive sources.

Inputs: domain (required), threads, providers, output_file. Returns: result

run_gobusterC

šŸ“ Directory/file brute-forcing using Gobuster (auto-routed to tmux).

mode options: "dir" → Directory/file enumeration "dns" → DNS subdomain enumeration "vhost" → Virtual host enumeration "s3" → S3 bucket enumeration "gcs" → Google Cloud Storage enumeration

Example: run_gobuster(target="http://10.10.10.10", mode="dir", extensions="php,html,txt")

Inputs: target (required), mode, port, wordlist, +2 more. Returns: result

run_httpxB

🌐 Run HTTPX for HTTP probing and status checking (auto-routed to tmux).

target: Single target or file with list of targets ports: Comma-separated ports to check status_codes: Filter by status codes title: Extract page title tech_detect: Detect technologies follow_redirects: Follow HTTP redirects output_file: Save results to file

Example: run_httpx(target="subdomains.txt", tech_detect=True)

Inputs: target (required), ports, title, output_file, +3 more. Returns: result

run_hydraB

šŸ”‘ Run Hydra brute force (auto-routed to tmux).

service: ssh | ftp | http-get | http-post-form | rdp | smb | ...

For HTTP forms (Jenkins, Tomcat, etc.): service = "http-post-form" http_form_path = "/j_spring_security_check" http_form_body = "j_username=^USER^&j_password=^PASS^&from=%2F&Submit=Sign+in" http_fail_string = "loginError"

Example for Jenkins: run_hydra( target="10.129.25.247", service="http-post-form", port="8000", http_form_path="/j_spring_security_check", http_form_body="j_username=^USER^&j_password=^PASS^&from=%2F", http_fail_string="loginError", wordlist="/path/to/passwords.txt" )

Inputs: target (required), service (required), port, username, +5 more. Returns: result

run_jaelesB

šŸŽÆ Run Jaeles web vulnerability scanner (auto-routed to tmux).

target: Target URL concurrency: Number of concurrent requests (default: 20) selectors: Custom selectors to use (e.g., "default,sensitive") output_file: Save results to file proxy: HTTP proxy to use

Example: run_jaeles(target="https://example.com", selectors="default,sensitive")

Inputs: target (required), proxy, selectors, concurrency, +1 more. Returns: result

run_katanaB

šŸ•·ļø Run Katana web crawler (auto-routed to tmux).

target: URL to crawl depth: Crawling depth (default: 3) max_pages: Maximum pages to crawl (default: 100) output_file: Save results to file js_crawl: Parse JavaScript files for endpoints form_extraction: Extract form information

Example: run_katana(target="https://example.com", depth=5, max_pages=500)

Inputs: target (required), depth, js_crawl, max_pages, +2 more. Returns: result

run_masscanB

šŸš€ Run Masscan high-speed port scanner (auto-routed to tmux).

ports: Port range (e.g., "1-1000", "80,443,8080") rate: Packets per second (default: 10000) output_format: "json" or "xml"

Example: run_masscan(target="10.10.10.0/24", ports="80,443,8080,8443")

Inputs: target (required), rate, ports, output_format. Returns: result

run_niktoB

šŸ•·ļø Run Nikto web vulnerability scanner (auto-routed to tmux).

tuning options (comma-separated): 1 = Interesting File / Seen in logs 2 = Misconfiguration / Default File 3 = Information Disclosure 4 = Injection (XSS/Script/HTML) 5 = Remote File Retrieval - Inside Web Root 6 = Denial of Service 9 = SQL Injection 0 = File Upload a = Authentication Bypass b = Software Identification c = Remote Source Inclusion

Example: run_nikto(target="10.10.10.10", port="443", ssl=True, tuning="12349")

Inputs: target (required), ssl, port, tuning, +1 more. Returns: result

run_nmapB

Run nmap scan on a target (auto-routed to tmux)

Inputs: target (required), flags. Returns: result

run_nucleiA

⚔ Run Nuclei fast vulnerability scanner (auto-routed to tmux).

templates: Comma-separated template names or paths (e.g., "cves,vulnerabilities") severity: Filter by severity (e.g., "critical,high,medium,low") rate_limit: Requests per second (default: 150, lower for stealth) output_file: Save results to file stealth: Enable stealth mode (slower, fewer requests)

Example: run_nuclei(target="https://example.com", severity="critical,high")

Inputs: target (required), stealth, severity, templates, +2 more. Returns: result

run_parallelA

šŸš€ Run MULTIPLE commands in parallel — each in its own tmux window. Use this for ALL recon/exploit phases to save time.

jobs = [ {"name": "nmap_quick", "cmd": "nmap -sV -p 80,443,8080 TARGET"}, {"name": "web_80", "cmd": "curl -sI http://TARGET:80/"}, {"name": "smb_scan", "cmd": "nmap -p445 --script smb-vuln-ms17-010 TARGET"}, ]

After launching, use tmux_watch('') to check progress. Use tmux_read_log('') to get full results.

Inputs: jobs (required). Returns: result

run_sqlmapC

Run sqlmap on a target URL (auto-routed to tmux)

Inputs: url (required), flags. Returns: result

run_waybackurlsC

šŸ“œ Run Waybackurls for historical URL discovery from Wayback Machine.

domain: Target domain output_file: Save results to file

Returns: Historical URLs from Wayback Machine archive.

Inputs: domain (required), output_file. Returns: result

run_webreconB

šŸ” Run targeted Web Reconnaissance. Use this FIRST when exploring a new target to understand the attack surface. Features: Ports, Versions, Directories, Smart Wordlists, DBs, and CVE hints. Automatically handles Stealth mode and saves findings to /output/ folder as Markdown and JSON.

Inputs: target (required), stealth. Returns: result

run_whatwebB

šŸŽÆ Web technology fingerprinting using WhatWeb.

aggression levels: 1 = Stealthy (single request per target) 2 = Aggressive (more requests, faster) 3 = Heavy (even more requests) 4 = DoS (may cause issues, use with caution)

Returns: Detected technologies, frameworks, CMS, server info, etc.

Inputs: target (required), port, aggression. Returns: result

skills_executeA

šŸš€ Execute a skill playbook against a target.

This launches all steps of the skill as parallel tmux jobs. Use tmux_watch to monitor each step's progress.

Parameters: skill_id: The ID of the skill to execute target: The target IP or domain

Inputs: target (required), skill_id (required). Returns: result

skills_listA

šŸ“‹ List all available skills/playbooks for penetration testing.

Skills are predefined attack playbooks that guide the testing process. Use skills_show to see details of a specific skill.

Inputs: no named parameters. Returns: result

skills_recommendA

šŸ’” Get skill recommendations based on target info or general use.

If a target is provided and exists in memory, recommends skills based on discovered services. Otherwise, recommends a general starting point.

Parameters: target: Optional target IP or domain for context-aware recommendations

Inputs: target. Returns: result

skills_showA

šŸ” Show details of a specific skill/playbook.

Parameters: skill_id: The ID of the skill (e.g., "web_recon_full")

Inputs: skill_id (required). Returns: result

smart_blind_rce_generatorA

Helper tool to generate robust Java/WebLogic Blind RCE payloads that avoid whitespace escaping issues. Provide the command as a comma-separated string array (e.g., "cmd.exe","/c","whoami"). This will generate the exact Java array payload and the redirect logic to write to the web_root.

Inputs: command_array_str (required), web_root, output_filename. Returns: result

ssl_scanB

šŸ”’ Analyze SSL/TLS configuration of a target. Uses testssl.sh or nmap ssl-enum-ciphers scripts.

Returns: Supported protocols, cipher suites, vulnerabilities, certificate info.

Inputs: target (required), full, port. Returns: result

stop_all_tasksA

šŸ›‘ IMMEDIATELY KILL ALL RUNNING TASKS AND TMUX SESSIONS. Use this when the user asks to stop or abort everything. Outputs a very concise success message.

Inputs: no named parameters. Returns: result

subdomain_enumA

🌐 Discover subdomains using multiple techniques.

method options: "all" → Use all available methods (recommended) "passive" → Passive only (no direct DNS queries to target) "brute" → Active brute-forcing with wordlist "cert" → Certificate Transparency logs "dns" → DNS-based enumeration

Returns: Discovered subdomains with IP addresses and status codes.

Inputs: domain (required), method, wordlist. Returns: result

tmux_kill_windowC

Kill a specific tmux window.

Inputs: window_name (required). Returns: result

tmux_list_windowsA

List all active tmux windows in the pentest session.

Inputs: no named parameters. Returns: result

tmux_read_logB

Read the full output log of a previously launched tmux window.

Inputs: window_name (required). Returns: result

tmux_runB

Run a command in a NEW tmux window (non-blocking, fire & forget).

Inputs: command (required), window_name (required). Returns: result

tmux_wait_allB

ā³ Wait for ALL specified tmux windows to finish. Polls every poll_interval seconds until all show DONE or timeout. Returns summary of which finished and which timed out.

Inputs: window_names (required), poll_interval, timeout_seconds. Returns: result

tmux_watchB

Monitor a running tmux window LIVE. Returns last N lines + status (RUNNING / DONE).

Inputs: window_name (required), last_lines. Returns: result

tomcat_exploitA

šŸŽÆ Tomcat attack workflow.

action options: "check" → version + manager availability + AJP status "brute" → brute force manager credentials "ghostcat" → CVE-2020-1938 file read via AJP (no auth) "deploy_war" → deploy WAR shell (needs manager creds) "put_jsp" → CVE-2017-12617 PUT JSP upload (no auth)

Inputs: target (required), port, lhost, lport, +4 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 60 tools

    Disambiguation2/5

    The set contains several near-duplicate orchestration/recon tools (full_recon, enhanced_recon, comprehensive_recon, run_webrecon) and overlapping scanners/fuzzers (run_nmap vs run_masscan; fuzz_dirs vs run_gobuster vs fuzz_vhost; dns_enum vs subdomain_enum vs run_amass). Descriptions help somewhat, but many tool boundaries are unclear and likely to cause misselection.

    Naming Consistency4/5

    Most names follow a readable snake_case convention with category prefixes such as run_, tmux_, memory_, report_, skills_, and ollama_. There are minor deviations like ssl_scan and dns_enum using noun-first names versus run_* verb-first patterns, but the overall convention is predictable.

    Tool Count1/5

    With 60 tools, the surface is far beyond a well-scoped set and includes many redundant recon orchestrators, scanners, and fuzzers. Even for a broad pentesting domain, this is an extreme mismatch and would overwhelm tool selection.

    Completeness3/5

    The set covers extensive recon, scanning, some exploitation, memory, reporting, and AI assistance, but lacks structured tools for listener/handler management, file transfer, post-exploitation/privesc enumeration, and password cracking. The generic run_command/tmux tools can work around some gaps, but notable lifecycle operations are missing.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers