You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,6 @@ The `depscore` tool allows AI assistants to query the Socket API for dependency
14
14
-`depname`: The name of the dependency.
15
15
-`version`: The version of the dependency. Defaults to "unknown".
16
16
17
-
**Example usage:**
18
-
19
-
```text
20
-
depscore("npm", "express", "4.18.2")
21
-
```
22
-
23
17
## Configuration
24
18
25
19
### Getting an API key
@@ -29,6 +23,9 @@ To use the Socket MCP Server, you need to create an API key. You can do this by
29
23
30
24
### Usage with Claude Desktop
31
25
26
+
> [!NOTE]
27
+
> Custom integrations are not available to all paid versions of Claude. Check [here](https://support.anthropic.com/en/articles/11175166-about-custom-integrations-using-remote-mcp) for more information.
28
+
32
29
To use this MCP server with Claude Desktop:
33
30
34
31
1. Install the Socket MCP server:
@@ -43,11 +40,11 @@ To use this MCP server with Claude Desktop:
43
40
export SOCKET_API_KEY=your_api_key_here
44
41
```
45
42
46
-
3. In Claude Desktop, go to Settings > Assistants > Add Custom Tool.
43
+
3. In Claude Desktop, go to Settings > Integrations > Add Custom Integration.
47
44
48
45
4. Enter the following:
49
46
- Name: Socket
50
-
- Command: `depscore`
47
+
- Command: `socket-mcp`
51
48
- Save the configuration.
52
49
53
50
5. Now you can ask Claude questions like "Check the security score for express version 4.18.2".
@@ -57,7 +54,7 @@ To use this MCP server with Claude Desktop:
57
54
For quick installation, you can use the following link to install the Socket MCP server in VS Code:
58
55
59
56
60
-
[](vscode:mcp/install?%7B%22name%22%3A%22socket-mcp%22%2C%22inputs%22%3A%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22socket_api_key%22%2C%22description%22%3A%22Socket%20API%20Key%22%2C%22password%22%3Atrue%7D%5D%2C%22command%22%3A%22depscore%22%2C%22type%22%3A%22stdio%22%2C%22env%22%3A%7B%22SOCKET_API_KEY%22%3A%22%24%7Binput%3Asocket_api_key%7D%22%7D%7D)
57
+
[](vscode:mcp/install?%7B%22name%22%3A%22socket-mcp%22%2C%22inputs%22%3A%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22socket_api_key%22%2C%22description%22%3A%22Socket%20API%20Key%22%2C%22password%22%3Atrue%7D%5D%2C%22command%22%3A%22socket-mcp%22%2C%22type%22%3A%22stdio%22%2C%22env%22%3A%7B%22SOCKET_API_KEY%22%3A%22%24%7Binput%3Asocket_api_key%7D%22%7D%7D)
61
58
62
59
63
60
To use this MCP server in VS Code:
@@ -83,7 +80,7 @@ To use this MCP server in VS Code:
83
80
"servers": {
84
81
"socket-mcp": {
85
82
"type": "stdio",
86
-
"command": "depscore",
83
+
"command": "socket-mcp",
87
84
"args": [],
88
85
"env": {
89
86
"SOCKET_API_KEY": "${input:socket_api_key}"
@@ -128,7 +125,7 @@ To build the project:
128
125
npm run build
129
126
```
130
127
131
-
This compiles the TypeScript files and makes the binary executable called `depscore`.
128
+
This compiles the TypeScript files and makes the binary executable called `socket-mcp`.
132
129
133
130
## Run
134
131
@@ -143,20 +140,20 @@ After installing globally, you can run the executable directly:
143
140
144
141
```bash
145
142
export SOCKET_API_KEY=your_api_key_here
146
-
depscore
143
+
socket-mcp
147
144
```
148
145
149
146
### Global Installation
150
147
151
-
To install the tool globally and make the `depscore` command available system-wide:
148
+
To install the tool globally and make the `socket-mcp` command available system-wide:
152
149
153
150
```bash
154
151
npm install -g .
155
152
```
156
153
157
-
After global installation, you can use the `depscore` command from anywhere:
154
+
After global installation, you can use the `socket-mcp` command from anywhere:
0 commit comments