Snyk API & Web MCP Server

v1.1.2
io.github.snyk/saw-mcp Checked 4 days ago Published 7 months ago

MCP server for Snyk API & Web — DAST scanning, findings management, and vulnerability triage

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

probelyrequest Probelyrequest

Make a raw request to Probely API (path relative to base). IMPORTANT: For authentication configuration, use probely_update_target instead: - HTTP Basic Auth: use basic_auth_username and basic_auth_password parameters - API Headers/Cookies Auth: use api_auth_headers and api_auth_cookies parameters This tool is for advanced use cases or API endpoints not covered by dedicated tools. When using this tool, reference saved credentials using the URI format 'credentials://<credential_id>' (e.g., 'credentials://4DY4qGohso1r'). Get credential URIs from probely_list_credentials or probely_create_crede…

ParameterTypeDescription
method *string
path *string
data
json
params

probely_get_user Probely Get User

ParameterTypeDescription
userId *string

probely_list_teams Probely List Teams

ParameterTypeDescription
page

probely_get_team Probely Get Team

ParameterTypeDescription
teamId *string

probely_list_credentials Probely List Credentials

List credentials. Sensitive values are not returned. Returns credentials with their 'uri' field (e.g., 'credentials://4DY4qGohso1r'). Use this exact URI format when configuring authentication (basic_auth, headers, etc.). Do NOT use template syntax like {{cred-name}}.

ParameterTypeDescription
is_sensitive
length
page
search

probely_get_credential Probely Get Credential

Get a credential by ID. Value is null if sensitive. Returns the credential with its 'uri' field (e.g., 'credentials://4DY4qGohso1r'). Use this URI to reference the credential in authentication configs.

ParameterTypeDescription
credentialId *string

probely_create_credential Probely Create Credential

Create a credential for secure storage. Use is_sensitive=True for passwords. Returns the credential with id and uri. Use the uri (e.g. "credentials://xxxx") as the value in custom_field_mappings to link it to a sequence.

ParameterTypeDescription
name *string
value *string
description
is_sensitiveboolean
team

probely_update_credential Probely Update Credential

Update a credential (partial update).

ParameterTypeDescription
credentialId *string
description
is_sensitive
name
value

probely_delete_credential Probely Delete Credential

ParameterTypeDescription
credentialId *string

probely_create_label Probely Create Label

ParameterTypeDescription
name *string
color

probely_list_targets Probely List Targets

ParameterTypeDescription
page
search

probely_get_target Probely Get Target

ParameterTypeDescription
targetId *string

probely_create_web_target Probely Create Web Target

Create a new target. Use labels to assign label names (e.g. ["Agentic", "Production"]). Existing labels are reused; missing ones are created automatically. Use scanning_agent_id to assign a scanning agent for internal/private targets. Set allow_duplicate=True to create a target even if another target with the same URL already exists. This is useful when you want multiple targets for the same URL with different configurations (e.g., different auth methods, different test scenarios). If target creation fails because the target is unreachable or the domain cannot be resolved, ask the user wheth…

ParameterTypeDescription
name *string
url *string
allow_duplicateboolean
desc
labels
scanning_agent_id
skip_reachability_checkboolean

probely_update_target Probely Update Target

Update a target. Use labels to assign label names (e.g. ["Agentic", "Production"]). Existing labels are reused; missing ones are created automatically. Use scanning_agent_id to assign or change the scanning agent. Pass "" to remove it. IMPORTANT: The headers/cookies parameters are for general custom headers/cookies sent with every scan request (NOT for authentication). They use a simple structure: {"name": "...", "value": "..."}. For HTTP Basic Auth authentication: Use basic_auth_username and basic_auth_password parameters. Both must be provided together. Example: probely_update_target(…

ParameterTypeDescription
targetId *string
api_auth_cookiesAuthentication cookies for API targets. Full structure with authentication flags. Each entry: {"name": "session", "value": "credentials://xxx", "value_is_sensitive": false, "allow_testing": false, "au…
api_auth_headersAuthentication headers for API targets. Full structure with authentication flags. Each entry: {"name": "X-API-Key", "value": "credentials://xxx", "value_is_sensitive": false, "allow_testing": false, "…
basic_auth_passwordPassword for HTTP Basic Auth. Use credential URI format 'credentials://xxx' to reference saved credentials. When set, basic_auth_username must also be provided.
basic_auth_usernameUsername for HTTP Basic Auth. Use credential URI format 'credentials://xxx' to reference saved credentials. When set, basic_auth_password must also be provided.
cookiesCustom cookies sent with every scan request (for general use, NOT for authentication). Each entry: {"name": "<cookie-name>", "value": "<cookie-value>"}. Replaces all existing custom cookies. To refere…
desc
headersCustom HTTP headers sent with every scan request (for general use, NOT for authentication). Each entry: {"name": "<header-name>", "value": "<header-value>"}. Replaces all existing custom headers. To r…
labels
name
scanning_agent_id
url

probely_delete_target Probely Delete Target

ParameterTypeDescription
targetId *string

probely_list_sequences Probely List Sequences

List all login sequences for a target.

ParameterTypeDescription
targetId *string
page

probely_get_sequence Probely Get Sequence

Get details of a specific login sequence.

ParameterTypeDescription
sequenceId *string
targetId *string

probely_create_sequence Probely Create Sequence

Create a login sequence. Content must be a JSON string of the sequence steps array. Use custom_field_mappings to configure credentials. IMPORTANT: After creating a login sequence, you MUST call probely_configure_sequence_login(targetId, enabled=True) to enable sequence-based authentication on the target. Creating a sequence does NOT automatically enable it for authentication. Use credentials management by default: link a credential (created via probely_create_credential) for the password. If the user explicitly declines, inline values are allowed. - Password credential: [{"name": "[CUSTOM_PA…

ParameterTypeDescription
content *string
name *string
targetId *string
custom_field_mappings
enabledboolean
sequence_typestring

probely_update_sequence Probely Update Sequence

Update a login sequence. Use custom_field_mappings to configure credentials instead of hardcoding them in the sequence content. Use credential URIs for sensitive values by default. custom_field_mappings should be a JSON array string, e.g.: [{"name": "[CUSTOM_USERNAME]", "value": "user@example.com", "value_is_sensitive": false, "enabled": true}]

ParameterTypeDescription
sequenceId *string
targetId *string
content
custom_field_mappings
enabled
name

probely_delete_sequence Probely Delete Sequence

ParameterTypeDescription
sequenceId *string
targetId *string

probely_configure_form_login Probely Configure Form Login

Configure form-based login authentication. Only use this as a fallback when Playwright is NOT available. When Playwright IS available, always record a login sequence instead (probely_create_sequence). To reference saved credentials, use URI format 'credentials://<credential_id>' (e.g., 'credentials://4DY4qGohso1r'). Get credential URIs from probely_list_credentials or probely_create_credential.

ParameterTypeDescription
login_url *string
password *string
password_field *string
targetId *string
username *string
username_field *string
check_pattern

probely_configure_sequence_login Probely Configure Sequence Login

Enable or disable sequence-based login. Call this after creating a login sequence.

ParameterTypeDescription
targetId *string
enabledboolean

probely_configure_2fa_totp Probely Configure 2Fa Totp

Configure TOTP-based 2FA for a target. Automatically generates a TOTP code from the secret and configures it as the OTP placeholder for the login sequence. Call this BEFORE creating/updating the login sequence. The response includes an ``otp_code`` field — use this exact code hardcoded in the sequence's fill_value step for the OTP input. Probely will auto-convert that step to ``fill_otp`` at scan time.

ParameterTypeDescription
otp_secret *string
targetId *string
otp_algorithmstring
otp_digitsinteger

probely_disable_2fa Probely Disable 2Fa

Disable 2FA/OTP for a target.

ParameterTypeDescription
targetId *string

probely_generate_totp Probely Generate Totp

Generate a TOTP code from a secret/seed. Use this when recording login sequences that require 2FA. Returns the current TOTP code and its remaining validity in seconds.

ParameterTypeDescription
secret *string
algorithmstring
digitsinteger
periodinteger

probely_list_logout_detectors Probely List Logout Detectors

List all logout detectors for a target.

ParameterTypeDescription
targetId *string

probely_create_logout_detector Probely Create Logout Detector

Create a logout detector for a target.

ParameterTypeDescription
detector_type *stringType of detector - 'text' (text that appears after logout), 'url' (redirect URL after logout), or 'sel' (CSS selector after logout)
targetId *stringThe target ID
value *stringThe value for the detector (e.g., "Login", "/login", ".login-form")

probely_configure_logout_detection Probely Configure Logout Detection

Configure logout detection for a target. This helps the scanner detect when it needs to re-authenticate. The Probely API requires BOTH check_session_url AND at least one logout detector to be defined before logout detection can be enabled. This function handles the proper ordering automatically. When no detector is specified, the tool automatically extracts a CSS selector from the target's login sequence (typically the username field) and uses it as the logout detector. This is the most reliable approach: if the login form elements appear on the page, the user is logged out.

ParameterTypeDescription
targetId *stringThe target ID
check_session_urlURL to check if session is still valid. Should return 200 when logged in, and 401/403 when logged out. Common examples: /api/me, /api/user, /api/session
enabledbooleanWhether to enable logout detection (default: True)
logout_conditionWhen to consider the target logged out based on detectors. 'any' (default) = logged out if ANY detector matches (OR logic). 'all' = logged out only if ALL detectors match (…
logout_detector_typeType of logout detector to create if none exist. Options: 'sel' (CSS selector - recommended), 'text' (text after logout), 'url' (redirect URL). If not provided, aut…
logout_detector_valueValue for the logout detector. Required if logout_detector_type is provided.

probely_list_extra_hosts Probely List Extra Hosts

ParameterTypeDescription
targetId *string
page

probely_get_extra_host Probely Get Extra Host

ParameterTypeDescription
extraHostId *string
targetId *string

probely_create_extra_host Probely Create Extra Host

ParameterTypeDescription
hostname *string
ip_address *string
targetId *string

probely_update_extra_host Probely Update Extra Host

ParameterTypeDescription
extraHostId *string
targetId *string
hostname
ip_address

probely_delete_extra_host Probely Delete Extra Host

ParameterTypeDescription
extraHostId *string
targetId *string

probely_list_scans Probely List Scans

ParameterTypeDescription
targetId *string
page

probely_get_scan Probely Get Scan

ParameterTypeDescription
scanId *string
targetId *string

probely_start_scan Probely Start Scan

ParameterTypeDescription
targetId *string
profile

probely_stop_scan Probely Stop Scan

ParameterTypeDescription
scanId *string
targetId *string

probely_cancel_scan Probely Cancel Scan

ParameterTypeDescription
scanId *string
targetId *string

probely_list_findings Probely List Findings

ParameterTypeDescription
targetId *string
page
severity
state

probely_get_finding Probely Get Finding

ParameterTypeDescription
findingId *string
targetId *string

probely_update_finding Probely Update Finding

ParameterTypeDescription
findingId *string
targetId *string
state

probely_bulk_update_findings Probely Bulk Update Findings

Bulk update finding states (e.g. fixed, false_positive, accepted_risk). This tool will automatically ask the user for confirmation.

ParameterTypeDescription
findingIds *array
targetId *string
state

probely_get_target_settings Probely Get Target Settings

ParameterTypeDescription
targetId *string

probely_update_target_settings Probely Update Target Settings

ParameterTypeDescription
targetId *string
excluded_paths
max_scan_duration
scan_profile

probely_create_scanreport Probely Create Scanreport

Create a report for a scan. Returns report metadata including the report ID.

ParameterTypeDescription
scanId *stringThe scan ID to generate the report for
formatstringFile format - "pdf" or "html"
report_typestringType of report - "default", "executive", "owasp", "pci", "hipaa", "iso27001"

probely_downloadreport Probely Downloadreport

Download a report by its ID.

ParameterTypeDescription
reportId *string

probely_getreport Probely Getreport

Get report metadata/status by ID.

ParameterTypeDescription
reportId *string

probely_list_scanning_agents Probely List Scanning Agents

List scanning agents. Use status to filter: 'connected', 'connected_with_issues', 'disconnected'.

ParameterTypeDescription
length
page
search
status

probely_get_scanning_agent Probely Get Scanning Agent

Get details of a specific scanning agent.

ParameterTypeDescription
agentId *string

probely_create_api_target_from_postman Probely Create Api Target From Postman

Create an API target from a Postman collection. Provide either postman_collection_url or postman_collectionjson. Set allow_duplicate=True to create a target even if another target with the same URL already exists. This is useful when you want multiple targets for the same URL with different configurations (e.g., different auth methods, different test scenarios). If target creation fails because the target is unreachable or the domain cannot be resolved, ask the user whether to retry with skip_reachability_check=True. IMPORTANT: The response contains a top-level ``id`` (the target ID) and a…

ParameterTypeDescription
name *string
target_url *string
allow_duplicateboolean
desc
labels
postman_collection_url
postman_collectionjson
skip_reachability_checkboolean

probely_create_api_target_from_openapi Probely Create Api Target From Openapi

Create an API target from an OpenAPI/Swagger schema. Provide either openapi_schema_url or openapi_schemajson. When the user provides openapi_schema_url, do not fetch the openapi_schemajson from that url. Set allow_duplicate=True to create a target even if another target with the same URL already exists. This is useful when you want multiple targets for the same URL with different configurations (e.g., different auth methods, different test scenarios). If target creation fails because the target is unreachable or the domain cannot be resolved, ask the user whether to retry with skip_reachabil…

ParameterTypeDescription
name *string
target_url *string
allow_duplicateboolean
desc
labels
openapi_schema_url
openapi_schemajson
skip_reachability_checkboolean