sec-aircrack-ng-mcp
Allows performing WiFi security auditing on a remote Kali Linux system using the aircrack-ng suite, including monitor mode management, network scanning, packet capture, handshake capture, and password cracking.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sec-aircrack-ng-mcp Scan for wireless networks on wlan0mon"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Aircrack-ng MCP Server
A Model Context Protocol (MCP) server that provides WiFi security auditing capabilities using the aircrack-ng suite. Commands are executed on a remote Kali Linux system via SSH, enabling AI assistants to perform authorized wireless security assessments.
Features
Monitor Mode Management - Enable/disable monitor mode on wireless interfaces
Network Discovery - Scan and enumerate wireless networks with detailed information
Packet Capture - Capture packets from targeted access points (background operation)
Handshake Capture - Deauthentication attacks to capture WPA/WPA2 handshakes
Password Cracking - Attempt to crack captured handshakes using wordlists
Remote Execution - All operations run on a remote Kali system via SSH
Related MCP server: Kali Linux MCP Server
Prerequisites
Kali Linux System - With aircrack-ng suite installed
SSH Access - Passwordless SSH recommended (key-based authentication)
Wireless Adapter - Compatible adapter that supports monitor mode and packet injection
Node.js - Version 18 or higher
Installation
# Clone the repository
git clone https://github.com/schwarztim/sec-aircrack-ng-mcp.git
cd sec-aircrack-ng-mcp
# Install dependencies
npm install
# Build the TypeScript code
npm run buildConfiguration
Configure the server using environment variables:
Variable | Description | Default |
| Hostname or IP address of Kali system |
|
| SSH username |
|
| Path to SSH private key file | (none - uses default) |
| Directory for capture files on Kali |
|
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"aircrack-ng": {
"command": "node",
"args": ["/path/to/sec-aircrack-ng-mcp/dist/index.js"],
"env": {
"KALI_HOST": "192.168.1.100",
"SSH_USER": "kali",
"SSH_KEY": "/path/to/ssh/key"
}
}
}
}Available Tools
Connection & Setup
Tool | Description |
| Test SSH connection and verify aircrack-ng installation |
| List wireless interfaces and their status |
| Kill processes that interfere with monitor mode |
| Enable monitor mode on a wireless interface |
| Disable monitor mode and restore managed mode |
Scanning & Capture
Tool | Description |
| Scan for wireless networks (returns BSSID, channel, encryption, ESSID) |
| Start packet capture on a specific target (runs in background) |
| Stop a running packet capture |
| Check status of a running capture |
Attacks
Tool | Description |
| Send deauthentication frames (helps capture WPA handshakes) |
| Perform fake authentication with AP (for WEP attacks) |
Cracking
Tool | Description |
| Attempt to crack WPA/WPA2 handshake using a wordlist |
| Verify if a valid handshake has been captured |
Utilities
Tool | Description |
| List all capture files in the captures directory |
| Delete capture files |
| Get detailed information about a wireless interface |
Typical Workflow
A typical WPA/WPA2 security assessment workflow:
1. test_connection # Verify SSH connectivity and aircrack-ng
2. airmon_check # List available wireless interfaces
3. airmon_check_kill # Kill interfering processes
4. airmon_start(wlan0) # Enable monitor mode -> wlan0mon
5. airodump_scan(wlan0mon, 30) # Scan for networks (30 seconds)
6. airodump_capture(...) # Start capturing target network
7. aireplay_deauth(...) # Deauth to force handshake
8. aircrack_check_handshake(...) # Verify handshake captured
9. aircrack_crack(...) # Attempt to crack password
10. airodump_stop(...) # Stop the capture
11. airmon_stop(wlan0mon) # Restore managed modeSecurity Considerations
Authorization Required - Only use on networks you own or have explicit written permission to test
SSH Security - Use key-based authentication and restrict SSH access
Capture Files - Captured data may contain sensitive information; handle appropriately
Legal Compliance - Ensure compliance with local laws and regulations
Legal Notice
WARNING: Unauthorized access to computer networks is illegal in most jurisdictions.
This tool is intended exclusively for:
Authorized penetration testing
Security research on networks you own
Educational purposes in controlled environments
The authors assume no liability for misuse of this software. Users are solely responsible for ensuring they have proper authorization before conducting any security testing.
Development
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server
npm startLicense
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Acknowledgments
Aircrack-ng Team - For the excellent wireless security suite
Model Context Protocol - For the MCP specification
Anthropic - For Claude and the MCP ecosystem
Available Tools
16 toolsaircrack_check_handshakeA
Check if a valid WPA handshake has been captured in a pcap file
Inputs: capFile (required), bssid.
aircrack_crackB
Attempt to crack WPA/WPA2 handshake using wordlist
Inputs: capFile (required), wordlist (required), bssid.
aireplay_deauthB
Send deauthentication frames to disconnect clients from AP (helps capture WPA handshake)
Inputs: iface (required), bssid (required), count, clientMac.
aireplay_fakeauthC
Perform fake authentication with AP (used for WEP attacks)
Inputs: iface (required), bssid (required), sourceMac.
airmon_checkA
List wireless interfaces and their status. Shows PHY, Interface, Driver, and Chipset.
Inputs: no named parameters.
airmon_check_killA
Kill processes that might interfere with monitor mode (NetworkManager, wpa_supplicant, etc.)
Inputs: no named parameters.
airmon_startA
Enable monitor mode on a wireless interface. Creates a monitor interface (e.g., wlan0mon).
Inputs: iface (required), channel.
airmon_stopA
Disable monitor mode and restore managed mode on interface
Inputs: iface (required).
airodump_captureB
Start capturing packets from a specific access point. Runs in background.
Inputs: iface (required), bssid (required), channel (required), outputPrefix (required).
airodump_scanA
Scan for wireless networks. Returns list of access points with BSSID, channel, encryption, and ESSID.
Inputs: iface (required), duration.
airodump_statusA
Check status of a running capture and list captured files
Inputs: outputPrefix (required).
airodump_stopB
Stop a running packet capture
Inputs: outputPrefix (required).
cleanup_capturesB
Delete capture files from the captures directory
Inputs: pattern.
get_interface_infoC
Get detailed information about a wireless interface
Inputs: iface (required).
list_capturesA
List all capture files in the captures directory
Inputs: no named parameters.
test_connectionA
Test SSH connection to Kali Linux and verify aircrack-ng is installed
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool has a clear, distinct purpose with a unique verb-noun combination. For example, aircrack_check_handshake and aircrack_crack are different stages, and aireplay_deauth vs aireplay_fakeauth are separate attacks.
All tools follow a consistent naming pattern: tool prefix (aircrack, aireplay, etc.) followed by underscore and action. All use snake_case and descriptive verbs, making it easy to predict the function.
16 tools cover the full aircrack-ng workflow: interface setup, scanning, capture, injection, and cracking. Each tool serves a necessary role without being excessive.
The set covers the main WPA/WPA2 attack chain well, but is missing a tool for WEP cracking (aireplay_fakeauth is present but no aircrack for WEP). This is a minor gap in an otherwise thorough surface.
Maintenance
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Security scanner for AI agents and MCP servers: injection, jailbreak, tool abuse.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to execute penetration testing commands and security tools on Kali Linux remotely. Supports automated reconnaissance, vulnerability scanning, and CTF solving through integration with 25+ offensive security tools like nmap, gobuster, and nuclei.16-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform penetration testing and security assessments by exposing 60+ Kali Linux security tools including network scanning, web security testing, password cracking, exploitation frameworks, and OSINT capabilities through an AI-friendly interface.2MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to run Kali Linux security tools in an isolated Docker container for tasks like network scanning, port checking, and service enumeration.77 npm1MIT
- AlicenseAqualityFmaintenanceEnables AI assistants to perform password security auditing using John the Ripper on a remote Kali system via SSH, supporting cracking, hash management, and session control.12MIT