MCP Servers / development / Metasploit MCP Server

Metasploit MCP Server

JSON →
stdiononedevelopment

An MCP server for integrating with the Metasploit Framework. Requires Metasploit Framework to be installed and msfrpcd to be running.

Install
How to run this server
[ { "cmd": "pip install -r", "imports": [] } ]
server path: metasploit-mcp-server
Tools
What this server exposes
list_exploits
Search and list available Metasploit exploit modules
list_payloads
Search and list available Metasploit payload modules with optional platform and architecture filtering
run_exploit
Configure and execute an exploit against a target with options to run checks first
run_auxiliary_module
Run any Metasploit auxiliary module with custom options
run_post_module
Execute post-exploitation modules against existing sessions
generate_payload
Generate payload files using Metasploit RPC (saves files locally)
list_active_sessions
Show current Metasploit sessions with detailed information
send_session_command
Run a command in an active shell or Meterpreter session
terminate_session
Forcefully end an active session
list_listeners
Show all active handlers and background jobs
start_listener
Create a new multi/handler to receive connections
stop_job
Terminate any running job or handler
Configuration
Environment & auth
authnone
Resources
Metasploit MCP Server — MCP Server · libregistry