xdr-mcp
v1.3.0MCP server for the F6 XDR platform API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
xdr_search
Search for events/objects in an XDR section. Returns matching records; an empty query returns the section unfiltered. Use xdr_get_mapping first to discover available fields.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string using field:value syntax, e.g. 'resolved : "false" AND severity : "critical"'. Pass an empty string to list the whole section unfiltered — deliberately, since that can be a very… |
section * | string | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |
offset | integer | Number of results to skip. For the "modules" section the API pages in fixed steps, so offset must be a multiple of page_size there. |
ordering | string | Sort field with optional - prefix for descending, e.g. -created_at (newest first). An unknown field is silently ignored: the API reports no error and the results come back in some other order, so use… |
page_size | integer | Number of results per page (1-200, default 10) |
xdr_count
Get the total count of records in an XDR section. Optionally filter by query to count matching records only. For application_versions this counts per-asset records, not distinct version strings.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |
query | string | Search query string using field:value syntax, e.g. 'resolved : "false" AND severity : "critical"'. Pass an empty string to list the whole section unfiltered — deliberately, since that can be a very… |
xdr_get_mapping
Get all available search fields for an XDR section. Returns field names, labels, categories, and supported operators. Call this first to understand what you can search on.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |
xdr_get_suggestions
Look up real values of a field, optionally narrowed by a prefix. Use it when a query returns nothing and the value may simply be spelled differently — an unmatched value is answered with zero records rather than an error, so a guess is indistinguishable from a genuine absence. Each entry has a value to put in a query and a label for display; search on the value. Returns up to about ten entries, so narrow the prefix to see more. Field names come from xdr_get_mapping, where the ones worth asking about carry show_suggestions; an unknown field name comes back empty rather than as an error.
| Parameter | Type | Description |
|---|---|---|
field * | string | Field to list values of, as named by xdr_get_mapping |
section * | string | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |
prefix | string | Return only values starting with this. Omit for the field's first values. |
xdr_get_filters
Get available filter options for an XDR section.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |
xdr_list_artifacts
List artifacts collected from hosts — what an analyst gathered through the asset's Response → Artifacts: bug reports, logs, configs, memory dumps. Filter by host with asset_id (the asset's numeric id) or machine_id; with neither, lists artifacts across all hosts. Newest first by default. Each row has 'id' (for xdr_get_artifact_structure), 'internal_id' (for xdr_download_artifact), 'parts' (what was collected), 'command_status' (New, Queued, Pending, Uploading, Uploaded, Done, Failed, Aborted) and 'size' in bytes.
| Parameter | Type | Description |
|---|---|---|
asset_id | integer | Numeric asset id |
machine_id | string | Agent machine id (UUID); looked up to the asset id first |
ordering | string | By creation time; default -ts_created (newest first) |
page | integer | 1-based page number |
page_size | integer | Rows per page (1-200, default 20) |
xdr_get_artifact_structure
List the files and folders inside a collected artifact, one level at a time, with their sizes. Takes the artifact's numeric 'id' from xdr_list_artifacts and an optional folder inside it (e.g. /var/log). Use it to find the part worth downloading rather than fetching a whole artifact.
| Parameter | Type | Description |
|---|---|---|
report_id * | integer | Numeric artifact id ('id' in xdr_list_artifacts) |
path | string | Folder inside the artifact; omit for the top |