Snyk API & Web MCP Server

io.github.snyk由 GitHub 帳號 snyk 發布v1.1.2更新於 Oct 24, 2026

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

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

將 AI 助理連接到 Snyk API & Web(原 Probely),用來加入掃描目標、執行 DAST 掃描並分類處理弱點發現。

可以做什麼
加入並設定掃描目標,包括依 OpenAPI、Swagger 或 Postman 定義建立的 API 目標,以及含登入流程或簡單表單登入(probely_configure_form_login)的 Web 目標。對已設定的目標執行 DAST 安全掃描。檢視並分類處理掃描產生的弱點發現。透過 playwright-cli 或 Playwright MCP 在真實瀏覽器中錄製 Web 登入流程,再以 Probely 序列錄製格式上傳。
適用情境
適合希望由助理在 Snyk API & Web 中建置並執行動態應用程式安全測試的情況,例如加入新的 API 或需登入的 Web 應用程式,接著檢視並分類處理發現的問題,而不必切換到 Web 主控台。
執行需求
本機 Python 程序(Python 3.10+),通常以 uvx 啟動。需要 Snyk API & Web API 金鑰,放在 MCP_SAW_API_KEY 環境變數中(也可用 .env 檔或設定檔)。錄製 Web 登入需要 Node.js 18+ 與 npm 及 playwright-cli,或將 Playwright MCP 作為第二個伺服器;只用表單登入時可不裝。需要連線到 Snyk API & Web 平台的網路存取。
安裝前請注意
需要 Snyk API & Web API 金鑰(MCP_SAW_API_KEY);README 建議使用自訂角色、權限受限的金鑰,而非高權限或全域金鑰,並提醒不要提交明文金鑰。助理會建立與修改掃描目標並上傳登入序列,掃描會對所設定的目標送出流量。被掃描 Web 應用程式的登入憑證會在提示中傳入並由瀏覽器自動化使用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Snyk API & Web MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[SAW MCP Banner]

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 new SAW / saw naming.

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+
  • Node.js 18+ and npm (for web target login recording via playwright-cli; optional if using Playwright MCP instead)
  • Snyk API & Web API key

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:

  1. Open the Snyk API & Web plugin page and click Install, or go to Settings → Plugins and search for Snyk API & Web
  2. Set your API key as an environment variable before launching Cursor:
    bash
    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:

  1. Open Devin and go to Settings → Configuration.
  2. Under MCP servers, click Open MCP Marketplace.
  3. Search for Snyk API & Web and click Install.
  4. When prompted, enter your API key.

No manual configuration needed — Devin handles the setup automatically.

One-command install (any MCP client)
bash
uvx --from git+https://github.com/snyk/saw-mcp.git saw-mcp

Or add to your MCP client configuration:

json
{  "mcpServers": {    "SAW": {      "command": "uvx",      "args": ["--from", "git+https://github.com/snyk/saw-mcp.git", "saw-mcp"],      "env": {        "MCP_SAW_API_KEY": "your-api-key"      }    }  }}
Alternative installation methods

Install from release tarball

bash
tar -xzvf SnykAPIWeb-<version>.tgzcd SnykAPIWebpython -m venv venvsource venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txt

Download from Releases and replace <version> with the actual version number (e.g., 1.0.0).

Clone from source

bash
git clone https://github.com/snyk/saw-mcp.gitcd saw-mcppython -m venv venvsource venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txt

3. 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)

bash
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):

bash
./scripts/setup-env.sh

Or 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:

bash
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 variable

Avoid committing a plaintext key. config/config.yaml is 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:

bash
npm install -g @playwright/cli@latestplaywright-cli install-browser chromium

Or 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:

json
{  "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.

Additional configuration options
  • Override the base URL: add "MCP_SAW_BASE_URL": "https://your-instance-url" to the env block.
  • 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:

PathBest forSetup
playwright-cli (preferred)Cursor, Devin, Claude Code, Cloud Agents with Shellnpm install -g @playwright/cli@latest && playwright-cli install-browser chromium
Playwright MCP (fallback)MCP-only clients without Shell (e.g. Claude Desktop)Add Playwright MCP to your IDE's MCP config

Workflow:

  1. Prompt with the target URL and credentials — e.g. "Add target example.com with credentials [email protected] / password123".
  2. The AI records the login in a browser (playwright-cli or Playwright MCP).
  3. 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/:

HostGuide
Cursorinstall-cursor.md
Claude Desktopinstall-claude.md
Devin / Other IDEsinstall-devin.md

Packaging

bash
bash scripts/package.sh

Creates 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:

bash
./venv/bin/python -m snyk_apiweb.server

Development Mode (hot reload)

For active development with automatic reload on file changes:

bash
./scripts/dev.sh

License

This project is licensed under the Apache License 2.0.

來源:README.md,提交 9b687c6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分