MCP server for Metasploit Framework via pymetasploit3
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP server for Metasploit Framework via pymetasploit3. This server exposes all pymetasploit3 functionality as MCP tools, allowing LLMs to interact with Metasploit Framework through the msfrpc protocol.
Before using the MCP server, you need to start the Metasploit RPC server:
Using msfrpcd:
Using msfconsole:
Once connected, the following tools are available:
connect - Connect to Metasploit RPC serverdisconnect - Disconnect from RPC serverget_client_info - Get current connection statuslist_modules - List available modules by typeuse_module - Load a specific moduleget_module_info - Get module description and infoget_module_options - Get all module optionsset_module_option - Set a module optionget_missing_required - Get required options not setexecute_module - Execute a moduleget_module_targets - Get available targetsset_module_target - Set the targetget_target_payloads - Get compatible payloadsgenerate_payload - Generate a payloadlist_sessions - List all active sessionsget_session_info - Get session informationinteract_session - Write/read from sessionsession_run_command - Run command with outputstop_session - Stop a sessioncreate_console - Create a new consoledestroy_console - Destroy a consolewrite_console - Write to consoleread_console - Read console outputconsole_is_busy - Check if console is busyrun_module_output - Execute module and get outputget_framework_version - Get framework versioncore_save - Save core statecore_reload_modules - Reload modulescore_set_global - Set global variablecore_unset_global - Unset global variableget_db_status - Get database statusdb_list_workspaces - List workspacesdb_set_workspace - Set current workspacedb_list_hosts - List hostsdb_list_services - List servicesdb_list_notes - List notesdb_list_creds - List credentialsdb_list_vulns - List vulnerabilitieslist_jobs - List running jobsstop_job - Stop a jobget_job_info - Get job informationlist_plugins - List loaded pluginsload_plugin - Load a pluginunload_plugin - Unload a pluginsearch_modules - Search for modulesget_module_references - Get module referencesmcp-name: io.github.daedalus/mcp-pymetasploit3
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-pymetasploit3)<a href="https://allmcps.com/mcp/mcp-pymetasploit3"><img src="https://allmcps.com/api/badge/mcp-pymetasploit3?style=directory" alt="MCP Pymetasploit3 on AllMCPs" /></a>