Snyk API & Web MCP Server
OfficialThis MCP server lets AI assistants manage Snyk API & Web (formerly Probely) DAST workflows through natural language.
Create, list, get, update, and delete web/API targets, including targets from OpenAPI/Swagger schemas or Postman collections.
Configure authentication: HTTP Basic Auth, API headers/cookies, form login fallback, recorded login sequences, TOTP/2FA, and logout detection.
Manage saved credentials securely via
credentials://URIs, plus labels, teams, users, target settings, and extra hosts.Start, list, get, stop, and cancel scans; list, inspect, update, and bulk-update findings.
Generate, inspect, and download PDF/HTML scan reports.
List and inspect scanning agents, and make raw advanced API requests for endpoints not covered by dedicated tools.
Allows to interact with Snyk API & Web to onboard scan targets, configure authentication, run DAST scans, and triage findings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Snyk API & Web MCP Server Configure a DAST scan for my web app at https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

Snyk API & Web MCP Server
Connect your AI coding assistant to Snyk API & Web so it can onboard scan targets, configure authentication, run DAST scans, and triage findings — all through natural language.
Built on FastMCP 2.0, works with Cursor, Claude Code, Devin, and any MCP-compatible client.
Naming note: Snyk API & Web was formerly known as Probely. The API endpoints (
api.probely.com), web console (plus.probely.app), and MCP tool names (probely_*) still use the legacy domain and prefix. Environment variables and config sections use the newSAW/sawnaming.
See USER_GUIDE.md for usage, examples, and tool reference.
This repository is closed to public contributions. We appreciate community interest, but we do not accept pull requests, issues, or other contributions from external contributors at this time. If you have found a security issue, please see SECURITY.md.
Requirements
Python 3.10+
uv (provides
uvx; required only for the one-command / MCPuvxinstall path — not for source or release-tarball installs)Node.js 18+ and npm (for web target login recording via
playwright-cli; optional if using Playwright MCP instead)Snyk API & Web API key
Related MCP server: Security-Use MCP Server
Quick Start
1. Get Your API Key
Go to https://plus.probely.app/api-keys and create an API key.
Important
Use a custom role, limited-scope API key for the Snyk API & Web MCP Server. Create the key only with the permissions required for the intended actions. Do not use a highly privileged or global API key, as this can affect your entire account and its resources.
2. Install
Cursor Marketplace (recommended for Cursor users)
Install directly from the Cursor Marketplace:
Open the Snyk API & Web plugin page and click Install, or go to Settings → Plugins and search for Snyk API & Web
Set your API key as an environment variable before launching Cursor:
export MCP_SAW_API_KEY="your-api-key"
The plugin installs the MCP server, rules, and skills automatically.
Devin MCP Marketplace (Devin users)
Install directly from Devin's MCP Marketplace:
Open Devin and go to Settings → Configuration.
Under MCP servers, click Open MCP Marketplace.
Search for Snyk API & Web and click Install.
When prompted, enter your API key.
No manual configuration needed — Devin handles the setup automatically.
One-command install (any MCP client)
Requires uv installed (uv provides uvx). Source and release-tarball alternatives below do not need uv.
uvx --from git+https://github.com/snyk/saw-mcp.git saw-mcpOr add to your MCP client configuration:
{
"mcpServers": {
"SAW": {
"command": "uvx",
"args": ["--from", "git+https://github.com/snyk/saw-mcp.git", "saw-mcp"],
"env": {
"MCP_SAW_API_KEY": "your-api-key"
}
}
}
}Install from release tarball
tar -xzvf SnykAPIWeb-<version>.tgz
cd SnykAPIWeb
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtDownload from Releases and replace <version> with the actual version number (e.g., 1.0.0).
Clone from source
git clone https://github.com/snyk/saw-mcp.git
cd saw-mcp
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt3. Store Your API Key
The server reads your API key from (in order of precedence): environment variable MCP_SAW_API_KEY → .env file → config/config.yaml.
Option A: Environment variable (recommended for Marketplace / uvx installs)
export MCP_SAW_API_KEY="your-api-key"Option B: .env file (recommended for source installs)
Run the setup script (prompts securely, no key in shell history):
./scripts/setup-env.shOr pipe from a secret manager: op read 'op://vault/item/key' | ./scripts/setup-env.sh
This writes a .env file in the project root (gitignored). The server loads it automatically at startup.
Option C: Secret reference (avoids storing the key in plaintext anywhere)
MCP_SAW_API_KEY and the config api_key field also accept a reference that is resolved at runtime, so the literal key never sits in a file:
export MCP_SAW_API_KEY="op://vault/saw-mcp/api-key" # resolved via the 1Password CLI (`op`)
export MCP_SAW_API_KEY="env:MY_SAW_KEY" # read from another environment variableAvoid committing a plaintext key.
config/config.yamlis gitignored, and a plaintext key read from it logs a warning at startup.
4. Install Browser Automation (web targets with login)
Web target onboarding records login sequences in a real browser. Preferred for coding agents: playwright-cli via Shell:
npm install -g @playwright/cli@latest
playwright-cli install-browser chromiumOr run ./scripts/setup-playwright.sh from a cloned repo.
Alternative: install Playwright MCP as a second MCP server (better for MCP-only clients without Shell). See Web target prerequisites.
5. Configure Your IDE
If you installed from the Cursor or Devin marketplace, configuration is automatic. For other clients, add to your MCP client configuration:
{
"mcpServers": {
"SAW": {
"command": "uvx",
"args": ["--from", "git+https://github.com/snyk/saw-mcp.git", "saw-mcp"],
"env": {
"MCP_SAW_API_KEY": "your-api-key"
}
}
}
}For host-specific setup see the Installation Guides.
Override the base URL: add
"MCP_SAW_BASE_URL": "https://your-instance-url"to theenvblock.Use a config file: set
"MCP_SAW_CONFIG_PATH": "/path/to/config.yaml"instead.Set log level: add
"MCP_SAW_LOG_LEVEL": "DEBUG"(options: DEBUG, INFO, WARNING, ERROR, CRITICAL; default: INFO).
6. Start Using
Ask your AI assistant to:
"Configure a Snyk API & Web API target from this OpenAPI schema / Swagger document / Postman collection."
"Configure a Snyk API & Web web target for this authenticated application."
See prompts.md for a full catalog of example prompts — from simple one-liners to complex multi-target workflows.
Web target prerequisites
The SAW MCP server talks to the Snyk API & Web platform — it does not include a browser. To onboard web targets with login sequences, the AI needs browser automation via one of:
Path | Best for | Setup |
| Cursor, Devin, Claude Code, Cloud Agents with Shell |
|
Playwright MCP (fallback) | MCP-only clients without Shell (e.g. Claude Desktop) | Add Playwright MCP to your IDE's MCP config |
Workflow:
Prompt with the target URL and credentials — e.g. "Add target example.com with credentials user@example.com / password123".
The AI records the login in a browser (
playwright-clior Playwright MCP).SAW MCP tools create the target and upload the sequence in the Probely sequence-recorder format.
Without browser automation, the AI falls back to form login (probely_configure_form_login) — simple single-page login only; no multi-step flows or 2FA.
See the Cursor installation guide for setup details.
IDE Integration
Detailed per-host guides live in docs/installation-guides/:
Host | Guide |
Cursor | |
Claude Desktop | |
Devin / Other IDEs |
Packaging
bash scripts/package.shCreates dist/SnykAPIWeb-<version>.tgz (version from snyk_apiweb/__init__.py).
Development & Testing
Run the Server (standalone)
Running the server directly starts it and waits for an MCP client connection. This is mainly useful for development and debugging:
./venv/bin/python -m snyk_apiweb.serverDevelopment Mode (hot reload)
For active development with automatic reload on file changes:
./scripts/dev.shLicense
This project is licensed under the Apache License 2.0.
Available Tools
51 toolsprobely_bulk_update_findingsB
Bulk update finding states (e.g. fixed, false_positive, accepted_risk). This tool will automatically ask the user for confirmation.
Inputs: targetId (required), findingIds (required), state. Returns: object
probely_cancel_scanD
Inputs: targetId (required), scanId (required). Returns: object
probely_configure_2fa_totpA
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.
Inputs: targetId (required), otp_secret (required), otp_algorithm, otp_digits. Returns: object
probely_configure_form_loginA
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.
Inputs: targetId (required), login_url (required), username_field (required), password_field (required), +3 more. Returns: object
probely_configure_logout_detectionA
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.
Inputs: targetId (required), enabled, check_session_url, logout_detector_type, +2 more. Returns: object
probely_configure_sequence_loginA
Enable or disable sequence-based login. Call this after creating a login sequence.
Inputs: targetId (required), enabled. Returns: object
probely_create_api_target_from_openapiA
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_reachability_check=True.
IMPORTANT: The response contains a top-level id (the target ID) and a nested
site.id (the site ID). Always use the top-level id as the targetId
parameter for all subsequent tool calls (update_target, start_scan, etc.).
Do NOT use the nested site.id field for target operations.
Inputs: name (required), target_url (required), openapi_schema_url, openapi_schemajson, +4 more. Returns: object
probely_create_api_target_from_postmanA
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 nested
site.id (the site ID). Always use the top-level id as the targetId
parameter for all subsequent tool calls (update_target, start_scan, etc.).
Do NOT use the nested site.id field for target operations.
Inputs: name (required), target_url (required), postman_collection_url, postman_collectionjson, +4 more. Returns: object
probely_create_credentialA
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.
Inputs: name (required), value (required), is_sensitive, description, +1 more. Returns: object
probely_create_extra_hostD
Inputs: targetId (required), hostname (required), ip_address (required). Returns: object
probely_create_labelD
Inputs: name (required), color. Returns: object
probely_create_logout_detectorC
Create a logout detector for a target.
Inputs: targetId (required), detector_type (required), value (required). Returns: object
probely_create_scanreportA
Create a report for a scan. Returns report metadata including the report ID.
Inputs: scanId (required), report_type, format. Returns: object
probely_create_sequenceA
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_PASSWORD]", "value": "credentials://<credential_id>", "value_is_sensitive": true, "enabled": true}]
When multiple targets share the same credential and it already exists and is_sensitive=True, prompt the user to deobfuscate it in order to allow reuse.
For username: [{"name": "[CUSTOM_USERNAME]", "value": "user@example.com", "value_is_sensitive": true, "enabled": true}]
Inputs: targetId (required), name (required), content (required), sequence_type, +2 more. Returns: object
probely_create_web_targetA
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 whether to retry with skip_reachability_check=True.
IMPORTANT: The response contains a top-level id (the target ID) and a nested
site.id (the site ID). Always use the top-level id as the targetId
parameter for all subsequent tool calls (sequences, scans, logout detection, etc.).
Inputs: name (required), url (required), desc, labels, +3 more. Returns: object
probely_delete_credentialD
Inputs: credentialId (required). Returns: object
probely_delete_extra_hostD
Inputs: targetId (required), extraHostId (required). Returns: object
probely_delete_sequenceD
Inputs: targetId (required), sequenceId (required). Returns: object
probely_delete_targetD
Inputs: targetId (required). Returns: object
probely_disable_2faC
Disable 2FA/OTP for a target.
Inputs: targetId (required). Returns: object
probely_downloadreportC
Download a report by its ID.
Inputs: reportId (required). Returns: object
probely_generate_totpA
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.
Inputs: secret (required), algorithm, digits, period. Returns: object
probely_get_credentialA
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.
Inputs: credentialId (required). Returns: object
probely_get_extra_hostD
Inputs: targetId (required), extraHostId (required). Returns: object
probely_get_findingD
Inputs: targetId (required), findingId (required). Returns: object
probely_getreportC
Get report metadata/status by ID.
Inputs: reportId (required). Returns: object
probely_get_scanD
Inputs: targetId (required), scanId (required). Returns: object
probely_get_scanning_agentC
Get details of a specific scanning agent.
Inputs: agentId (required). Returns: object
probely_get_sequenceC
Get details of a specific login sequence.
Inputs: targetId (required), sequenceId (required). Returns: object
probely_get_targetD
Inputs: targetId (required). Returns: object
probely_get_target_settingsD
Inputs: targetId (required). Returns: object
probely_get_teamD
Inputs: teamId (required). Returns: object
probely_get_userD
Inputs: userId (required). Returns: object
probely_list_credentialsA
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}}.
Inputs: page, search, is_sensitive, length. Returns: object
probely_list_extra_hostsD
Inputs: targetId (required), page. Returns: object
probely_list_findingsD
Inputs: targetId (required), page, severity, state. Returns: object
probely_list_logout_detectorsC
List all logout detectors for a target.
Inputs: targetId (required). Returns: object
probely_list_scanning_agentsC
List scanning agents. Use status to filter: 'connected', 'connected_with_issues', 'disconnected'.
Inputs: page, length, status, search. Returns: object
probely_list_scansD
Inputs: targetId (required), page. Returns: object
probely_list_sequencesB
List all login sequences for a target.
Inputs: targetId (required), page. Returns: object
probely_list_targetsD
Inputs: page, search. Returns: object
probely_list_teamsD
Inputs: page. Returns: object
probelyrequestA
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_credential. Do NOT use template syntax like {{cred-name}}.
Inputs: method (required), path (required), params, json, +1 more. Returns: object
probely_start_scanD
Inputs: targetId (required), profile. Returns: object
probely_stop_scanD
Inputs: targetId (required), scanId (required). Returns: object
probely_update_credentialC
Update a credential (partial update).
Inputs: credentialId (required), name, value, is_sensitive, +1 more. Returns: object
probely_update_extra_hostD
Inputs: targetId (required), extraHostId (required), hostname, ip_address. Returns: object
probely_update_findingD
Inputs: targetId (required), findingId (required), state. Returns: object
probely_update_sequenceC
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}]
Inputs: targetId (required), sequenceId (required), name, content, +2 more. Returns: object
probely_update_targetA
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( targetId, basic_auth_username="credentials://xxx", # or inline: "api-user" basic_auth_password="credentials://yyy" # or inline: "secret123" )
For API authentication with static headers/cookies: Use api_auth_headers and/or api_auth_cookies parameters with full structure including authentication flags. The tool automatically sets api_login_enabled=true and api_login_method='headers_or_cookies'. Example: probely_update_target( targetId, api_auth_headers=[{ "name": "X-API-Key", "value": "credentials://xxx", "value_is_sensitive": false, "allow_testing": false, "authentication": true, "authentication_secondary": false }], api_auth_cookies=[{ "name": "session", "value": "credentials://yyy", "value_is_sensitive": false, "allow_testing": false, "authentication": true, "authentication_secondary": false }] )
Reference saved credentials using URI format 'credentials://<credential_id>' (not {{cred-name}}).
Inputs: targetId (required), name, url, desc, +8 more. Returns: object
probely_update_target_settingsD
Inputs: targetId (required), excluded_paths, max_scan_duration, scan_profile. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 51 tools
Many tools lack descriptions (e.g., cancel_scan, create_label, delete_target), making it hard for agents to distinguish them. Additionally, tools like probelyrequest overlap with dedicated tools, increasing ambiguity.
Most tools follow a probely_verb_noun pattern, but a few deviate (downloadreport, getreport, probelyrequest) and one uses a number (configure_2fa_totp). Overall pattern is strong but not flawless.
With 51 tools, the server is far beyond the typical 3-15 well-scoped range. While it comprehensively wraps the Probely API, the large number can overwhelm agents and suggests lack of curation.
The set covers major domains (targets, scans, findings, credentials, authentication), but there are gaps like missing label management beyond creation and no update/delete for some resources. Some tools are missing descriptions, obscuring coverage.
Maintenance
Related MCP Connectors
Security scanner for AI-written code: SAST, secrets, dependencies, IaC, containers and DAST.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Scan websites and code for security, performance and SEO issues from your AI assistant.
Ask about your Kodem Security data and act on findings in plain language, with your permissions.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides security scanning capabilities through Snyk CLI tools and REST API, enabling AI assistants to test projects for vulnerabilities, retrieve security issues, and manage Snyk projects with comprehensive SAST, container, and infrastructure as code scanning.2MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to scan project dependencies and Infrastructure as Code files for security vulnerabilities and misconfigurations. It also provides automated fixing capabilities to remediate identified security issues.183MIT
- FlicenseAqualityDmaintenanceExposes Burp Suite's REST API to AI assistants, enabling users to trigger vulnerability scans, monitor progress, and manage security tasks through natural language. It also provides programmatic access to Burp's security knowledge base for querying vulnerability definitions and remediation advice.81-

Cybrium MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides AI coding assistants with real-time security scanning superpowers, including SAST, secrets detection, dependency CVE scanning, and web vulnerability assessment.15 npmApache 2.0