fix: add -y flag to npx args for non-interactive MCP startup

npx prompts before installing missing packages in non-interactive
environments. Adding -y ensures @waiaas/mcp installs automatically
on first run without blocking OpenClaw's MCP subprocess startup.
This commit is contained in:
Minho Yoo 2026-03-17 01:15:31 +09:00
parent 661f145fd7
commit 1df4fc0ff4

View File

@ -48,7 +48,7 @@ Connect the MCP server (pass token via environment variable):
```bash
export WAIAAS_SESSION_TOKEN="<session-token-from-quickset>"
openclaw config set mcpServers.waiaas.command "npx"
openclaw config set mcpServers.waiaas.args '["@waiaas/mcp"]'
openclaw config set mcpServers.waiaas.args '["-y", "@waiaas/mcp"]'
openclaw config set mcpServers.waiaas.env.WAIAAS_SESSION_TOKEN "\${WAIAAS_SESSION_TOKEN}"
```