Skip to content

Commit 2db90da

Browse files
authored
Add Snyk MCP server (#205)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 0f8653d commit 2db90da

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

servers/com.snyk-mcp-npx.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.snyk-mcp-npx",
4+
"name": "Snyk (npx)",
5+
"alias": "snyk",
6+
"description": "Official Snyk MCP server, shipped inside the Snyk CLI. Scans code, open-source dependencies, containers, and IaC for vulnerabilities directly from your AI agent, surfacing security issues and fix guidance during development.",
7+
"logo": "https://avatars.githubusercontent.com/u/12959162?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"security"
11+
],
12+
"tags": [
13+
"snyk",
14+
"security",
15+
"vulnerabilities",
16+
"sca",
17+
"sast",
18+
"dependencies",
19+
"code-scanning"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"snyk",
27+
"mcp",
28+
"-t",
29+
"stdio",
30+
"--experimental"
31+
],
32+
"env": {
33+
"SNYK_TOKEN": "${input:SNYK_TOKEN}"
34+
},
35+
"metadata": {
36+
"inputs": [
37+
{
38+
"id": "SNYK_TOKEN",
39+
"label": "Snyk API Token",
40+
"description": "Snyk account API token used to authenticate the CLI. Find it in your Snyk Account Settings under 'API Token'. Alternatively you can authenticate the CLI interactively with 'snyk auth'.",
41+
"type": "text",
42+
"required": true,
43+
"secret": true,
44+
"placeholder": "********-****-****-****-************",
45+
"obtain": {
46+
"url": "https://app.snyk.io/account",
47+
"instructions": "1. Sign in to Snyk at https://app.snyk.io\n2. Click your name (top right) and choose 'Account Settings'\n3. Under 'API Token', click 'Show' (or 'Click to show')\n4. Copy the token value",
48+
"button_label": "Get API Token"
49+
}
50+
}
51+
]
52+
}
53+
},
54+
"auth": {
55+
"type": "api_key",
56+
"instructions": "Set SNYK_TOKEN to your Snyk account API token (Snyk > Account Settings > API Token), or authenticate the CLI interactively with 'snyk auth'."
57+
},
58+
"contributor": {
59+
"name": "Snyk",
60+
"github": "snyk",
61+
"url": "https://snyk.io"
62+
},
63+
"links": {
64+
"repository": "https://github.com/snyk/cli",
65+
"homepage": "https://snyk.io",
66+
"documentation": "https://docs.snyk.io/developer-tools/snyk-cli/developer-guardrails-for-agentic-workflows/snyk-mcp-experimental"
67+
},
68+
"platforms": [
69+
"all"
70+
],
71+
"capabilities": {
72+
"tools": true,
73+
"resources": false,
74+
"prompts": false,
75+
"read_only_mode": false
76+
},
77+
"changelog_url": "https://github.com/snyk/cli/releases"
78+
}

0 commit comments

Comments
 (0)