BugBounty MCP Server
Offers dedicated Drupal CMS security scanning capabilities, including module analysis, vulnerability detection, and configuration security assessment
Provides reconnaissance capabilities for code repository analysis, including searching for repositories that mention target domains and analyzing source code for sensitive information during security assessments
Enables automated Google dorking for security reconnaissance, allowing systematic search engine queries to discover exposed information, files, and potential vulnerabilities on target domains
Provides specialized security testing tools for GraphQL APIs, including query analysis, schema introspection, and GraphQL-specific vulnerability detection
Enables comprehensive Joomla CMS security testing with specialized tools for component analysis, vulnerability scanning, and security configuration review
Integrates threat intelligence capabilities for analyzing domains, URLs, and files during security assessments, providing malware detection and reputation scoring for discovered assets
Provides specialized CMS scanning tools for WordPress security analysis, including vulnerability detection, plugin enumeration, and configuration assessment
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BugBounty MCP Server scan example.com for open ports and services"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Area | Tools |
Safety and orchestration |
|
Local analysis |
|
DNS and asset discovery |
|
HTTP discovery |
|
Web and API posture |
|
Network and TLS |
|
Optional integrations |
|
Findings and reports |
|
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.
Related MCP server: Bug Bounty MCP Server
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
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 .envSet at least one authorized target before using a network tool:
SAFE_MODE=true
ALLOWED_TARGETS=example.com,*.example.comSafe mode is fail-closed. If ALLOWED_TARGETS is empty, network tools reject every target.
Validate the installation:
bugbounty-mcp validate-config
bugbounty-mcp list-tools
bugbounty-mcp list-resources
bugbounty-mcp list-promptsFor development:
python -m pip install -e '.[dev]'
ruff check .
mypy bugbounty_mcp_server
pytest --cov=bugbounty_mcp_serverMCP client configuration
Use the virtual environment's absolute executable path. A generic MCP client configuration looks like this:
{
"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:
# 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.comSafety behavior:
Exact domains do not match lookalikes or subdomains.
*.example.commatches child labels but notexample.comitself.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.
bugbounty-mcp --config config.yaml serve
bugbounty-mcp export-config --format yaml --output config.yamlImportant settings:
Variable | Default | Purpose |
|
| Require allow-list matching |
| empty | Authorized exact domains, wildcards, IPs, or CIDRs |
| empty | Explicitly denied targets |
|
| Permit non-public IP space for a controlled lab |
|
| Shared outbound pacing |
|
| HTTP operation timeout in seconds |
|
| TCP connect timeout in seconds |
|
| Whole MCP tool-call timeout |
|
| Concurrency cap |
|
| TCP port cap per call |
|
| Crawler depth cap |
|
| Crawler page cap |
|
| Per-page crawler link inventory cap |
|
| Per-page crawler form inventory cap |
|
| Per-artifact evidence limit |
|
| Finding store directory |
|
| Report directory |
| empty | Optional Streamable HTTP bearer token, minimum 24 characters |
|
| Enable the optional Nuclei adapter |
|
| Nuclei executable name or path |
| empty | Comma-separated opt-in: |
|
| Subfinder executable name or path |
|
| Amass executable name or path |
|
| Assetfinder executable name or path |
|
| gau 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:
{
"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:
ENABLE_NUCLEI=true
NUCLEI_PATH=nucleiThe 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:
ENABLED_EXTERNAL_TOOLS=subfinder,amass,assetfinder,gau
SUBFINDER_PATH=subfinder
AMASS_PATH=amass
ASSETFINDER_PATH=assetfinder
GAU_PATH=gauThe 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:
bugbounty-mcp serve --transport streamable-http --host 127.0.0.1 --port 8000The 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:
HTTP_BEARER_TOKEN=replace-with-a-long-random-secretSend 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.
docker compose up --buildCompose 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:
docker run --rm -i \
-e SAFE_MODE=true \
-e ALLOWED_TARGETS=example.com,*.example.com \
bugbounty-mcp:2.2.0 serveDesign 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.
Available Tools
53 toolsadd_finding_evidenceAttach finding evidenceC
Store a private, hashed text evidence artifact and link it to a finding.
Inputs: label (required), content (required), finding_id (required), media_type. Returns: evidence
amass_passive_discoveryRun passive Amass discoveryBRead-onlyIdempotent
Run the explicitly enabled Amass passive enumeration mode and retain only in-scope subdomains.
Inputs: domain (required). Returns: count, domain, subdomains
assessment_summarySummarize assessment stateARead-onlyIdempotent
Summarize finding severity/status, targets, scope readiness, and runtime metrics.
Inputs: no named parameters. Returns: scope, runtime, findings
assetfinder_discoveryRun Assetfinder discoveryBRead-onlyIdempotent
Run the explicitly enabled Assetfinder binary and retain only in-scope subdomains.
Inputs: domain (required). Returns: count, domain, subdomains
batch_http_probeProbe multiple HTTP endpointsARead-onlyIdempotent
Fetch metadata for up to 20 authorized HTTP(S) URLs with bounded concurrency and per-target errors.
Inputs: urls (required), follow_redirects. Returns: count, errors, results
batch_scope_checkCheck multiple targetsCRead-onlyIdempotent
Canonicalize and evaluate up to 100 targets without network activity.
Inputs: targets (required). Returns: total, denied, allowed, decisions
cache_policy_analysisAnalyze HTTP cache policyARead-onlyIdempotent
Assess Cache-Control, Vary, validators, CDN signals, and sensitive-path caching on one authorized response.
Inputs: url (required). Returns: url, findings, cacheable
cloud_asset_reference_analysisExtract cloud asset referencesARead-onlyIdempotent
Extract AWS S3, Google Cloud Storage, Azure Blob, and Firebase references from supplied text without accessing them.
Inputs: content (required). Returns: references, by_provider, reference_count
cookie_security_analysisAudit response cookiesARead-onlyIdempotent
Inspect Set-Cookie attributes without sending authentication material.
Inputs: url (required). Returns: url, cookies, cookie_count
cors_scanAudit CORS behaviorCRead-onlyIdempotent
Send bounded cross-origin probes and identify permissive CORS responses.
Inputs: url (required), origins. Returns: url, tests, findings
create_findingCreate a findingC
Persist a structured security finding in the local finding store.
Inputs: title (required), target (required), severity (required), description (required), +10 more. Returns: finding
csp_analysisAnalyze Content Security PolicyARead-onlyIdempotent
Fetch an authorized endpoint and assess CSP directives for unsafe, missing, duplicate, and deprecated controls.
Inputs: url (required). Returns: url, present, findings
cvss_v31_calculatorCalculate CVSS v3.1ARead-onlyIdempotent
Validate a CVSS v3.1 base vector and calculate its score, rating, impact, and exploitability locally.
Inputs: vector (required). Returns: rating, vector, base_score
dangling_dns_analysisInspect dangling DNS aliasesARead-onlyIdempotent
Inspect CNAME targets and report unresolved aliases as takeover indicators requiring manual verification.
Inputs: domain (required). Returns: domain, dangling, cname_records
dns_enumerationEnumerate DNS recordsBRead-onlyIdempotent
Resolve selected DNS record types for one authorized domain.
Inputs: domain (required), record_types. Returns: target, records, queried_at
dnssec_posture_analysisInspect DNSSEC postureARead-onlyIdempotent
Inspect DNSKEY, DS, and RRSIG publication for an authorized domain without claiming full resolver validation.
Inputs: domain (required). Returns: domain, signed, records
domain_variation_generatorGenerate domain variationsARead-onlyIdempotent
Generate a bounded typo-oriented candidate list for one authorized domain without resolving or contacting any candidate.
Inputs: domain (required), maximum. Returns: count, domain, variants
email_security_analysisAudit email-domain securityARead-onlyIdempotent
Inspect MX, SPF, DMARC, MTA-STS, and SMTP TLS reporting records for an authorized domain.
Inputs: domain (required). Returns: domain, records, findings, finding_count
favicon_fingerprintFingerprint a faviconARead-onlyIdempotent
Fetch a discovered or conventional same-scope favicon and return stable hashes and metadata, never image bytes.
Inputs: url (required). Returns: url, found, attempts
gau_url_discoveryRun gau URL discoveryBRead-onlyIdempotent
Run the explicitly enabled gau archive discovery binary and retain only authorized HTTP(S) URLs.
Inputs: domain (required), providers. Returns: urls, count, domain
generate_vulnerability_reportGenerate a vulnerability reportB
Export current findings as JSON, Markdown, escaped HTML, or SARIF 2.1.0.
Inputs: target, report_format. Returns: path, findings, total_findings
graphql_endpoint_discoveryDiscover GraphQL endpointsARead-onlyIdempotent
Send bounded read-only __typename probes to conventional or supplied same-origin paths; optional introspection checks remain read-only.
Inputs: url (required), paths, check_introspection. Returns: origin, endpoints, endpoint_count
headers_analysisAudit HTTP security headersBRead-onlyIdempotent
Analyze security and disclosure headers on one authorized HTTP endpoint.
Inputs: url (required). Returns: url, score, status
http_method_analysisAnalyze advertised HTTP methodsARead-onlyIdempotent
Send one OPTIONS request and assess advertised methods without attempting state-changing methods.
Inputs: url (required). Returns: url, status, allowed_methods
http_probeProbe an HTTP endpointARead-onlyIdempotent
Fetch one authorized URL with bounded redirects/body size and return metadata, not body data.
Inputs: url (required), method, follow_redirects. Returns: status, final_url, requested_url
javascript_endpoint_discoveryDiscover JavaScript endpointsARead-onlyIdempotent
Inspect one authorized page or script plus a bounded set of same-scope scripts for literal URL and path references.
Inputs: url (required), max_scripts. Returns: url, endpoints, endpoint_count
jwt_security_testAnalyze a JWTARead-onlyIdempotent
Decode JWT metadata locally and flag unsafe algorithms or claim timing; does not verify a signature.
Inputs: jwt_token (required). Returns: header, payload, findings
list_findingsList findingsBRead-onlyIdempotent
List locally persisted findings with optional filters.
Inputs: status, target, severity. Returns: count, findings
nuclei_scanRun NucleiBRead-onlyIdempotent
Run the locally installed Nuclei scanner against one authorized target when explicitly enabled.
Inputs: target (required), tags, severity. Returns: target, findings, finding_count
oauth_oidc_discoveryDiscover OAuth and OpenID Connect metadataARead-onlyIdempotent
Probe conventional same-origin discovery documents and summarize endpoints, grants, response types, and PKCE support.
Inputs: url (required). Returns: origin, documents, document_count
openapi_discoveryDiscover OpenAPI descriptionsBRead-onlyIdempotent
Probe a bounded list of conventional paths and summarize OpenAPI/Swagger documents without returning their full contents.
Inputs: url (required), paths. Returns: attempts, documents, document_count
openapi_security_analysisAnalyze an OpenAPI documentARead-onlyIdempotent
Analyze supplied JSON or alias-free YAML for operations, authentication coverage, deprecated endpoints, and security signals.
Inputs: document (required), document_format. Returns: findings, format_version, operation_count
port_scanScan TCP portsBRead-onlyIdempotent
Perform a bounded TCP connect scan against one authorized host.
Inputs: target (required), ports. Returns: target, open_ports, ports_scanned
robots_txt_analysisAnalyze robots.txtARead-onlyIdempotent
Fetch and summarize the RFC 9309 robots.txt file for an authorized origin without crawling disclosed paths.
Inputs: url (required). Returns: url, groups, present
scope_checkCheck target scopeBRead-onlyIdempotent
Validate and explain whether a target is authorized; performs no network request.
Inputs: target (required). Returns: reason, allowed
secret_pattern_analysisDetect exposed secret patternsARead-onlyIdempotent
Inspect supplied text locally for common credential formats and return only redacted fingerprints and locations.
Inputs: content (required). Returns: matches, match_count, values_redacted
security_txt_analysisAudit security.txtBRead-onlyIdempotent
Discover and validate RFC 9116 security.txt metadata on an authorized origin.
Inputs: url (required). Returns: origin, present, findings
sensitive_file_exposure_scanCheck sensitive file exposureBRead-onlyIdempotent
Issue HEAD requests for a small curated set of high-risk paths and report candidates without reading their contents.
Inputs: url (required), paths. Returns: origin, results, finding_count
server_healthInspect server healthARead-onlyIdempotent
Report safe configuration and optional dependency status without exposing secrets.
Inputs: no named parameters. Returns: tools, status, version
sitemap_analysisAnalyze a sitemapBRead-onlyIdempotent
Fetch a same-origin sitemap, inventory bounded URLs, and distinguish authorized from external entries.
Inputs: url (required), sitemap_path. Returns: url, urls, present
source_map_discoveryDiscover JavaScript source mapsARead-onlyIdempotent
Inspect a bounded set of authorized JavaScript files for sourceMappingURL references and check map availability without returning map contents.
Inputs: url (required), max_scripts. Returns: url, count, source_maps
sri_analysisAnalyze Subresource IntegrityBRead-onlyIdempotent
Inventory external script and stylesheet resources and measure Subresource Integrity coverage.
Inputs: url (required). Returns: url, resources, coverage_percent
ssl_scanInspect a TLS certificateBRead-onlyIdempotent
Inspect certificate identity, validity, protocol, cipher, and trust for an authorized host.
Inputs: target (required), port. Returns: port, target, trusted_for_host
subdomain_enumerationEnumerate subdomainsBRead-onlyIdempotent
Query certificate-transparency logs and optionally resolve a bounded candidate list.
Inputs: domain (required), active, candidates. Returns: count, domain, subdomains
subfinder_discoveryRun passive Subfinder discoveryBRead-onlyIdempotent
Run the explicitly enabled Subfinder binary for one authorized domain and retain only in-scope subdomains.
Inputs: domain (required). Returns: count, domain, subdomains
technology_fingerprintFingerprint web technologiesBRead-onlyIdempotent
Fingerprint likely frameworks, platforms, servers, and generators using bounded response evidence.
Inputs: url (required). Returns: url, evidence, technologies
tls_configuration_analysisAnalyze TLS protocol supportBRead-onlyIdempotent
Test TLS 1.0 through 1.3 support against scope-pinned addresses and identify obsolete protocols.
Inputs: target (required), port. Returns: port, target, protocols
update_findingUpdate a findingB
Update status, remediation, and audit history for a local finding.
Inputs: status (required), finding_id (required), note, remediation. Returns: finding
url_parameter_analysisAnalyze URL parametersARead-onlyIdempotent
Classify security-relevant query parameters locally while hashing, rather than returning, their values.
Inputs: url (required). Returns: url, parameters, parameter_count
web_crawlerCrawl a websiteBRead-onlyIdempotent
Crawl a bounded number of same-host HTML pages and inventory links and forms.
Inputs: url (required), max_depth, max_pages. Returns: pages, limits, page_count
web_directory_scanDiscover common web pathsBRead-onlyIdempotent
Probe a bounded path list on one authorized web origin.
Inputs: url (required), paths. Returns: results, requests
web_metadata_discoveryDiscover web metadataCRead-onlyIdempotent
Probe a bounded set of standardized and conventional metadata paths on an authorized origin.
Inputs: url (required), paths. Returns: origin, results, found_count
wildcard_dns_analysisDetect wildcard DNSARead-onlyIdempotent
Resolve up to five random, authorized labels beneath a domain to identify wildcard DNS behavior.
Inputs: domain (required), probe_count. Returns: domain, probes, wildcard_detected
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 53 tools
Most tools target a clearly distinct security check, and descriptions carefully separate actions like http_probe vs batch_http_probe or csp_analysis vs headers_analysis. However, several clusters overlap in purpose—subdomain_enumeration/subfinder/amass/assetfinder all discover subdomains, while web_directory_scan/sensitive_file_exposure_scan/web_metadata_discovery/openapi_discovery all probe paths—so some misselection is possible.
All tools use snake_case with descriptive, domain-specific names, and CRUD tools follow a verb_noun pattern. Suffix conventions vary (_analysis, _scan, _discovery, _enumeration, _probe), but there is no casing or style mixing, so names remain predictable.
53 tools far exceeds the practical 3–15 range and clearly passes the 50+ extreme threshold. While many tools are individually distinct security checks, the sheer number burdens tool selection and increases overlap in an agent-facing MCP server.
The surface covers scope validation, broad reconnaissance (DNS, subdomains, ports, web paths), specialized analyses, external scanners, and a finding/reporting lifecycle. Minor gaps include no delete_finding and no manual HTTP request, fuzzing, or exploitation tool, but core bug-bounty workflows are well supported.
Maintenance
Related MCP Connectors
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Governed security assessments, findings and signed reports for your domains, from your AI agent.
Authorized security scans, evidence, fix prompts and retests for AI-built web apps.
Hunt zero-days by talking to binaries. 40+ tools. Hosted, OAuth + SSO, invite: hi@byteray.ai
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAI-powered cybersecurity automation platform with 150+ security tools and 12+ autonomous AI agents for penetration testing, vulnerability assessment, and bug bounty hunting. Enables comprehensive security testing through intelligent tool selection and automated workflows.3-
- AlicenseCqualityDmaintenanceEnables AI agents to generate and manage specialized bug bounty hunting workflows including reconnaissance, vulnerability testing, OSINT gathering, and file upload testing. Provides REST API endpoints for comprehensive security assessments with intelligence-driven vulnerability prioritization.402MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform authorized security testing and penetration testing operations including SSL/TLS analysis, port scanning, vulnerability scanning, and HTTP security header audits through natural language interactions.1MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates 7 security tools (nmap, nuclei, dirsearch, sqlmap, hydra, Acunetix, Metasploit) via MCP protocol for AI-assisted penetration testing with enterprise-grade safety features.1MIT
Appeared in Searches
- A tool for assisting with bug bounty hunting
- Obfuscated string with gethostbyname and bxss.me domain
- A search for a string containing SQL injection and XSS payload characters
- A server for finding bug bounty programs and cybersecurity vulnerability rewards
- A server for penetration testing resources and information