Skip to content

Commit 78e5a17

Browse files
authored
Merge pull request #2469 from modelcontextprotocol/fix/remove-stderr
Remove out-of-specification sending of `notifications/stderr`
2 parents a863125 + 3a297d8 commit 78e5a17

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/everything/everything.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,6 @@ export const createServer = () => {
209209
}, 20000);
210210

211211

212-
// Set up update interval for stderr messages
213-
stdErrUpdateInterval = setInterval(() => {
214-
const shortTimestamp = new Date().toLocaleTimeString([], {
215-
hour: "2-digit",
216-
minute: "2-digit",
217-
second: "2-digit"
218-
});
219-
server.notification({
220-
method: "notifications/stderr",
221-
params: { content: `${shortTimestamp}: A stderr message` },
222-
});
223-
}, 30000);
224212

225213
// Helper method to request sampling from client
226214
const requestSampling = async (

0 commit comments

Comments
 (0)