diff --git a/plugins/data-platform/hooks/startup-check.sh b/plugins/data-platform/hooks/startup-check.sh index 0a7dbf3..a0ee74c 100755 --- a/plugins/data-platform/hooks/startup-check.sh +++ b/plugins/data-platform/hooks/startup-check.sh @@ -7,7 +7,9 @@ PREFIX="[data-platform]" # Check if MCP venv exists PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "$(realpath "$0")")")}" -VENV_PATH="$PLUGIN_ROOT/mcp-servers/data-platform/.venv/bin/python" +# MCP servers are at marketplace root, not inside plugin +MARKETPLACE_ROOT="$(dirname "$(dirname "$PLUGIN_ROOT")")" +VENV_PATH="$MARKETPLACE_ROOT/mcp-servers/data-platform/.venv/bin/python" if [[ ! -f "$VENV_PATH" ]]; then echo "$PREFIX MCP venv missing - run /initial-setup or setup.sh" diff --git a/plugins/pr-review/hooks/startup-check.sh b/plugins/pr-review/hooks/startup-check.sh index 89e184d..c53fb16 100755 --- a/plugins/pr-review/hooks/startup-check.sh +++ b/plugins/pr-review/hooks/startup-check.sh @@ -7,7 +7,9 @@ PREFIX="[pr-review]" # Check if MCP venv exists PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "$(realpath "$0")")")}" -VENV_PATH="$PLUGIN_ROOT/mcp-servers/gitea/.venv/bin/python" +# MCP servers are at marketplace root, not inside plugin +MARKETPLACE_ROOT="$(dirname "$(dirname "$PLUGIN_ROOT")")" +VENV_PATH="$MARKETPLACE_ROOT/mcp-servers/gitea/.venv/bin/python" if [[ ! -f "$VENV_PATH" ]]; then echo "$PREFIX MCP venvs missing - run setup.sh from installed marketplace"