Skip to main content
Glama
mattjlee

Snyk MCP Server

by mattjlee

Snyk MCP Server

An MCP server to interface with Snyk API and retrieve KPI data.

Prerequisites

  • Python 3.11+

  • Snyk API Token

  • Snyk Organization ID

Related MCP server: Snyk Studio MCP

Installation

  1. Clone the repository.

  2. Create a virtual environment and install dependencies:

    python -m venv .venv
    .\.venv\Scripts\pip install -e .

Configuration

Set the following environment variables:

  • SNYK_API_TOKEN: Your Snyk API Token.

  • SNYK_ORG_ID: Your Snyk Organization ID.

Running Locally

# Run using fastmcp CLI (installed with dependencies)
fastmcp run snyk_mcp.server:mcp

Running with Docker

  1. Build the image:

    docker build -t snyk-mcp .
  2. Run the container:

    docker run -e SNYK_API_TOKEN=your_token -e SNYK_ORG_ID=your_org_id -i snyk-mcp

Usage with VS Code (Claude Desktop / etc)

Add this to your MCP settings file:

{
  "mcpServers": {
    "snyk": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SNYK_API_TOKEN=your_token",
        "-e",
        "SNYK_ORG_ID=your_org_id",
        "snyk-mcp"
      ]
    }
  }
}

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    A standalone server enabling Snyk security scanning through the Model Context Protocol, with support for repository and project analysis, token verification, and CLI integration.
    15
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that enables easy integration with coding assistants, providing security context to AI agents. This runs locally using the Snyk CLI.
    55
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    A remote MCP server that exposes mock application security testing data (applications, scans, issues) for LLM clients to query security posture using natural language.
    -