Skip to main content
Glama
SlanyCukr

Bug Bounty MCP Server

by SlanyCukr

subfinder_scan

Discover subdomains of a target domain using passive enumeration techniques to enhance reconnaissance and security assessment workflows.

Instructions

Execute Subfinder for passive subdomain enumeration with enhanced logging.

Args: domain: Target domain silent: Run in silent mode all_sources: Use all sources additional_args: Additional Subfinder arguments

Returns: Passive subdomain enumeration results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
additional_argsNo
all_sourcesNo
domainYes
silentNo

Implementation Reference

  • The handler function for the 'subfinder_scan' MCP tool. It collects parameters, sends a POST request to the backend API endpoint '/api/subfinder', and returns the results with logging.
    @mcp.tool()
    def subfinder_scan(
        domain: str,
        silent: bool = True,
        all_sources: bool = False,
        additional_args: str = "",
    ) -> dict[str, Any]:
        """Execute Subfinder for passive subdomain enumeration with enhanced logging.
    
        Args:
            domain: Target domain
            silent: Run in silent mode
            all_sources: Use all sources
            additional_args: Additional Subfinder arguments
    
        Returns:
            Passive subdomain enumeration results
        """
        data = {
            "domain": domain,
            "silent": silent,
            "all_sources": all_sources,
            "additional_args": additional_args,
        }
    
        logger.info(f"๐Ÿ” Starting Subfinder passive enumeration for {domain}")
        result = api_client.safe_post("api/subfinder", data)
    
        if result.get("success"):
            logger.info(f"โœ… Subfinder enumeration completed for {domain}")
        else:
            logger.error("โŒ Subfinder enumeration failed")
    
        return result

Latest Blog Posts

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/SlanyCukr/bugbounty-mcp-server'

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