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, Windsurf, 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.
- Python 3.10+
- Snyk API & Web 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.
Choose one of the following installation methods:
Option A: 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., 0.9.4).
Option B: 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.txtRun 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 — no env var needed in your IDE config.
Config precedence: environment variable →
.envfile →config/config.yaml
Add to your MCP client configuration (replace /<basedir>/saw-mcp with the absolute path to this repo):
{
"mcpServers": {
"SAW": {
"command": "/<basedir>/saw-mcp/venv/bin/python",
"args": ["-m", "snyk_apiweb.server"],
"env": {
"PYTHONPATH": "/<basedir>/saw-mcp"
}
}
}
}The server picks up your API key from .env (step 3) automatically. No key in the config block needed.
For host-specific setup see the Installation Guides.
Alternative configuration methods
- Pass the key directly: add
"MCP_SAW_API_KEY": "your-api-key"to theenvblock. - Override the base URL (e.g. staging): add
"MCP_SAW_BASE_URL": "https://api.staging.probely.dev". - Use a config file: set
"MCP_SAW_CONFIG_PATH": "/<basedir>/saw-mcp/config/config.yaml"instead. - Set log level: add
"MCP_SAW_LOG_LEVEL": "DEBUG"(options: DEBUG, INFO, WARNING, ERROR, CRITICAL; default: INFO).
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.
Detailed per-host guides live in docs/installation-guides/:
| Host | Guide |
|---|---|
| Cursor | install-cursor.md |
| Claude Desktop | install-claude.md |
| Devin / Other IDEs | install-devin.md |
bash scripts/package.shCreates dist/SnykAPIWeb-<version>.tgz (version from snyk_apiweb/__init__.py).
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.serverFor active development with automatic reload on file changes:
./scripts/dev.shThis project is licensed under the Apache License 2.0.
