asm-mcp
v1.0.0MCP server for the F6 ASM (Attack Surface Management) client API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
asm_list_companies
Companies this token may read: GET /api/v2/companies. Each entry has id (the company_id of every other tool), name, website, score, footprint (number of domains and IPs) and the recent score history. Call it first: it confirms ASM_BASE_URL, the token and access.
asm_get_assets
Assets of a company: POST /api/v2/assets/updated, oldest-first, following the seqUpdate cursor across pages. Filters: type, status, asset, software, version. Returns items with complete, reason and seqUpdate; when complete is false, call again with seq_update to continue. One call stops at max_items, after ~40 s or at 1 MB of output. Without a status filter excluded assets (status 'false') are included — the perimeter is status ['confirmed', 'new']. For totals use asm_assets_summary.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab. |
asset | array | Exact asset values (domain, IP). |
compact | boolean | Default true: drop heavy and repeated fields (whois/DNS of domains, discovery graph, descriptions, company fields). false returns records as the API sent them. |
fields | array | Return only these fields, e.g. ['asset', 'type', 'status', 'hasIssues', 'ports']. |
max_items | number | Integer, 1-5000, default 500: stop after this many assets. |
page_size | number | Records per API request, at most 2000. A page that times out is retried at half the size automatically. |
seq_update | string | Resume cursor: the seqUpdate of a previous answer of this tool with the same filters. Omit to start from the oldest record. Saved after a full walk, it returns only what changed since. |
software | array | Software names, e.g. nginx. |
status | array | Empty = all, including excluded assets ('false'). The company perimeter is ['confirmed', 'new']. |
type | array | Asset types; empty = all. Infrastructure = domain, ip, ip_range, ssl. |
version | array | Software versions. |
asm_get_issues
Issues (security findings) of a company: POST /api/v2/issues/updated, oldest-first, following the seqUpdate cursor. Filters: severity, status, category, test_name, asset, port, issue_hash, cve. Status and severity are re-checked locally because the server filter leaks. Returns items with complete, reason and seqUpdate; when complete is false, call again with seq_update. One call stops at max_items, after ~40 s or at 1 MB. For totals use asm_issues_summary; for proof of one issue asm_get_issue_evidence.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab. |
asset | array | Issues of these assets (domain, IP). |
category | array | e.g. Vulnerabilities, Network Security, DNS & Domains. |
compact | boolean | Default true: drop heavy and repeated fields (whois/DNS of domains, discovery graph, descriptions, company fields). false returns records as the API sent them. |
cve | array | CVE ids, e.g. CVE-2024-6387. |
fields | array | Return only these fields, dotted paths allowed, e.g. ['alertHash', 'alertSeverity', 'alertStatus', 'testName', 'alertBody.asset', 'alertBody.reason']. |
issue_hash | array | Specific issues by id (alertHash). |
max_items | number | Integer, 1-5000, default 200: stop after this many issues. |
page_size | number | Records per API request, at most 2000. A page that times out is retried at half the size automatically. |
port | array | Ports, e.g. [22, 3389]. |
seq_update | string | Resume cursor: the seqUpdate of a previous answer of this tool with the same filters. Omit to start from the oldest record. Saved after a full walk, it returns only what changed since. |
severity | array | crit / high / medium / low. In records they read as alertSeverity Crit / Error / Warning / Low and alertBody.status 'Critical severity' / 'High severity' / ... |
sort_by_first_seen | boolean | Order by first detection instead of last update. |
status | array | Empty = every status. Open issues = ['detected', 'under review']. |
test_name | array | Exact test names, e.g. 'CVE vulnurability', 'Insecure Network Headers', 'Remote management open port: 22'. |
asm_get_issue_evidence
Evidence of one issue: GET /api/v2/issues/evidence/{issue_id} — what the scanner saw (response headers, banner, certificate, DNS records). issue_id is the alertHash from asm_get_issues.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | Issue id (alertHash, 32 hex digits). |
asm_assets_summary
Counts over every asset of a company, no records: by type, status and issue level (hasIssues), with assets that have issues per type. Default status: the perimeter (confirmed, new). A large company does not fit in one call: the answer then has complete=false and job_id, the rest is counted in the background, and calling again with the same arguments returns progress and then the full result (reused for ASM_SUMMARY_TTL seconds).
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab. |
status | array | Default: the perimeter ['confirmed', 'new']. Pass all three to include excluded. |
type | array | Empty = all types. |
asm_issues_summary
Counts over the issues of a company, no records: by severity, status, asset type, category, test name, top assets and top CVEs. Default status: open (detected, under review). Same background mechanism as asm_assets_summary for large companies.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab. |
asset | array | Only issues of these assets. |
severity | array | crit / high / medium / low. In records they read as alertSeverity Crit / Error / Warning / Low and alertBody.status 'Critical severity' / 'High severity' / ... |
status | array | Default: open issues ['detected', 'under review']. Pass every status for history. |
asm_describe
Reference answered locally, no API call: asset types and statuses, issue statuses, the severity mapping, categories and test names, record fields, API limits and quirks, and the read-only routes asm_request may call.
| Parameter | Type | Description |
|---|---|---|
section | string | Optional: only this part of the reference. |
asm_request
Read-only endpoints without a tool of their own: reports (reports/{company_id}, reports/{company_id}/last, reports/{report_id}/report), company card and perimeter settings (companies/{company_id}, assets/{company_id}), logs (companies/logs, users/logs), clients, partners, POST dashboard/scores and POST issues/leaks. Anything else — every endpoint that creates, updates, removes or changes status — is refused before a request is made. asm_describe section=requests lists each route with its params.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path under /api/v2 without a leading slash, e.g. "reports/<company_id>/last". |
method | string | GET for most routes; POST for dashboard/scores and issues/leaks. |
params | object | Query parameters (GET) or JSON body (POST), only the keys the route accepts. |