asm-mcp

v1.0.0
asm-mcp Checked 11 hours ago Published 21 days ago

MCP 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.

ParameterTypeDescription
company_id *stringCompany id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab.
assetarrayExact asset values (domain, IP).
compactbooleanDefault true: drop heavy and repeated fields (whois/DNS of domains, discovery graph, descriptions, company fields). false returns records as the API sent them.
fieldsarrayReturn only these fields, e.g. ['asset', 'type', 'status', 'hasIssues', 'ports'].
max_itemsnumberInteger, 1-5000, default 500: stop after this many assets.
page_sizenumberRecords per API request, at most 2000. A page that times out is retried at half the size automatically.
seq_updatestringResume 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.
softwarearraySoftware names, e.g. nginx.
statusarrayEmpty = all, including excluded assets ('false'). The company perimeter is ['confirmed', 'new'].
typearrayAsset types; empty = all. Infrastructure = domain, ip, ip_range, ssl.
versionarraySoftware 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.

ParameterTypeDescription
company_id *stringCompany id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab.
assetarrayIssues of these assets (domain, IP).
categoryarraye.g. Vulnerabilities, Network Security, DNS & Domains.
compactbooleanDefault true: drop heavy and repeated fields (whois/DNS of domains, discovery graph, descriptions, company fields). false returns records as the API sent them.
cvearrayCVE ids, e.g. CVE-2024-6387.
fieldsarrayReturn only these fields, dotted paths allowed, e.g. ['alertHash', 'alertSeverity', 'alertStatus', 'testName', 'alertBody.asset', 'alertBody.reason'].
issue_hasharraySpecific issues by id (alertHash).
max_itemsnumberInteger, 1-5000, default 200: stop after this many issues.
page_sizenumberRecords per API request, at most 2000. A page that times out is retried at half the size automatically.
portarrayPorts, e.g. [22, 3389].
seq_updatestringResume 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.
severityarraycrit / high / medium / low. In records they read as alertSeverity Crit / Error / Warning / Low and alertBody.status 'Critical severity' / 'High severity' / ...
sort_by_first_seenbooleanOrder by first detection instead of last update.
statusarrayEmpty = every status. Open issues = ['detected', 'under review'].
test_namearrayExact 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.

ParameterTypeDescription
issue_id *stringIssue 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).

ParameterTypeDescription
company_id *stringCompany id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab.
statusarrayDefault: the perimeter ['confirmed', 'new']. Pass all three to include excluded.
typearrayEmpty = 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.

ParameterTypeDescription
company_id *stringCompany id from asm_list_companies (field id), e.g. 3f2b6c1e-0000-4a5b-8c9d-0123456789ab.
assetarrayOnly issues of these assets.
severityarraycrit / high / medium / low. In records they read as alertSeverity Crit / Error / Warning / Low and alertBody.status 'Critical severity' / 'High severity' / ...
statusarrayDefault: 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.

ParameterTypeDescription
sectionstringOptional: 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.

ParameterTypeDescription
path *stringPath under /api/v2 without a leading slash, e.g. "reports/<company_id>/last".
methodstringGET for most routes; POST for dashboard/scores and issues/leaks.
paramsobjectQuery parameters (GET) or JSON body (POST), only the keys the route accepts.