Skip to main content

MCP server for Snyk vulnerability data

Project description

Snyk MCP Server

Custom MCP server for fetching vulnerability data from Snyk REST API.

Installation via uvx

uvx snyk-mcp-server@latest

MCP Configuration

Add to your MCP configuration:

{
  "mcpServers": {
    "snyk": {
      "command": "uvx",
      "args": ["snyk-mcp-server@latest"],
      "env": {
        "SNYK_API_TOKEN": "your_snyk_api_token_here",
        "SNYK_API_VERSION": "2024-06-21"
      }
    }
  }
}

Development

# Clone and install
git clone <repo>
cd snyk-mcp
uv sync

# Run locally
uv run python -m snyk_mcp_server.main

# Build package
uv build

MCP Tools

  • fetch_org_vulnerabilities(org_id: str) - Get all vulnerabilities for an organization
  • fetch_package_vulnerabilities(org_id: str, purl: str) - Get vulnerabilities for a specific package

Environment Variables

  • SNYK_API_TOKEN - Required Snyk API token
  • SNYK_API_VERSION - API version (default: 2024-06-21)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snyk_mcp_server-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snyk_mcp_server-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file snyk_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: snyk_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for snyk_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9872afa93be2ad9e983aa8dfc870d038598e6583669b784383db3b7ab6362794
MD5 90b14a8a39f4124071beb859854017e7
BLAKE2b-256 81630242cdc47b1bdd7442890327332ce716726c3720c0e6eba5e4b9810bd9df

See more details on using hashes here.

File details

Details for the file snyk_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for snyk_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 621d17524c429df9d3a86caa3720b9e747b12a291e30f97407ddbefc78d1c2c0
MD5 f8ae56a6a54bc35f7b12988dd1ca5c4f
BLAKE2b-256 506dc5c2a2714d6b3c08aa24575ba397d4fd1f370647ec8e98b9269cb3ba02c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page