Snyk MCP Server
by mattjlee
README.md
# 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
## Installation
1. Clone the repository.
2. Create a virtual environment and install dependencies:
```powershell
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
```powershell
# Run using fastmcp CLI (installed with dependencies)
fastmcp run snyk_mcp.server:mcp
```
## Running with Docker
1. Build the image:
```bash
docker build -t snyk-mcp .
```
2. Run the container:
```bash
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:
```json
{
"mcpServers": {
"snyk": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SNYK_API_TOKEN=your_token",
"-e",
"SNYK_ORG_ID=your_org_id",
"snyk-mcp"
]
}
}
}
```
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues