We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eef96b4 + 534d0de commit 5a7672cCopy full SHA for 5a7672c
src/core/MCPServer.ts
@@ -15,7 +15,7 @@ import { ToolProtocol } from "../tools/BaseTool.js";
15
import { PromptProtocol } from "../prompts/BasePrompt.js";
16
import { ResourceProtocol } from "../resources/BaseResource.js";
17
import { readFileSync } from "fs";
18
-import { join } from "path";
+import { join, resolve, dirname } from "path";
19
import { logger } from "./Logger.js";
20
import { ToolLoader } from "../loaders/toolLoader.js";
21
import { PromptLoader } from "../loaders/promptLoader.js";
@@ -494,9 +494,6 @@ export class MCPServer {
494
}
495
496
497
-
498
499
500
async stop() {
501
if (!this.isRunning) {
502
logger.debug("Stop called, but server not running.");
0 commit comments