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

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 },