Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ A lightweight, Bun-based CLI for interacting with [MCP (Model Context Protocol)]
curl -fsSL https://raw.githubusercontent.com/philschmid/mcp-cli/main/install.sh | bash
```

> [!NOTE]
> The release installer currently depends on published platform binaries. If you are on **Linux arm64 / aarch64** and the latest release does not include `mcp-cli-linux-arm64`, the install script will fail over to a source install recommendation instead of succeeding.

or

```bash
Expand Down
11 changes: 10 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,16 @@ CHECKSUM_URL="https://github.com/$GITHUB_REPO/releases/latest/download/checksums
echo -e "${BLUE}Downloading...${NC}"
TMP_FILE=$(mktemp)
if ! curl -fsSL "$DOWNLOAD_URL" -o "$TMP_FILE"; then
echo -e "${RED}Failed to download binary. Check if releases exist at:${NC}"
echo -e "${RED}Failed to download binary.${NC}"
echo " URL: $DOWNLOAD_URL"
echo ""
if [ "$OS" = "linux" ] && [ "$ARCH" = "aarch64" ]; then
echo -e "${YELLOW}Linux arm64 release asset not found for the latest release.${NC}"
echo "Try installing from source instead:"
echo " bun install -g https://github.com/$GITHUB_REPO"
echo ""
fi
echo -e "${RED}Check available releases at:${NC}"
echo " https://github.com/$GITHUB_REPO/releases"
exit 1
fi
Expand Down