@modelcontextprotocol/server-everything 2025.4.8 → 2025.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/dist/everything.js +18 -2
- package/package.json +2 -2
package/README.md
CHANGED
@@ -143,3 +143,32 @@ Add to your `claude_desktop_config.json`:
|
|
143
143
|
}
|
144
144
|
}
|
145
145
|
```
|
146
|
+
|
147
|
+
## Usage with VS Code
|
148
|
+
|
149
|
+
For quick installation, use of of the one-click install buttons below...
|
150
|
+
|
151
|
+
[](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-everything%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-everything%22%5D%7D&quality=insiders)
|
152
|
+
|
153
|
+
[](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D&quality=insiders)
|
154
|
+
|
155
|
+
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
|
156
|
+
|
157
|
+
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
|
158
|
+
|
159
|
+
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
|
160
|
+
|
161
|
+
#### NPX
|
162
|
+
|
163
|
+
```json
|
164
|
+
{
|
165
|
+
"mcp": {
|
166
|
+
"servers": {
|
167
|
+
"everything": {
|
168
|
+
"command": "npx",
|
169
|
+
"args": ["-y", "@modelcontextprotocol/server-everything"]
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
```
|
package/dist/everything.js
CHANGED
@@ -76,10 +76,12 @@ export const createServer = () => {
|
|
76
76
|
resources: { subscribe: true },
|
77
77
|
tools: {},
|
78
78
|
logging: {},
|
79
|
+
completions: {},
|
79
80
|
},
|
80
81
|
});
|
81
82
|
let subscriptions = new Set();
|
82
83
|
let subsUpdateInterval;
|
84
|
+
let stdErrUpdateInterval;
|
83
85
|
// Set up update interval for subscribed resources
|
84
86
|
subsUpdateInterval = setInterval(() => {
|
85
87
|
for (const uri of subscriptions) {
|
@@ -88,7 +90,7 @@ export const createServer = () => {
|
|
88
90
|
params: { uri },
|
89
91
|
});
|
90
92
|
}
|
91
|
-
},
|
93
|
+
}, 10000);
|
92
94
|
let logLevel = "debug";
|
93
95
|
let logsUpdateInterval;
|
94
96
|
const messages = [
|
@@ -114,7 +116,19 @@ export const createServer = () => {
|
|
114
116
|
};
|
115
117
|
if (!isMessageIgnored(message.params.level))
|
116
118
|
server.notification(message);
|
117
|
-
},
|
119
|
+
}, 20000);
|
120
|
+
// Set up update interval for stderr messages
|
121
|
+
stdErrUpdateInterval = setInterval(() => {
|
122
|
+
const shortTimestamp = new Date().toLocaleTimeString([], {
|
123
|
+
hour: '2-digit',
|
124
|
+
minute: '2-digit',
|
125
|
+
second: '2-digit'
|
126
|
+
});
|
127
|
+
server.notification({
|
128
|
+
method: "notifications/stderr",
|
129
|
+
params: { content: `${shortTimestamp}: A stderr message` },
|
130
|
+
});
|
131
|
+
}, 30000);
|
118
132
|
// Helper method to request sampling from client
|
119
133
|
const requestSampling = async (context, uri, maxTokens = 100) => {
|
120
134
|
const request = {
|
@@ -567,6 +581,8 @@ export const createServer = () => {
|
|
567
581
|
clearInterval(subsUpdateInterval);
|
568
582
|
if (logsUpdateInterval)
|
569
583
|
clearInterval(logsUpdateInterval);
|
584
|
+
if (stdErrUpdateInterval)
|
585
|
+
clearInterval(stdErrUpdateInterval);
|
570
586
|
};
|
571
587
|
return { server, cleanup };
|
572
588
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@modelcontextprotocol/server-everything",
|
3
|
-
"version": "2025.4.
|
3
|
+
"version": "2025.4.25",
|
4
4
|
"description": "MCP server that exercises all the features of the MCP protocol",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"start:sse": "node dist/sse.js"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@modelcontextprotocol/sdk": "1.0
|
24
|
+
"@modelcontextprotocol/sdk": "^1.9.0",
|
25
25
|
"express": "^4.21.1",
|
26
26
|
"zod": "^3.23.8",
|
27
27
|
"zod-to-json-schema": "^3.23.5"
|