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",
|
"node",
|
||||||
[
|
[
|
||||||
inspectorServerPath,
|
inspectorServerPath,
|
||||||
command ? `--command=${command}` : "",
|
...(command ? [`--command=${command}`] : []),
|
||||||
mcpServerArgs && mcpServerArgs.length > 0
|
...(mcpServerArgs && mcpServerArgs.length > 0
|
||||||
? `--args=${mcpServerArgs.join(" ")}`
|
? [`--args=${mcpServerArgs.join(" ")}`]
|
||||||
: "",
|
: []),
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
env: {
|
env: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue