Snyk

{/* Generated by scripts/generate-integration-catalog.mjs. Do not edit by hand. */}

At a glance

Credentials

Set these per environment. See Connect an integration.

VariableRequiredDescription
SNYK_TOKENYesSnyk API token (personal token or service account token) Docs.

Setup

  1. Sign up for Snyk: Create a free account at https://app.snyk.io and import at least one repository so projects and issues exist to query.
  2. Get your API token: Go to Account Settings (https://app.snyk.io/account) and copy your personal API token, or create a service account token for shared use. Free plans include API access via the personal token.
  3. Set the environment variable: Add the token to your .env as SNYK_TOKEN=...
  4. Verify access: Run List Organizations, then List Projects with one of the returned org IDs.

Provider notes

  • Authentication uses 'Authorization: token <SNYK_TOKEN>' - the prefix is 'token', not 'Bearer'
  • Every REST API request requires a date-based ?version= query parameter; tools default to 2024-10-15
  • If your account is in a regional environment (e.g. US-02 at api.us.snyk.io), API hosts differ - these tools target the default https://api.snyk.io
  • Responses follow the JSON:API format: items are under data[] with attributes, pagination under links

Provider API reference.

Tools

ToolAccessDescription
List Organizations<br /><code className="reference-identifier">snyk__list_orgs</code>ReadList organizations
List Projects<br /><code className="reference-identifier">snyk__list_projects</code>ReadList projects
Get Project<br /><code className="reference-identifier">snyk__get_project</code>ReadGet project
List Issues<br /><code className="reference-identifier">snyk__list_issues</code>ReadList issues
Get Organization<br /><code className="reference-identifier">snyk__get_org</code>ReadGet organization

Verify the connection

Call a read tool such as snyk__list_orgs with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.