Skip to content

Commit 1a0a8a5

Browse files
meysholdtona-agent
andcommitted
Add Snyk MCP server configuration
Add Node.js devcontainer feature to support npx and configure the official Snyk Studio MCP server (snyk mcp -t stdio) following https://docs.snyk.io/integrations/snyk-studio-agentic-integrations/getting-started-with-snyk-studio Co-authored-by: Ona <[email protected]>
1 parent 49170b1 commit 1a0a8a5

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"ghcr.io/devcontainers/features/azure-cli:1": {},
1010
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
11-
"ghcr.io/devcontainers/features/github-cli:1": {}
11+
"ghcr.io/devcontainers/features/github-cli:1": {},
12+
"ghcr.io/devcontainers/features/node:1": {}
1213
},
1314

1415
"customizations": {

.ona/mcp-config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"mcpServers": {
3+
"snyk": {
4+
"name": "snyk",
5+
"command": "npx",
6+
"args": [
7+
"-y",
8+
"snyk@latest",
9+
"mcp",
10+
"-t",
11+
"stdio",
12+
"--disable-trust"
13+
],
14+
"env": {
15+
"SNYK_TOKEN": "${exec:printenv SNYK_TOKEN}"
16+
},
17+
"timeout": 30
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)