Skip to Content
IntegrationsMCP Server

Detectify MCP Server

Closed beta — access required. The Detectify MCP Server is available to selected customers during a closed beta. You must have access enabled for your team before you can connect: contact your Detectify representative to request access. Until access is granted, the setup steps below will not let you authenticate. If you run into problems or need a configuration change for your setup, contact your Detectify representative.

The Detectify MCP Server is a remote Model Context Protocol  server that exposes your Detectify data to AI coding agents and other MCP clients. Once connected, an agent can query your attack surface, assets, vulnerabilities, scan profiles, and compliance data directly through a set of read-only tools — for example, “list the most severe assets in my team” or “show the evidence for this finding”.

Access is authenticated per team with OAuth 2.1 + PKCE. You log in through your browser and pick the team the agent acts on behalf of.

Environment

  • Server URL: https://mcp.detectify.com/mcp
  • Public client ID: 5aaebbc4-eeca-4ede-a03e-682a495082f6

The server uses the Streamable HTTP transport. The client ID is a public OAuth client shared across every supported harness — there is no client secret.

Client setup

Before you start, confirm your Detectify representative has enabled MCP Server access for your team. Without it, the OAuth login will fail no matter which client you use.

Adding the server takes two steps: register it with your MCP client, then complete the OAuth login. The registration step differs per client, but the authentication step is the same OAuth 2.1 + PKCE flow in every case. Select your client below.

1. Register the server

claude mcp add --transport http detectify \ https://mcp.detectify.com/mcp \ --callback-port 54321 \ --client-id=5aaebbc4-eeca-4ede-a03e-682a495082f6

2. Authenticate

Inside a Claude Code session run /mcp, pick detectify from the list, and choose Authenticate. Claude Code opens a browser where you log in to Detectify, consent, and pick your team.

Verify with /mcp — the server should show as connected.

Troubleshooting

  • You only see a login page at https://detectify.com/oauth2/consent?consent_challenge=XYZ… — do a hard reload of the /oauth2 page (⇧⌘R).
  • Browser never opens / callback times out — confirm nothing else is bound to the loopback port the agent uses (54321 for Claude Code, Codex, Copilot CLI, and OpenCode). Because these share port 54321, don’t run two OAuth flows at the same time.
  • Codex login hangs after clicking Allow — you likely clicked the first of two authorization URLs Codex printed. Confirm scopes is set on the detectify entry in ~/.codex/config.toml so only one URL is printed, then re-run codex mcp login detectify.
  • Copilot CLI callback times out — check the browser’s authorize URL shows redirect_uri=http://127.0.0.1:54321/. A random port means auth.redirectPort wasn’t applied (config not saved, or the field dropped in a newer Copilot build). If a previous attempt cached a bad redirect, clear ~/.copilot/mcp-oauth-config/ and retry.
  • Cursor rejects the request with invalid_scope — the auth.scopes field is missing from the detectify entry in ~/.cursor/mcp.json.

Available tools

The server exposes read-only tools grouped by area.

Team and account

ToolWhat it’s for
get_current_teamWhich Detectify team you’re acting as (name and team token).
list_usersTeam members with their role and last-login time.

Asset inventory

ToolWhat it’s for
list_assetsFlat list of assets (domains, IPs, ranges); scope to all, roots only, subassets only, or one root’s subassets.
list_monitored_assetsAssets with per-asset surface aggregates (IPs, countries, ASNs, ports, technologies).
get_asset_detailsFull drill-down on one asset (surface state, named IPs, ports, DNS, technologies).
list_asset_classificationsWhat kind of thing each asset is (web app, API, redirect, 4xx/5xx) and which scanners cover it.
list_most_severe_assetsAssets ranked by the severity of vulnerabilities found on them (for prioritization).

Surface data (network / DNS / IP)

ToolWhat it’s for
list_portsOpen ports across the surface, grouped by port number, with per-port asset/IP counts.
list_port_detailsRow-level port records — which specific assets/IPs expose a given port.
list_protocolsRow-level service endpoints (scheme, service, transport, port, IP).
list_protocols_by_schemeProtocols grouped by scheme (https, ssh, smtp…) with per-scheme counts.
list_dns_queriesDNS records observed for monitored assets (queried name, response, record types).
list_ips_by_countryIP footprint grouped by country, with per-country IP/domain/ASN counts.
list_connectorsCloud/DNS connectors feeding Detectify (AWS, GCP, Cloudflare, etc.).

Technology inventory

ToolWhat it’s for
list_technologiesTechnologies detected across the surface, grouped by name, with per-tech asset counts.
list_technology_versionsTechnologies rolled up by name and version.
list_asset_technologiesRow-level tech instances (tech × version × port × asset); find every asset running a given technology.

Vulnerabilities and findings

ToolWhat it’s for
list_vulnerabilitiesThe team’s findings, with filtering (severity, status, asset, CVSS), sorting, and pagination.
get_vulnerability_detailsFull evidence for one finding (request/response, CWE, OWASP, CVSS) — built for false-positive triage.
get_vulnerability_severity_summaryTeam-wide severity breakdown counts (critical/high/medium/low + total).
list_vulnerability_definitionsCatalog of what Detectify can detect (is a given CVE or class covered?).

Scan profiles and scan results

ToolWhat it’s for
list_application_scan_profilesApplication Scanning profiles with each one’s latest scan status/result and next run.
get_application_scan_historyScan-by-scan history for a single Application Scanning profile.
list_api_scanning_profilesAPI Scanning profiles (target, rate limit, last scan, severity summary).
get_api_scan_resultsLatest findings for one API Scanning profile (with CVE/CWE/CVSS detail).

PCI ASV Scanning

ToolWhat it’s for
list_asv_scan_profilesApproved Scanning Vendor (PCI external-scan) profiles.
list_asv_reportsPer-scan PCI compliance reports for one ASV profile (high/medium/low counts, pass/fail).

Policies and compliance breaches

ToolWhat it’s for
list_policiesSecurity policies configured for the team (name, severity, trigger rules).
list_policy_breachesAssets currently violating a policy (open compliance breaches).
get_breaches_over_timeTime-series of policy breaches by severity (for trend charts; max 30-day window).

WAF / scan interference

ToolWhat it’s for
list_waf_findingsRequests blocked or altered by a WAF in front of a monitored asset (“is a WAF blocking our scans?”).
get_waf_finding_detailsFull detail for one interference finding (risk, remediation, blocked request/response).
Last updated on