Skip to main content

Complete MSF ecosystem MCP server with 95%+ coverage (58 tools)

Project description

MSF Console MCP Server v5.0

Production-ready Model Context Protocol (MCP) server implementation for Metasploit Framework Console, providing 48 specialized penetration testing tools through a structured AI assistant interface.

🚀 Features

Core Capabilities (48 Tools)

  • Exploitation Framework - Complete exploit/payload management
  • Session Management - Advanced interaction with compromised systems
  • Post-Exploitation - Privilege escalation, persistence, lateral movement
  • Network Analysis - Scanning, enumeration, service discovery
  • Vulnerability Assessment - Automated vulnerability identification
  • Credential Management - Centralized credential storage and testing
  • Reporting Engine - Professional penetration testing reports
  • Evasion Suite - AV bypass and obfuscation techniques

Key Components

  • mcp_server_stable.py - Main MCP server with 48 tools
  • msf_stable_integration.py - MSF console integration layer
  • msf_plugin_system.py - Plugin architecture
  • msf_advanced_session_manager.py - Session handling
  • msf_enhanced_tools.py - Enhanced tool implementations
  • msf_extended_tools.py - Extended functionality

📦 Installation

  1. Clone the repository:
# Personal Repository
git clone https://github.com/PreistlyPython/msfconsole-mcp.git

# Organization Repository
git clone https://github.com/LYFTIUM-INC/msfconsole-mcp.git

cd msfconsole-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure Claude Desktop:

Add to ~/.config/claude-code/mcp_servers.json:

{
  "msfconsole-full": {
    "command": "python",
    "args": ["/path/to/msfconsole-mcp/mcp_server_stable.py"]
  }
}
  1. Restart Claude Desktop to load the MCP server

🛠️ Usage

Available Tools (48 Total)

Primary Operations

  • msf_execute_command - Execute MSFConsole commands
  • msf_module_manager - Complete module lifecycle management
  • msf_session_interact - Advanced session interaction
  • msf_exploit_chain - Multi-stage exploitation workflows
  • msf_handler_manager - Payload handler management

Scanning & Discovery

  • msf_scanner_suite - Comprehensive scanning operations
  • msf_vulnerability_tracker - Vulnerability tracking
  • msf_credential_manager - Credential management
  • msf_pivot_manager - Network pivoting and routing

Post-Exploitation

  • msf_post_exploitation - Post-exploitation modules
  • msf_loot_collector - Automated loot collection
  • msf_session_persistence - Persistence mechanisms
  • msf_session_upgrader - Shell to Meterpreter upgrade

Advanced Features

  • msf_evasion_suite - AV bypass techniques
  • msf_listener_orchestrator - Advanced listener management
  • msf_workspace_automator - Workspace automation
  • msf_reporting_engine - Report generation

Example Usage in Claude

User: "Scan the network 192.168.1.0/24"
Claude: [Uses msf_module_manager to load and run network discovery]

User: "Exploit the vulnerable service on port 8080"
Claude: [Uses msf_exploit_chain for automated exploitation]

User: "Generate a report of findings"
Claude: [Uses msf_reporting_engine for professional documentation]

🔒 Security Notice

IMPORTANT: This tool is for authorized security testing only.

  • Only use on systems you own or have explicit permission to test
  • Ensure proper network isolation during testing
  • Use workspaces to separate engagements
  • Review all commands before execution
  • Comply with all applicable laws and regulations

🧪 Testing

Validate the installation:

python test_mcp_server.py

📊 Performance

  • Tools Available: 48
  • Average Response Time: 15.7 seconds
  • Success Rate: 87% in production testing
  • Tested Against: Real network infrastructure

🤝 Contributing

This is a specialized security tool. Contributions should focus on:

  • Bug fixes and stability improvements
  • Additional MSF module support
  • Enhanced error handling
  • Documentation improvements

📄 License

For authorized security testing and educational purposes only. Users are responsible for compliance with all applicable laws and regulations.

⚠️ Disclaimer

This tool can perform actions that may be illegal if used without authorization. Never use this tool on systems you do not own or without explicit written permission. The authors assume no liability for misuse.


Version: 5.0
Status: Production Ready
Tools: 48 Specialized MSF Console Tools
Framework: Metasploit Framework Integration via MCP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3.tar.gz (71.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3.tar.gz.

File metadata

  • Download URL: iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3.tar.gz
  • Upload date:
  • Size: 71.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3.tar.gz
Algorithm Hash digest
SHA256 fe4219217256f6e52a42a80b5b5d09cb6f7f0ca401e409249057c88dcce01f5d
MD5 5cafe76bb23e648137063fc280a0d574
BLAKE2b-256 330673192adb9eb1f1f0cc4272edafb3cc64d69abd5fc6a936904655a9a9df4a

See more details on using hashes here.

File details

Details for the file iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3-py3-none-any.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_lyftium_inc_msfconsole_mcp-5.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbb8bcf85c1ffc0075163ea570d2962086dc996ecd7bbc109bc08c59280fbb94
MD5 f7bb8832d0aee94e18b6ced9f10d34db
BLAKE2b-256 f3141bcb9c1f08882c2f5af1b56ffa0193739b9754ef636c7505bb988ba11cf7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page