Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

Revert "fix(dsh): launch MCP proxy with node command (#4263)" (#4343)

Zayn Jarvis028d34a0c8e8
diff --git a/examples/dsh-memory-plugin/mcp.mjs b/examples/dsh-memory-plugin/mcp.mjs
index 7b09b339e..06740ef9b 100644
--- a/examples/dsh-memory-plugin/mcp.mjs
+++ b/examples/dsh-memory-plugin/mcp.mjs
@@ -28,7 +28,7 @@ export function buildMcpConfig(config) {
return {
transport: "stdio",
serverName: MCP_SERVER_NAME,
- command: "node",
+ command: process.execPath,
args: [PROXY_PATH],
env,
toolCallTimeoutMs: config.mcpToolCallTimeoutMs,
diff --git a/examples/dsh-memory-plugin/mcp.test.mjs b/examples/dsh-memory-plugin/mcp.test.mjs
index 8c5169626..d671b3686 100644
--- a/examples/dsh-memory-plugin/mcp.test.mjs
+++ b/examples/dsh-memory-plugin/mcp.test.mjs
@@ -18,7 +18,7 @@ test("the mount config validates against the pinned bridge's own schema", () =>
// server through this same proxy, and it owns the transport quirks.
assert.equal(parsed.transport, "stdio");
assert.equal(parsed.serverName, "openviking");
- assert.equal(parsed.command, "node");
+ assert.equal(parsed.command, process.execPath);
assert.deepEqual(parsed.args, [PROXY_PATH]);
assert.equal(parsed.env.ELECTRON_RUN_AS_NODE, "1");
assert.equal(parsed.toolCallTimeoutMs, 60000);