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.
Claude Code
1. Register the server
claude mcp add --transport http detectify \
https://mcp.detectify.com/mcp \
--callback-port 54321 \
--client-id=5aaebbc4-eeca-4ede-a03e-682a495082f62. 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/oauth2page (⇧⌘R). - Browser never opens / callback times out — confirm nothing else is bound to the loopback port the agent uses (
54321for Claude Code, Codex, Copilot CLI, and OpenCode). Because these share port54321, 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
scopesis set on thedetectifyentry in~/.codex/config.tomlso only one URL is printed, then re-runcodex 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 meansauth.redirectPortwasn’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— theauth.scopesfield is missing from thedetectifyentry in~/.cursor/mcp.json.
Available tools
The server exposes read-only tools grouped by area.
Team and account
| Tool | What it’s for |
|---|---|
get_current_team | Which Detectify team you’re acting as (name and team token). |
list_users | Team members with their role and last-login time. |
Asset inventory
| Tool | What it’s for |
|---|---|
list_assets | Flat list of assets (domains, IPs, ranges); scope to all, roots only, subassets only, or one root’s subassets. |
list_monitored_assets | Assets with per-asset surface aggregates (IPs, countries, ASNs, ports, technologies). |
get_asset_details | Full drill-down on one asset (surface state, named IPs, ports, DNS, technologies). |
list_asset_classifications | What kind of thing each asset is (web app, API, redirect, 4xx/5xx) and which scanners cover it. |
list_most_severe_assets | Assets ranked by the severity of vulnerabilities found on them (for prioritization). |
Surface data (network / DNS / IP)
| Tool | What it’s for |
|---|---|
list_ports | Open ports across the surface, grouped by port number, with per-port asset/IP counts. |
list_port_details | Row-level port records — which specific assets/IPs expose a given port. |
list_protocols | Row-level service endpoints (scheme, service, transport, port, IP). |
list_protocols_by_scheme | Protocols grouped by scheme (https, ssh, smtp…) with per-scheme counts. |
list_dns_queries | DNS records observed for monitored assets (queried name, response, record types). |
list_ips_by_country | IP footprint grouped by country, with per-country IP/domain/ASN counts. |
list_connectors | Cloud/DNS connectors feeding Detectify (AWS, GCP, Cloudflare, etc.). |
Technology inventory
| Tool | What it’s for |
|---|---|
list_technologies | Technologies detected across the surface, grouped by name, with per-tech asset counts. |
list_technology_versions | Technologies rolled up by name and version. |
list_asset_technologies | Row-level tech instances (tech × version × port × asset); find every asset running a given technology. |
Vulnerabilities and findings
| Tool | What it’s for |
|---|---|
list_vulnerabilities | The team’s findings, with filtering (severity, status, asset, CVSS), sorting, and pagination. |
get_vulnerability_details | Full evidence for one finding (request/response, CWE, OWASP, CVSS) — built for false-positive triage. |
get_vulnerability_severity_summary | Team-wide severity breakdown counts (critical/high/medium/low + total). |
list_vulnerability_definitions | Catalog of what Detectify can detect (is a given CVE or class covered?). |
Scan profiles and scan results
| Tool | What it’s for |
|---|---|
list_application_scan_profiles | Application Scanning profiles with each one’s latest scan status/result and next run. |
get_application_scan_history | Scan-by-scan history for a single Application Scanning profile. |
list_api_scanning_profiles | API Scanning profiles (target, rate limit, last scan, severity summary). |
get_api_scan_results | Latest findings for one API Scanning profile (with CVE/CWE/CVSS detail). |
PCI ASV Scanning
| Tool | What it’s for |
|---|---|
list_asv_scan_profiles | Approved Scanning Vendor (PCI external-scan) profiles. |
list_asv_reports | Per-scan PCI compliance reports for one ASV profile (high/medium/low counts, pass/fail). |
Policies and compliance breaches
| Tool | What it’s for |
|---|---|
list_policies | Security policies configured for the team (name, severity, trigger rules). |
list_policy_breaches | Assets currently violating a policy (open compliance breaches). |
get_breaches_over_time | Time-series of policy breaches by severity (for trend charts; max 30-day window). |
WAF / scan interference
| Tool | What it’s for |
|---|---|
list_waf_findings | Requests blocked or altered by a WAF in front of a monitored asset (“is a WAF blocking our scans?”). |
get_waf_finding_details | Full detail for one interference finding (risk, remediation, blocked request/response). |