Skip to main content
Glama

Vibehacker Metasploit MCP

by foolsec

Vibehacker Metasploit MCP

Metasploit Framework 的基于 FastMCP 的接口,使 AI 代理能够与 Metasploit 功能进行交互。

先决条件

  • Python 3.10+
  • Metasploit框架
  • uv(Python 包管理器)

使用 uv 设置

该项目使用uv进行依赖管理。uv 是一个快速、可靠的 Python 包安装程序和解析器。

安装 uv

如果您没有安装 uv:

pip install uv

设置项目

  1. 克隆存储库:
git clone https://github.com/foolsec/vibehacker_metasploit_mcp.git cd vibehacker_metasploit_mcp
  1. 使用 uv 创建并激活虚拟环境:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
  1. 安装依赖项:
uv pip install -e .

运行 Metasploit RPC 服务器

在运行应用程序之前,启动 Metasploit RPC 服务器:

# Full configuration with all options msfrpcd -P kalipassword -S -a 127.0.0.1 -p 55553

或者使用更简单的命令在默认端口(55553)上在后台启动 RPC 服务器:

msfrpcd -P your_password

环境变量

设置以下环境变量:

export MSF_PASSWORD=kalipassword export MSF_SERVER=127.0.0.1 export MSF_PORT=55553

运行应用程序

python main.py

或测试工具

mcp dev main.py

特征

  • 列出可用的 Metasploit 漏洞
  • 列出可用的有效载荷
  • 生成有效载荷
  • 针对目标运行漏洞利用程序
  • 扫描目标
  • 管理活动会话
  • 向会话发送命令

执照

有关详细信息,请参阅LICENSE文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Metasploit 框架的基于 FastMCP 的接口,使 AI 代理能够与 Metasploit 功能进行交互以进行利用、有效载荷生成、目标扫描和会话管理。

  1. 先决条件
    1. 使用 uv 设置
      1. 安装 uv
      2. 设置项目
      3. 运行 Metasploit RPC 服务器
      4. 环境变量
      5. 运行应用程序
    2. 特征
      1. 执照

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          MCP server enabling AI agents to programmatically connect to and control Apache Superset instances, allowing users to manage dashboards, charts, databases, datasets, and run SQL queries through natural language interactions.
          Last updated -
          20
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP server that extends AI agents' context window by providing tools to store, retrieve, and search memories, allowing agents to maintain history and context across long interactions.
          Last updated -
          5
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP-compliant server that enables AI systems to interact with mobile and desktop applications through Frida's dynamic instrumentation capabilities, allowing for process management, device control, JavaScript execution, and script injection.
          Last updated -
          62
          Python
          MIT License
          • Linux
          • Apple
        • -
          security
          -
          license
          -
          quality
          A modular dynamic API server based on the MCP protocol that provides rich tool capabilities for AI assistants while significantly reducing prompt token consumption.
          Last updated -
          TypeScript

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/foolsec/vibehacker_metasploit_mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server