Skip to content

Commit a734aca

Browse files
authored
fix(mcp): fix error loading config when running MCP Server with npx and bunx (#3922)
1 parent b655c0d commit a734aca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/mcp/McpHub.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ export class McpHub {
451451
env: {
452452
...(config.env ? await injectEnv(config.env) : {}),
453453
...(process.env.PATH ? { PATH: process.env.PATH } : {}),
454+
...(process.env.HOME ? { HOME: process.env.HOME } : {}),
454455
},
455456
stderr: "pipe",
456457
})

0 commit comments

Comments
 (0)