Logo di BugBounty MCP Server

BugBounty MCP Server

Community
gokulapap

Comprehensive MCP server for bug bounty hunting and web application penetration testing

Autoregokulapap
Repositorybugbounty-mcp-server
LinguaPython
Fork
12
Stelle
43
Strumenti disponibili
0
Tipo di trasportostdio, streamable-http
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    BugBounty MCP Server mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    43 stelle e 12 fork nel repository collegato.

BugBounty MCP Server

A production-oriented Model Context Protocol server for authorized bug bounty reconnaissance, bounded security checks, and finding management.

Version 2.2 exposes 53 implemented tools. Every tool has closed input and typed output schemas, server-side bounds, honest MCP annotations, and protocol-level tests. Network operations are scope checked; local analyzers do not open the network. The server uses the current MCP Python SDK v2 API and supports stdio and Streamable HTTP transports.

Use this server only on systems you own or have explicit permission to test. The server enforces configured scope, but authorization remains the operator's responsibility.

What is included

AreaTools
Safety and orchestrationscope_check, batch_scope_check, server_health, assessment_summary
Local analysisdomain_variation_generator, url_parameter_analysis, secret_pattern_analysis, cloud_asset_reference_analysis, cvss_v31_calculator, jwt_security_test, openapi_security_analysis
DNS and asset discoverydns_enumeration, dnssec_posture_analysis, wildcard_dns_analysis, dangling_dns_analysis, email_security_analysis, subdomain_enumeration
HTTP discoveryhttp_probe, batch_http_probe, web_crawler, web_directory_scan, web_metadata_discovery, robots_txt_analysis, sitemap_analysis, javascript_endpoint_discovery, source_map_discovery, favicon_fingerprint
Web and API postureheaders_analysis, csp_analysis, cors_scan, cookie_security_analysis, cache_policy_analysis, sri_analysis, technology_fingerprint, security_txt_analysis, openapi_discovery, oauth_oidc_discovery, graphql_endpoint_discovery, http_method_analysis, sensitive_file_exposure_scan
Network and TLSssl_scan, tls_configuration_analysis, port_scan
Optional integrationsnuclei_scan, subfinder_discovery, amass_passive_discovery, assetfinder_discovery, gau_url_discovery
Findings and reportscreate_finding, add_finding_evidence, list_findings, update_finding, generate_vulnerability_report

The server also exposes MCP-native knowledge and state:

  • Nine bundled guidance resources plus live tool-schema, configuration-schema, assessment-state, finding, and integrity-checked evidence resources.
  • Resource templates for findings and evidence.
  • Five reusable prompts for planning, passive reconnaissance, triage, disclosure, and remediation validation.
  • Argument completion for configured targets, finding IDs, and report audiences.

The server deliberately does not expose simulated scanners, credential dumping, persistence, anti-forensics, social-engineering templates, destructive exploit automation, or payload generators. Tool count never overrides authorization, bounded execution, or truthful results.

Requirements

  • Python 3.10 or newer; Python 3.11+ is recommended.
  • An MCP-compatible client.
  • Nuclei and the four passive bug-bounty CLI adapters are optional and disabled unless explicitly enabled.

Install

bash
git clone https://github.com/gokulapap/bugbounty-mcp-server.git
cd bugbounty-mcp-server
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
cp env.example .env

Set at least one authorized target before using a network tool:

dotenv
SAFE_MODE=true
ALLOWED_TARGETS=example.com,*.example.com

Safe mode is fail-closed. If ALLOWED_TARGETS is empty, network tools reject every target.

Validate the installation:

bash
bugbounty-mcp validate-config
bugbounty-mcp list-tools
bugbounty-mcp list-resources
bugbounty-mcp list-prompts

For development:

bash
python -m pip install -e '.[dev]'
ruff check .
mypy bugbounty_mcp_server
pytest --cov=bugbounty_mcp_server

MCP client configuration

Use the virtual environment's absolute executable path. A generic MCP client configuration looks like this:

json
{
  "mcpServers": {
    "bugbounty": {
      "command": "/absolute/path/bugbounty-mcp-server/.venv/bin/bugbounty-mcp",
      "args": ["serve"],
      "env": {
        "SAFE_MODE": "true",
        "ALLOWED_TARGETS": "example.com,*.example.com"
      }
    }
  }
}

The default transport is stdio. Nothing except MCP protocol messages is written to stdout; logs go to stderr.

Target scope

Scope entries are comma-separated and matched after canonicalization:

dotenv
# The apex only
ALLOWED_TARGETS=example.com

# Subdomains only; does not include the apex
ALLOWED_TARGETS=*.example.com

# Both apex and subdomains
ALLOWED_TARGETS=example.com,*.example.com

# An internal lab requires both the CIDR and explicit private-target opt-in
ALLOWED_TARGETS=10.20.0.0/16
ALLOW_PRIVATE_TARGETS=true

# Block rules win over allow rules
BLOCKED_TARGETS=admin.example.com

Safety behavior:

  • Exact domains do not match lookalikes or subdomains.
  • *.example.com matches child labels but not example.com itself.
  • CIDR rules match IP targets.
  • Block rules take precedence.
  • Credentials embedded in URLs and non-HTTP URL schemes are rejected.
  • Redirect destinations are re-authorized before they are followed.
  • Public domain names resolving to private, loopback, link-local, reserved, or multicast addresses are rejected unless private targets are explicitly enabled.
  • Port count, concurrency, body size, redirect count, crawl depth, pages, paths, runtime, and MCP output all have server-side limits.

Configuration

Configuration priority is: defaults, optional JSON/YAML file, then environment variables.

bash
bugbounty-mcp --config config.yaml serve
bugbounty-mcp export-config --format yaml --output config.yaml

Important settings:

VariableDefaultPurpose
SAFE_MODEtrueRequire allow-list matching
ALLOWED_TARGETSemptyAuthorized exact domains, wildcards, IPs, or CIDRs
BLOCKED_TARGETSemptyExplicitly denied targets
ALLOW_PRIVATE_TARGETSfalsePermit non-public IP space for a controlled lab
REQUESTS_PER_SECOND5Shared outbound pacing
DEFAULT_TIMEOUT15HTTP operation timeout in seconds
CONNECT_TIMEOUT2TCP connect timeout in seconds
TOOL_TIMEOUT300Whole MCP tool-call timeout
MAX_CONCURRENT_SCANS30Concurrency cap
MAX_PORTS_PER_SCAN1024TCP port cap per call
MAX_CRAWL_DEPTH2Crawler depth cap
MAX_PAGES_TO_CRAWL30Crawler page cap
MAX_LINKS_PER_PAGE1000Per-page crawler link inventory cap
MAX_FORMS_PER_PAGE200Per-page crawler form inventory cap
MAX_EVIDENCE_BYTES500000Per-artifact evidence limit
DATA_DIRdataFinding store directory
OUTPUT_DIRoutputReport directory
HTTP_BEARER_TOKENemptyOptional Streamable HTTP bearer token, minimum 24 characters
ENABLE_NUCLEIfalseEnable the optional Nuclei adapter
NUCLEI_PATHnucleiNuclei executable name or path
ENABLED_EXTERNAL_TOOLSemptyComma-separated opt-in: subfinder,amass,assetfinder,gau
SUBFINDER_PATHsubfinderSubfinder executable name or path
AMASS_PATHamassAmass executable name or path
ASSETFINDER_PATHassetfinderAssetfinder executable name or path
GAU_PATHgaugau executable name or path

See env.example for the full environment template.

Tool behavior

All tools have closed JSON Schemas (additionalProperties: false). Invalid input, unknown tools, scope violations, disabled dependencies, timeouts, output limits, and internal incidents return MCP CallToolResult objects with isError: true and a structured error:

json
{
  "error": {
    "code": "target_not_allowed",
    "message": "target is outside ALLOWED_TARGETS"
  }
}

Successful tools return both human-readable JSON text and structuredContent.

Nuclei

Nuclei execution must be enabled by the operator:

dotenv
ENABLE_NUCLEI=true
NUCLEI_PATH=nuclei

The adapter passes an argv list without a shell, validates severities and tags, restricts the target to scope, enforces a timeout and output bound, and returns a normalized finding subset. You are still responsible for reviewing installed templates and their request behavior.

Passive bug-bounty CLI adapters

Subfinder, Amass passive mode, Assetfinder, and gau are separately installed operator tools. Enable only the binaries you have reviewed:

dotenv
ENABLED_EXTERNAL_TOOLS=subfinder,amass,assetfinder,gau
SUBFINDER_PATH=subfinder
AMASS_PATH=amass
ASSETFINDER_PATH=assetfinder
GAU_PATH=gau

The adapters use argv-only subprocess execution, time and output limits, and discard results that do not revalidate against ALLOWED_TARGETS. No external binary is downloaded by this project or enabled by default. Passive providers can still receive the queried domain, so review their terms and the applicable bounty program rules.

Findings and reports

Findings are stored atomically in DATA_DIR/findings.json. Structured fields include confidence, impact, reproduction steps, CWE, CVSS score, tags, and source-tool attribution. Evidence artifacts are private, size-bounded, content-addressed with SHA-256, and checked for tampering when read. Reports are generated in JSON, Markdown, escaped standalone HTML, or SARIF 2.1.0 under OUTPUT_DIR. Report filenames are generated by the server; tool callers cannot choose arbitrary destinations.

Streamable HTTP

Local HTTP mode:

bash
bugbounty-mcp serve --transport streamable-http --host 127.0.0.1 --port 8000

The CLI refuses a non-loopback bind unless --allow-remote is present. Set a random token of at least 24 characters to require constant-time bearer authentication:

dotenv
HTTP_BEARER_TOKEN=replace-with-a-long-random-secret

Send it as Authorization: Bearer <token>. Bearer tokens do not provide encryption, so remote use still requires TLS, network policy, and request logging that does not record credentials. For multi-user or internet-facing deployments, prefer an OAuth-capable authenticating reverse proxy.

Docker

The image intentionally contains the Python server only. It does not download unpinned offensive tools during the build.

bash
docker compose up --build

Compose binds the Streamable HTTP endpoint to host loopback at http://127.0.0.1:3001/mcp and mounts data/ and output/. Configure ALLOWED_TARGETS in your local .env first.

For stdio from a container:

bash
docker run --rm -i \
  -e SAFE_MODE=true \
  -e ALLOWED_TARGETS=example.com,*.example.com \
  bugbounty-mcp:2.2.0 serve

Design notes

  • MCP SDK v2 low-level handlers preserve exact schemas and structured error/result control.
  • Capabilities are derived from registered handlers instead of being manually over-advertised.
  • Configuration construction has no directory or logging side effects; server startup owns them.
  • Secrets are never included in health output or tool-call logs.
  • Subprocesses use argv execution, a closed stdin, bounded captured output, and process-group cleanup on timeout.
  • Validated DNS answers are pinned into HTTP, TCP, and TLS connections to prevent rebinding between authorization and connection establishment.
  • The local finding store is suitable for a single server process. Use an external transactional store if multiple replicas must write concurrently.

Further resources:

License

MIT. See LICENSE.

Installazione

TypingMind
{
  "mcpServers": {
    "bugbounty-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "SAFE_MODE=true",
        "-e",
        "ALLOWED_TARGETS=example.com,*.example.com",
        "bugbounty-mcp:2.0.0",
        "serve"
      ],
      "env": {
        "SAFE_MODE": "<SAFE_MODE>",
        "ALLOWED_TARGETS": "<ALLOWED_TARGETS>"
      }
    }
  }
}

Usa MCP BugBounty MCP Server con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso BugBounty MCP Server, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Puoi eseguire MCP localmente sul tuo dispositivo o connetterti all'URL di un server MCP remoto.

Opzione 1: usa il connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi BugBounty MCP Server come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di BugBounty MCP Server.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "bugbounty-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di BugBounty MCP Server, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di BugBounty MCP Server.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare BugBounty MCP Server per aiutarmi con questa attività?
BugBounty MCP Server
Certo. Ho letto.
Ecco cosa ho trovato con BugBounty MCP Server.

Opzione 2: aggiungi l'URL di un server MCP

Usa questo metodo se BugBounty MCP Server è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci l'URL del server MCP fornito dal provider nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla l'URL del server MCP fornito dal provider nel campo URL del server.
  2. Inserisci un nome per la connessione a BugBounty MCP Server.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione BugBounty MCP Server risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di BugBounty MCP Server dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di BugBounty MCP Server dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare BugBounty MCP Server per aiutarmi con questa attività?
BugBounty MCP Server
Certo. Ho letto.
Ecco cosa ho trovato con BugBounty MCP Server.

Domande frequenti

A cosa serve il server MCP BugBounty MCP Server?

BugBounty MCP Server è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare BugBounty MCP Server MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare BugBounty MCP Server con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP BugBounty MCP Server con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando BugBounty MCP Server, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego BugBounty MCP Server MCP a TypingMind?

Puoi collegare BugBounty MCP Server a TypingMind con il connettore MCP locale oppure aggiungendo l'URL di un server MCP remoto. Usa il connettore locale quando il server deve accedere a file, app o risorse private sul tuo dispositivo; usa invece l'URL del server quando il server MCP è ospitato in remoto.

Quali strumenti offre BugBounty MCP Server MCP in TypingMind?

BugBounty MCP Server mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare BugBounty MCP Server MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se BugBounty MCP Server richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇