インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Snyk をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI エージェントから Snyk を確認:組織、ターゲット、プロジェクト、全製品の脆弱性やその他の Issue を修正情報と依存パス付きで、さらに SBOM、依存関係、purl によるパッケージチェック、メンバー、Ignore、ポリシーを参照し、確認のうえでプロジェクトへのタグ付け、属性の設定、Issue の Ignore ができます。
こう聞いてみよう
Snyk のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Snyk をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Snyk + ChatGPT
AI エージェントから Snyk を確認:組織、ターゲット、プロジェクト、全製品の脆弱性やその他の Issue を修正情報と依存パス付きで、さらに SBOM、依存関係、purl によるパッケージチェック、メンバー、Ignore、ポリシーを参照し、確認のうえでプロジェクトへのタグ付け、属性の設定、Issue の Ignore ができます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
SNYK_API_URL, SNYK_TOKEN
ステップ 1 — 認証情報を取得
設定は約 3 分です。API の利用には Snyk の Enterprise プランが必要です。Free と Team のトークンは CLI と IDE でしか使えず、ここでは 401 か 403 になります。
- トークンを作成します。共有のコネクタには サービスアカウント が最適です。Organization または Group settings の Service accounts で、読み取りなら Org Collaborator、Ignore と属性の変更なら Org Admin のロールを付けます。自分用なら Account settings の Personal access tokens で作る パーソナルアクセストークン(最長 90 日で失効)か、Account settings の API トークンを使います。
tokenやBearerなどの接頭辞を付けずにSNYK_TOKENに貼り付けます。Authorization: token <key>として送信されます。SNYK_API_URLに、/restや/v1を付けずにリージョンの API を設定します:https://api.snyk.io(app.snyk.io)、https://api.us.snyk.io(app.us.snyk.io)、https://api.eu.snyk.io(app.eu.snyk.io)、https://api.au.snyk.io(app.au.snyk.io)、またはhttps://api.snykgov.io(Snyk for Government)。どれかは Snyk アプリのアドレスで分かります。- コネクタをインストールし、
snyk_get_selfを、続いてsnyk_list_orgsを実行して組織 ID を取得します。
このコネクタは Snyk の REST API(バージョン 2026-03-25)を使い、REST に相当するものがない部分では v1 API を使います。
ID: すべてのツールは組織のスラッグではなく ID(snyk_list_orgs で得られる UUID)を受け取ります。snyk_list_issues の REST の Issue ID は UUID です。v1 のツール(snyk_list_issue_paths、snyk_create_ignore、snyk_delete_ignore)は SNYK-JS-LODASH-567746 のような v1 の Issue ID を受け取ります。これは snyk_list_aggregated_issues の id、REST の Issue では attributes.problems[].id です。
読み取れるもの:
- インベントリ:
snyk_get_self、snyk_list_orgs、snyk_get_org、snyk_list_targetsとsnyk_get_target(リポジトリ、コンテナイメージ、CLI からのアップロード)、種類、取り込み元、タグ、属性、重大度別の最新 Issue 数を含むsnyk_list_projectsとsnyk_get_project、snyk_list_integrations(GitHub、GitLab、Bitbucket Cloud、Azure Repos、Docker Hub、ECR など)、snyk_list_org_members。 - Issue: 組織全体は
snyk_list_issues、1 つのプロジェクトはsnyk_list_project_issuesで、オープンソースの脆弱性とライセンス、Code、IaC、コンテナ、シークレットを対象とします。種類、effective_severity_level、状態(open、resolved)、Ignore の有無、日付で絞り込み、snyk_get_issueで影響を受けるパッケージのバージョンと対処法を確認します。 - 修正: オープンソースとコンテナのプロジェクト向けの
snyk_list_aggregated_issuesは、パッケージとバージョン、CVSS と優先度スコア、エクスプロイトの成熟度、アップグレードやパッチが可能か、修正済みバージョンを返します。snyk_list_issue_pathsは、脆弱なパッケージがプロジェクトに入り込むすべての依存パスを示します。 - サプライチェーン:
snyk_get_project_sbomはプロジェクトの最新スキャンの SBOM を CycloneDX 1.4 から 1.6(JSON または XML)か SPDX 2.3 JSON で出力し、snyk_list_dependenciesはパッケージがどのプロジェクトで使われているかを示し、snyk_list_package_issuesは追加する前にパッケージのバージョンを purl(例:pkg:npm/[email protected])でチェックします。 - Ignore:
snyk_list_project_ignores(v1、オープンソースとコンテナのプロジェクト)、そして Snyk Code や新しい製品が使う組織レベルの consistent ignore を扱うsnyk_list_policiesとsnyk_get_policy。
確認のうえで変更できるもの: snyk_add_project_tag と snyk_remove_project_tag(team:payments のようなキーと値)、snyk_set_project_attributes(ビジネス上の重要度、環境、ライフサイクル。渡したリストが古いものを置き換えます)、snyk_create_ignore。Ignore は脆弱性をテスト、レポート、プルリクエストのチェックから隠すため、AI は Issue、プロジェクト、理由の種類(not-vulnerable、wont-fix、temporary-ignore)、期限を示し、期限付きの一時的な Ignore を優先し、あなたの了承を得てから呼び出します。
インストール時に無効: snyk_delete_ignore。プロジェクト内の Issue の Ignore ルールを理由と履歴ごとすべて削除し、元に戻せません。そのため、チームが必要なときにワークスペースの管理者が有効にします。
データ形式: REST の応答は JSON:API で、フィールドは data[].attributes、関連する ID は relationships にあります。重大度は critical、high、medium、low(製品によっては info)です。effective_severity_level には組織が行った重大度の変更が反映されます。日付は UTC の ISO 8601 です。大きなプロジェクトの SBOM はサイズが大きくなります。
ページング: REST の一覧は limit(既定 20、最大 100)を受け取り、links.next を返します。AI は links.next がなくなるまで、そのリンク内の値を starting_after に設定して呼び出します。v1 のツールは page と perPage でページングします。
制限: Snyk の上限は、トークンあたり毎分約 1,620 回の REST リクエストと、ユーザーあたり毎分 2,000 回の v1 リクエストです。429 が返ったら 1 分待ってください。
よくあるエラー: 401 はトークンの誤り、期限切れ、失効、別リージョンのトークン(SNYK_API_URL を確認)、またはプランに API アクセスがないことを意味します。403 はトークンのロールではその組織での呼び出しが許可されていないことを意味します。404 は ID の誤り、または ID が必要な場所に組織のスラッグを渡したことを意味します。400 や 422 は誤ったパラメーターを示します。
このコネクタはテストやスキャンを開始せず、リポジトリをインポートせず、プロジェクトやターゲットの削除、無効化、移動も、組織レベルのポリシーの作成も行いません。グループレベルのレポート、監査ログ、設定、インテグレーションの設定、メンバーと招待、サービスアカウント、Snyk Apps、クラウドと AI-BOM のエンドポイントには対応していません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT では、Web 版の Plugins ページから MCP サーバーをプラグインとして追加します。有料プランで利用でき、開発者モードはもう必要ありません。Business ワークスペースで追加できるのは管理者とオーナーだけです。Enterprise・Edu では、管理者が Create plugins with MCPs 権限を付与できます。
- chatgpt.com/plugins を開き、Add をクリックして Add custom MCP server を選びます。
- 名前を入力します(例: Name:
Snyk)。 - Connection の Server URL に
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Authentication は OAuth のままにします。 - I understand and want to continue を選び、Create as a plugin をクリックします。ChatGPT に求められたら AnythingMCP にサインインし、アクセスを許可します。
- 個人用プラグインから新しいプラグインをインストールし、チャットで @ を入力して選択します。
利用可能なツール
| Tool | What it does |
|---|---|
snyk_get_self | Read the Snyk user or service account the token belongs to: id, name, username, email and default organization |
snyk_list_orgs | List the organizations the token can access: id, name, slug, group id and whether it is personal |
snyk_get_org | Read one organization: name, slug, group id and dates |
snyk_list_projects | List the projects of an organization (one per scanned manifest, container image, Code or IaC target): id, name, type, origin, target… |
snyk_get_project | Read one project: name, type, origin, target file and reference, status, test frequency, tags, attributes and the latest issue counts |
snyk_list_issues | List the issues of a whole organization across all products (open source vulnerabilities and licenses, Code, IaC, container, secrets): id… |
snyk_list_project_issues | List the issues of one project, with the same fields and filters as snyk_list_issues |
snyk_get_issue | Read one issue by its id from snyk_list_issues: title, severity, status, problems, coordinates with the affected package versions and… |
snyk_list_targets | List the targets of an organization (a repository, container image or CLI upload that holds projects): id, display name, URL, private flag… |
snyk_get_target | Read one target: display name, URL, private flag, source type and dates |
snyk_get_project_sbom | Export the software bill of materials (SBOM) of a project from its latest scan, in CycloneDX or SPDX: every component with version, purl… |
snyk_list_package_issues | Check one open source package version for known vulnerabilities before using it, by its package URL (purl), e.g. pkg:npm/[email protected] or… |
snyk_list_org_members | List the members of an organization: user id, name, username, email, login method and role |
snyk_list_policies | List the organization-level ignore policies (the consistent ignores used by Snyk Code and newer products): id, name, ignore type, reason… |
snyk_get_policy | Read one organization-level policy: its condition (the finding it matches), ignore type, reason, expiry and review state |
snyk_list_aggregated_issues | List the open source or container issues of one project with fix details from the v1 API: package and version, severity, CVSS and priority… |
snyk_list_issue_paths | Show how a vulnerable package gets into a project: every dependency path from the project to the issue, with the package versions along the… |
snyk_list_dependencies | List the open source dependencies used across an organization's projects: package name and version, type, licenses, how many issues by… |
snyk_list_project_ignores | List the ignores of one project (v1): for each issue id the ignore rules with reason, reason type, expiry, path and who created them |
snyk_list_integrations | List the SCM and registry integrations of an organization (github, gitlab, bitbucket-cloud, azure-repos, docker-hub, ecr ...) with their… |
snyk_add_project_tag | Add a tag (key and value) to a project, e.g. team:payments, to group and filter projects |
snyk_remove_project_tag | Remove a tag (key and value) from a project |
snyk_set_project_attributes | Set a project's business criticality, environment and lifecycle attributes, which feed prioritisation and reports |
snyk_create_ignore | Ignore an issue in a project (v1, open source and container projects), so it no longer counts in tests, reports and pull request checks |
snyk_delete_ignore | Delete all ignore rules of an issue in a project (v1), so it counts again in tests and reports |
プロンプトの例
- 「Snyk の組織で、今まだ未解決の critical な脆弱性があるプロジェクトはどれですか?」
- 「pkg:npm/[email protected] は使っても安全ですか? 安全でなければ、どのバージョンで修正されますか?」
- 「api-server プロジェクトで、アップグレードで直せる high の Issue はどれで、それぞれどの依存関係から入っていますか?」
- 「checkout-service プロジェクトの SBOM を CycloneDX JSON で出力してください。」
- 「web-frontend プロジェクトの SNYK-JS-LODASH-567746 を年末まで temporary-ignore で Ignore してください。理由は、自分たちのコードから到達できないためです。」
FAQ
ChatGPT の無料プランでカスタム MCP サーバーは使えますか? OpenAI がカスタム MCP サーバーを案内しているのは有料プランだけで、Free プランは対象に含まれていません。
次のステップ
このガイドは役に立ちましたか?