Merge pull request #91 from modelcontextprotocol/ashwin/spawnfix

fix arg passing
This commit is contained in:
David Soria Parra 2024-11-29 11:34:25 +00:00 • committed by GitHub
commit 79344bd495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ async function main() {
[
inspectorServerPath,
...(command ? [`--env`, command] : []),
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []),
...(mcpServerArgs ? [`--args=${mcpServerArgs.join(" ")}`] : []),
],
{
env: { ...process.env, PORT: SERVER_PORT },