Skip to main content
Glama

Peekaboo MCP

by steipete
test-package.shβ€’1.66 kB
#!/bin/bash # Simple package test script for Peekaboo MCP # Tests the package locally without publishing set -e echo "πŸ§ͺ Testing npm package locally..." echo "" # Build everything echo "πŸ”¨ Building package..." npm run build:swift:all # Create package echo "πŸ“¦ Creating package tarball..." PACKAGE_FILE=$(npm pack | tail -n 1) PACKAGE_PATH=$(pwd)/$PACKAGE_FILE echo "Created: $PACKAGE_FILE" # Get package info PACKAGE_SIZE=$(du -h "$PACKAGE_FILE" | cut -f1) echo "Package size: $PACKAGE_SIZE" # Test installation in a temporary directory TEMP_DIR=$(mktemp -d) echo "" echo "πŸ“₯ Testing installation in: $TEMP_DIR" cd "$TEMP_DIR" # Initialize a test project npm init -y > /dev/null 2>&1 # Install the package from tarball echo "πŸ“¦ Installing from tarball..." npm install "$PACKAGE_PATH" # Check installation echo "" echo "πŸ” Checking installation..." # Check if binary exists and is executable if [ -f "node_modules/peekaboo/peekaboo" ]; then echo "βœ… Binary found" # Check if executable if [ -x "node_modules/peekaboo/peekaboo" ]; then echo "βœ… Binary is executable" # Test the binary echo "" echo "πŸ§ͺ Testing Swift CLI..." if node_modules/peekaboo/peekaboo --version; then echo "βœ… Swift CLI works!" else echo "❌ Swift CLI failed" fi else echo "❌ Binary is not executable" fi else echo "❌ Binary not found!" fi # Cleanup cd - > /dev/null rm -rf "$TEMP_DIR" rm -f "$PACKAGE_PATH" echo "" echo "✨ Package test complete!" echo "" echo "If all tests passed, the package is ready for publishing!"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server