diff options
Diffstat (limited to 'scripts/mcp.sh')
| -rwxr-xr-x | scripts/mcp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mcp.sh b/scripts/mcp.sh index d712838..a1410bd 100755 --- a/scripts/mcp.sh +++ b/scripts/mcp.sh @@ -25,7 +25,7 @@ start() { fi echo "Start MCP Bridge server..." echo "Install node dependencies..." > "$MCP_LOG_FILE" - npm install --prefix "$ROOT_DIR/mcp/bridge" 1>/dev/null 2>> "$MCP_LOG_FILE" + (cd "$ROOT_DIR/mcp/bridge" && npm install 1>/dev/null 2>> "$MCP_LOG_FILE") nohup node "$index_js" "$llm_functions_dir" >> "$MCP_LOG_FILE" 2>&1 & wait-for-server echo "Merge MCP tools into functions.json" |
