Skip to content

Commit b14e07c

Browse files
committed
Update toolLoopSampling.ts
1 parent d46703f commit b14e07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/server/toolLoopSampling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ mcpServer.registerTool(
435435
}
436436
);
437437

438-
if (process.env.REGISTER_TOOLS) {
438+
if (process.env.REGISTER_TOOLS === "1") {
439439
registry.register(mcpServer);
440440
}
441441

0 commit comments

Comments
 (0)