mcp-recon-ng
MCP server exposing full recon-ng OSINT framework functionality to LLMs.
mcp-name: io.github.daedalus/mcp-recon-ng
Install
pip install mcp-recon-ng
Requires recon-ng to be installed separately:
pip install recon-ng
Usage
CLI
mcp-recon-ng
MCP Client Configuration
Add to your MCP client config:
{
"mcpServers": {
"recon-ng": {
"command": "mcp-recon-ng",
"env": {}
}
}
}
Available Tools
Workspace Management
workspace_list()- List all workspacesworkspace_create(name)- Create a new workspaceworkspace_switch(name)- Switch to a workspaceworkspace_delete(name)- Delete a workspace
Module Management
module_list(category)- List available modulesmodule_load(module_path)- Load a modulemodule_unload()- Unload current modulemodule_options_list()- List module optionsmodule_options_set(key, value)- Set module optionmodule_run()- Run loaded module
Marketplace
marketplace_search(query)- Search marketplacemarketplace_install(module_path)- Install modulemarketplace_remove(module_path)- Remove module
Database Operations
db_query(table, where)- Query databasedb_insert(table, data)- Insert recorddb_delete(table, where)- Delete records
Utilities
run_command(command)- Execute recon-ng commandget_info()- Get system information
Example
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()
Development
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/