From c3e63547c58b93bdfd86adfca6b8ad2cbeae6ccf Mon Sep 17 00:00:00 2001 From: oval Date: Fri, 12 Jun 2026 22:48:09 +0000 Subject: [PATCH] Add setup script --- setup.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..c83c19f --- /dev/null +++ b/setup.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# Gitea MCP Setup Script + +set -e + +echo "Installing Gitea MCP server..." + +# Download binary (replace with actual download URL) +BINARY_URL="https://gt.covalente.dk/api/packages/oval/generic/gitea-mcp/0.0.1/gitea-mcp_Darwin_arm64" +INSTALL_DIR="/usr/local/bin" + +# Create install directory if it doesn't exist +mkdir -p "$INSTALL_DIR" + +# Download binary +echo "Downloading binary from $BINARY_URL..." +curl -L "$BINARY_URL" -o "$INSTALL_DIR/gitea-mcp" +chmod +x "$INSTALL_DIR/gitea-mcp" + +echo "Installation complete!" +echo "Binary installed at: $INSTALL_DIR/gitea-mcp" + +# Verify installation +if command -v gitea-mcp &> /dev/null; then + echo "Verification successful!" + gitea-mcp --version +else + echo "Warning: Binary not found in PATH" +fi \ No newline at end of file