File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import concurrently from "concurrently";
77const __dirname = dirname ( fileURLToPath ( import . meta. url ) ) ;
88
99// Get command line arguments
10- const [ , , environment , ...mcpServerArgs ] = process . argv ;
10+ const [ , , command , ...mcpServerArgs ] = process . argv ;
1111
1212const inspectorServerPath = join ( __dirname , "../server/build/index.js" ) ;
1313
@@ -19,7 +19,7 @@ console.log("Starting MCP inspector...");
1919const { result } = concurrently (
2020 [
2121 {
22- command : `node ${ inspectorServerPath } ${ environment ? ` --env ${ environment } ` : "" } ${ mcpServerArgs . length ? ` --args "${ mcpServerArgs . join ( " " ) } "` : "" } ` ,
22+ command : `node ${ inspectorServerPath } ${ command ? ` --env ${ command } ` : "" } ${ mcpServerArgs . length ? ` --args "${ mcpServerArgs . join ( " " ) } "` : "" } ` ,
2323 name : "server" ,
2424 } ,
2525 {
You can’t perform that action at this time.
0 commit comments