metasploitmcp MCP Server

A Model Context Protocol (MCP) server for Metasploit Framework integration.

Local serverstdio

What is the metasploitmcp MCP Server?

metasploitmcp is an MCP project maintained in the fishke22/metasploitmcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for Metasploit Framework integration”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares MSF_PASSWORD. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the metasploitmcp MCP Server

{
  "mcpServers": {
    "metasploit": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\MetasploitMCP",
        "run",
        "MetasploitMCP.py",
        "--transport",
        "stdio"
      ],
      "env": {
        "MSF_PASSWORD": "YOUR_MSF_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MSF_PASSWORDDeclared in the maintainer’s client configuration.Check documentation