#!/usr/bin/env bash
# Launches the Peppa MCP server; keeps the caller's cwd so .peppa/project.json resolves.
PEPPA_ROOT="$(cd "$(dirname "$(readlink -f "$0")")/../../.." && pwd)"
. "$PEPPA_ROOT/scripts/lib/load-env.sh"
exec "$PEPPA_ROOT/node_modules/.bin/tsx" "$PEPPA_ROOT/packages/mcp/src/index.ts" "$@"
