Skip to content

Commit fbd5d24

Browse files
committed
adding support for dxt extension
1 parent 6023468 commit fbd5d24

File tree

4 files changed

+61
-1
lines changed

4 files changed

+61
-1
lines changed

.dxtignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.log
2+
.vscode/
3+
.claude/
4+
*mock-client*
5+
Dockerfile

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ node_modules/
22
*.log
33
.vscode/
44
build/
5-
.claude/
5+
.claude/
6+
.DS_Store
7+
socket-mcp.dxt

manifest.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"dxt_version": "0.1",
3+
"name": "Socket MCP Server",
4+
"version": "0.0.8",
5+
"description": "Socket MCP server for scanning dependencies",
6+
"author": {
7+
"name": "Alexandros Kapravelos",
8+
"email": "[email protected]",
9+
"url": "https://github.com/kapravel/"
10+
},
11+
"homepage": "https://github.com/SocketDev/socket-mcp",
12+
"documentation": "https://github.com/SocketDev/socket-mcp",
13+
"server": {
14+
"type": "node",
15+
"entry_point": "./build/index.js",
16+
"mcp_config": {
17+
"command": "node",
18+
"args": [
19+
"${__dirname}/./build/index.js"
20+
],
21+
"env": {
22+
"SOCKET_API_KEY": "${user_config.SOCKET_API_KEY}"
23+
}
24+
}
25+
},
26+
"tools": [
27+
{
28+
"name": "depscore",
29+
"description": "The depscore tool allows AI assistants to query the Socket API for dependency scoring information. It provides comprehensive security and quality metrics for packages across different ecosystems."
30+
}
31+
],
32+
"user_config": {
33+
"SOCKET_API_KEY": {
34+
"type": "string",
35+
"title": "Socket API key",
36+
"description": "API key for interacting with the Socket API",
37+
"required": true,
38+
"sensitive": true
39+
}
40+
},
41+
"keywords": [
42+
"socket",
43+
"security",
44+
"dependencies",
45+
"vibecoding"
46+
],
47+
"license": "MIT",
48+
"repository": {
49+
"type": "git",
50+
"url": "https://github.com/SocketDev/socket-mcp"
51+
}
52+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"scripts": {
1010
"build": "tsc && tsc -p tsconfig.mock-client.json && chmod 755 ./build/index.js && (chmod 755 ./build/mock-client/*.js 2>/dev/null || true)",
11+
"build:dxt": "dxt pack",
1112
"debug:stdio": "node ./build/mock-client/debug-client.js",
1213
"debug:sdk": "node ./build/mock-client/stdio-client.js",
1314
"debug:http": "node ./build/mock-client/http-client.js",

0 commit comments

Comments
 (0)