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";
7
7
const __dirname = dirname ( fileURLToPath ( import . meta. url ) ) ;
8
8
9
9
// Get command line arguments
10
- const [ , , environment , ...mcpServerArgs ] = process . argv ;
10
+ const [ , , command , ...mcpServerArgs ] = process . argv ;
11
11
12
12
const inspectorServerPath = join ( __dirname , "../server/build/index.js" ) ;
13
13
@@ -19,7 +19,7 @@ console.log("Starting MCP inspector...");
19
19
const { result } = concurrently (
20
20
[
21
21
{
22
- command : `node ${ inspectorServerPath } ${ environment ? ` --env ${ environment } ` : "" } ${ mcpServerArgs . length ? ` --args "${ mcpServerArgs . join ( " " ) } "` : "" } ` ,
22
+ command : `node ${ inspectorServerPath } ${ command ? ` --env ${ command } ` : "" } ${ mcpServerArgs . length ? ` --args "${ mcpServerArgs . join ( " " ) } "` : "" } ` ,
23
23
name : "server" ,
24
24
} ,
25
25
{
You can’t perform that action at this time.
0 commit comments