Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MCP tool reference

red-clippy mcp exposes 82 tools. This page groups them by area so you can see what is covered. The authoritative descriptions and JSON schemas come from tools/list on the running server, which is what your agent actually reads.

Every tool is scoped to the organization the API key belongs to. Tools taking a pentest_id accept the session pin instead when the server was started with --pentest or RED_CLIPPY_PENTEST.

Engagements

ToolWhat it does
list_pentestsList pentests, most recent first, paginated. Filters on free text and status.
create_pentestCreate an engagement. The code is immutable afterwards.
get_pentest_summaryOne snapshot: severity counts, totals for findings, recon, assets and nmap scans, recon counts by kind, the testable in-scope asset count, five recent findings and scans, and phase progress.
pentest_coverageCheck coverage rollup across every asset opened so far.

Engagement phases

ToolWhat it does
list_phasesList the phases for a pentest.
add_phaseAdd a custom phase.
mark_phaseSet a phase’s status.
delete_phaseRemove a phase.

Red Team Instructions

ToolWhat it does
get_instructionsReturn the resolved document and the level it came from.
set_instructionsWrite an override at the org or pentest level.
reset_instructionsDelete the override at a level, falling back to the next one down.

Assets

ToolWhat it does
list_assetsList scope units, with filters.
create_assetCreate one.
get_assetFetch one by id, including its attributes JSON.
update_assetPatch one by id.
delete_assetDelete by id.
delete_asset_by_valueDelete by value. Cascades observations and check runs, and reports how many findings still tag the value.
set_asset_markingSet scope and reachability by value.
bulk_set_asset_markingApply the same marking to many values in one transaction.
list_asset_aliasesList aliases pointing at a canonical asset.
set_asset_aliasMark one asset as an alias of another.
clear_asset_aliasDetach an alias, making it a standalone asset again.
promote_observationTurn an observation into its own asset.
demote_assetThe inverse: turn an asset back into an observation under its parent.

Observations and ports

ToolWhat it does
list_observationsList observations for a pentest, paginated.
create_observationAdd one.
bulk_observationsAdd many in one transaction. This is the one to use after a recon run.
get_observationFetch one by id.
update_observationPatch one by id.
delete_observationDelete one by id.
observations_for_assetEverything attached to one asset, unpaginated.
list_portsEngagement-wide open port and service search.

IP ranges

ToolWhat it does
list_ip_rangesThe customer-declared perimeter, which is not the same thing as asset rows.
add_ip_rangeDeclare a range.
update_ip_rangeReplace the editable fields of one.
apply_ip_rangeDeclare a range and fan its scope decision out to every IP asset inside it.
delete_ip_rangeRemove a declared range.
asset_rangesWhich declared ranges contain a given address.
get_range_mapThe unified scope tree: declared ranges, discovered clusters, loose blocks, singletons.

API endpoints

ToolWhat it does
list_api_endpointsList endpoints on an api asset.
add_api_endpointAttach one.
add_api_endpoints_bulkAttach many in one call, for importing a specification.
get_api_endpointFetch one with its JSON fields parsed.
update_api_endpointPatch one.
delete_api_endpointDelete one.
export_api_endpoint_curlBuild a copy-pastable cURL command using the parent asset as the base URL.
export_api_asset_openapiSynthesise an OpenAPI 3.1 document from every REST endpoint on the asset.

Methodology checks

ToolWhat it does
list_checksThe catalogue for one asset, with current status per check.
mark_checkSet one check’s status and notes.
bulk_mark_checksFlip many checks on a single asset to the same status, atomically.

Findings and evidence

ToolWhat it does
create_findingRecord a finding.
list_findingsList findings for a pentest, paginated and filterable.
get_findingFetch one in full: details, impact, proof of concept, remediation, CVSS, tags.
update_findingPatch one.
delete_findingDelete one, and its attachments.
attach_evidenceUpload a file against a finding.
list_evidenceList a finding’s attachments. Metadata only, no bytes.
delete_evidenceDelete an attachment by id.

create_finding’s description carries writing guidance the agent will follow: confirm with the operator before recording a finding, keep details, impact and remediation to a paragraph each, keep scope identifiers out of the title, and describe what needs to change in remediation rather than emitting commands, config snippets or library versions that may be wrong for the target’s stack.

Asset working files

ToolWhat it does
list_asset_filesList files and folders under an asset’s directory.
read_asset_fileRead one file.
write_asset_fileCreate or overwrite one.
create_asset_folderCreate an empty folder.
delete_asset_fileDelete a file, or a folder recursively.

Tool output

ToolWhat it does
ingest_tool_outputImport a scanner report. Auto-detects the format, writes assets, observations, findings and the raw scan in one transaction.
add_nmapAttach raw nmap output as a scan record.
get_nmap_scanRetrieve one scan by id, including its raw output.

The scan engine

ToolWhat it does
list_scan_toolsThe tool registry by stage, with availability on this host.
scan_coverageFunnel progress, plus how many hosts are waiting for the next stage.
scan_coverage_by_rangeThe same, broken down per declared in-scope range.
mark_coveredRecord targets as already scanned so future launches skip them.
enqueue_scanLaunch a run.
list_scansRecent runs with status and progress counts.
get_scanOne run with its per-target tasks.
skip_scan_taskSkip one target inside a run, killing it if mid-scan.
cancel_scanCancel a running scan.
delete_scanDelete one finished run.
clear_scansBulk-delete finished runs.

Attack graph

ToolWhat it does
linkCreate a directed edge between two nodes (observation, asset or finding) with a free-form relation.
unlinkDelete an edge by id.
neighborsEverything reachable from a node up to depth edges (default 1, max 5), in a given direction.
attack_pathsPaths from one node to another, up to max_depth hops (default 5, max 8).
ToolWhat it does
org_searchKeyword search across every source table in the organization.