Align naming with the Blade MCP server convention used across the Sidereal platform. Updates package name, console script entry point, Docker configs, deploy script, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
527 B
Bash
Executable File
24 lines
527 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SERVER_NAME="syncthing-blade-mcp"
|
|
DEST="$HOME/.local/share/mcp-servers/$SERVER_NAME"
|
|
|
|
# Clean deploy — wipe previous, copy fresh
|
|
mkdir -p "$DEST"
|
|
rsync -a --delete \
|
|
--exclude '.git' \
|
|
--exclude '.venv' \
|
|
--exclude '__pycache__' \
|
|
--exclude '*.pyc' \
|
|
--exclude '.DS_Store' \
|
|
--exclude 'tests' \
|
|
. "$DEST/"
|
|
|
|
# Install/update deps in the runtime location
|
|
cd "$DEST"
|
|
uv sync --quiet
|
|
|
|
echo "Deployed $SERVER_NAME to $DEST"
|
|
echo " Restart Claude Desktop to pick up changes."
|