Pentest-Tools.com MCP by usefulapi

v1.2.1
io.usefulapi/pentest-tools-com Checked 2 days ago Published 1 day ago

Read scans and findings; start website and network scans and update findings in Pentest-Tools.com.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pentesttoolscom_list_workspaces List workspaces

List the workspaces in the account. Use the workspace id in other calls. Pentest-Tools.com API: GET /api/v2/workspaces.

pentesttoolscom_list_targets List targets

List scan targets (hostnames, IP addresses or URLs) in the account or one workspace. Pentest-Tools.com API: GET /api/v2/targets.

ParameterTypeDescription
limitintegerResults per page.
pageintegerPage number for pagination.
typestringOnly targets of this type.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_get_target Get a target

Get one target by id. Pentest-Tools.com API: GET /api/v2/targets/{id}.

ParameterTypeDescription
target_id *integerTarget id (from pentesttoolscom_list_targets).

pentesttoolscom_list_scans List scans

List scans, newest first, with status (running, finished, failed to start, stopped, timed out, and others). Filter by tool, workspace, target or status. Pentest-Tools.com API: GET /api/v2/scans.

ParameterTypeDescription
limitintegerResults per page.
pageintegerPage number for pagination.
statusstringOnly scans with this status_name, for example running or finished.
target_idintegerOnly scans of this target.
tool_idintegerScanner tool id, for example 170 for Website Scanner.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_get_scan Get scan status

Get one scan by id: its status_name (running, finished, ...), target and timing. Poll this after starting a scan. Pentest-Tools.com API: GET /api/v2/scans/{id}.

ParameterTypeDescription
scan_id *integerScan id (from pentesttoolscom_start_* or pentesttoolscom_list_scans).

pentesttoolscom_get_scan_output Get scan results

Get the structured JSON output of a finished scan (findings and details per tool). Large scans return much data. Pentest-Tools.com API: GET /api/v2/scans/{id}/output (limit 60 per minute).

ParameterTypeDescription
scan_id *integerScan id of a finished scan.

pentesttoolscom_get_scan_tests List scan tests

List the individual tests a scan ran, with their results. Pentest-Tools.com API: GET /api/v2/scans/{id}/tests.

ParameterTypeDescription
scan_id *integerScan id.
resource_idintegerOnly tests for this resource id.
resource_typestringOnly tests for this resource type (see the scan output).

pentesttoolscom_list_findings List findings

List vulnerability findings across scans. Filter by workspace, target or risk range. Risk levels: 0 info, 1 low, 2 medium, 3 high, 4 critical. Pentest-Tools.com API: GET /api/v2/findings.

ParameterTypeDescription
group_duplicatesbooleanGroup duplicate findings into one.
max_risk_levelintegerHighest risk level to include.
min_risk_levelintegerLowest risk level to include.
target_idintegerOnly findings of this target.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_get_finding Get a finding

Get one finding by id with its details, status, risk level and how to reproduce it. Pentest-Tools.com API: GET /api/v2/findings/{id}.

ParameterTypeDescription
finding_id *integerFinding id (from pentesttoolscom_list_findings).

pentesttoolscom_list_reports List reports

List generated reports and their status. Pentest-Tools.com API: GET /api/v2/reports.

pentesttoolscom_get_report Get a report

Get one report's status and details by id. The file itself is downloaded in the Pentest-Tools.com app. Pentest-Tools.com API: GET /api/v2/reports/{id}.

ParameterTypeDescription
report_id *integerReport id (from pentesttoolscom_create_report).

pentesttoolscom_add_target Add a target

Add a target (hostname, IP address or URL) to the account. Add only assets you are authorized to test. Pentest-Tools.com API: POST /api/v2/targets.

ParameterTypeDescription
name *stringThe target, for example example.com or https://example.com.
descriptionstringShort note about the target.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_start_website_scan Start a website scan

Start a Website Scanner run (tool 170) on a web target. Only scan targets you have written authorization to test. Starts paid scan time. light is the default and checks fewer items; deep runs more checks. Poll pentesttoolscom_get_scan. Pentest-Tools.com API: POST /api/v2/scans.

ParameterTypeDescription
max_scan_timeintegerMaximum run time in minutes (1-1440).
scan_typestringlight (default) or deep.
target_idintegerExisting target id. Use this or target_name.
target_namestringA URL, for example https://example.com. Use this or target_id.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_start_network_scan Start a network scan

Start a Network Scanner run (tool 350) on a host or IP address. Only scan hosts you have written authorization to test. Starts paid scan time. light covers the top 100 ports; deep covers the top 5000 TCP ports and runs more engines. Poll pentesttoolscom_get_scan. Pentest-Tools.com API: POST /api/v2/scans.

ParameterTypeDescription
max_scan_timeintegerMaximum run time in minutes (1-1440).
presetstringlight (default) or deep.
target_idintegerExisting target id. Use this or target_name.
target_namestringA hostname or IP address. Use this or target_id.
workspace_idintegerWorkspace id (from pentesttoolscom_list_workspaces).

pentesttoolscom_stop_scan Stop a scan

Stop a scan that is still running. Stopping an already stopped scan has no further effect. Pentest-Tools.com API: POST /api/v2/scans/{id}/stop.

ParameterTypeDescription
scan_id *integerScan id of a running scan.

pentesttoolscom_update_finding Update a finding

Change a finding's status (open, false_positive, ignored, fixed, accepted) and/or its risk level. Risk levels: 0 info, 1 low, 2 medium, 3 high, 4 critical. Each change is recorded in the finding history with the reason you give. Pentest-Tools.com API: PATCH /api/v2/findings/{id}.

ParameterTypeDescription
finding_id *integerFinding id (from pentesttoolscom_list_findings).
risk_levelintegerNew risk level, 0 to 4.
risk_reasonstringWhy the risk level changes.
statusstringNew status.
status_reasonstringWhy the status changes.

pentesttoolscom_create_report Create a report

Create a report (pdf, html, json, csv, xlsx or docx) for scans or findings. The report is built in the background: check it with pentesttoolscom_get_report, then download it in the app. Pentest-Tools.com API: POST /api/v2/reports.

ParameterTypeDescription
format *stringOutput format.
group_by *stringGroup the report by target or by vulnerability.
resources *arrayScan ids (source scans) or finding ids (source findings).
source *stringBuild the report from scans or findings.