Merge pull request #681 from modelcontextprotocol/fweinberger/fix-npx-no-args
bugfix: fix `npx @modelcontextprotoco/inspector` failing on main
This commit is contained in:
commit
aa6a98ae52
1 changed files with 4 additions and 4 deletions
|
|
@ -91,10 +91,10 @@ async function startProdServer(serverOptions) {
|
|||
"node",
|
||||
[
|
||||
inspectorServerPath,
|
||||
command ? `--command=${command}` : "",
|
||||
mcpServerArgs && mcpServerArgs.length > 0
|
||||
? `--args=${mcpServerArgs.join(" ")}`
|
||||
: "",
|
||||
...(command ? [`--command=${command}`] : []),
|
||||
...(mcpServerArgs && mcpServerArgs.length > 0
|
||||
? [`--args=${mcpServerArgs.join(" ")}`]
|
||||
: []),
|
||||
],
|
||||
{
|
||||
env: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue