xdr-mcp

v1.3.0
xdr-mcp Checked 10 hours ago Published 27 days ago

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

ParameterTypeDescription
section *stringSection name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions
querystringSearch 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.

ParameterTypeDescription
section *stringSection 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.

ParameterTypeDescription
field *stringField to list values of, as named by xdr_get_mapping
section *stringSection name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions
prefixstringReturn only values starting with this. Omit for the field's first values.

xdr_get_filters

Get available filter options for an XDR section.

ParameterTypeDescription
section *stringSection 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.

ParameterTypeDescription
asset_idintegerNumeric asset id
machine_idstringAgent machine id (UUID); looked up to the asset id first
orderingstringBy creation time; default -ts_created (newest first)
pageinteger1-based page number
page_sizeintegerRows 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.

ParameterTypeDescription
report_id *integerNumeric artifact id ('id' in xdr_list_artifacts)
pathstringFolder inside the artifact; omit for the top