Skip to main content
Glama
mcp-recon-ng

mcp-recon-ng

by daedalus

mcp-recon-ng

MCP 服务器,向 LLM 暴露完整的 recon-ng OSINT 框架功能。

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-recon-ng

安装

pip install mcp-recon-ng

需要单独安装 recon-ng:

pip install recon-ng

Related MCP server: Metasploit MCP Server

用法

命令行

mcp-recon-ng

MCP 客户端配置

添加到你的 MCP 客户端配置:

{
  "mcpServers": {
    "recon-ng": {
      "command": "mcp-recon-ng",
      "env": {}
    }
  }
}

可用工具

工作区管理

  • workspace_list() - 列出所有工作区

  • workspace_create(name) - 创建新工作区

  • workspace_switch(name) - 切换工作区

  • workspace_delete(name) - 删除工作区

模块管理

  • module_list(category) - 列出可用模块

  • module_load(module_path) - 加载模块

  • module_unload() - 卸载当前模块

  • module_options_list() - 列出模块选项

  • module_options_set(key, value) - 设置模块选项

  • module_run() - 运行已加载的模块

市场

  • marketplace_search(query) - 搜索市场

  • marketplace_install(module_path) - 安装模块

  • marketplace_remove(module_path) - 移除模块

数据库操作

  • db_query(table, where) - 查询数据库

  • db_insert(table, data) - 插入记录

  • db_delete(table, where) - 删除记录

工具

  • run_command(command) - 执行 recon-ng 命令

  • get_info() - 获取系统信息

示例

from mcp_recon_ng import workspace_create, module_load, module_run

# Create a new workspace
workspace_create("osint_project")

# Load a module
module_load("recon/domains-whois/whois_miner")

# Set module options
module_options_set("SOURCE", "example.com")

# Run the module
result = module_run()

开发

git clone https://github.com/daedalus/mcp-recon-ng.git
cd mcp-recon-ng
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to perform reconnaissance tasks using the reconFTW framework, supporting full, passive, subdomain, vulnerability, and OSINT scans through MCP tools.
    21
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI-driven open-source intelligence investigations by exposing 30 tools for scanning emails, usernames, domains, IPs, and more, with real subprocess execution.
    31
    43 PyPI
    11
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients and local LLMs to run subdomain enumeration, DNS resolution, liveness checks, vulnerability scanning, and takeover detection using wrapped recon tools with Python fallbacks. Supports saving and listing previous scan results through a local, keyless server.
    4
    MIT