Skip to main content
Glama
setup.sh•2.17 kB
#!/bin/bash # Weekly Summary MCP - Setup Script # Automates initial setup and configuration set -e echo "šŸ“Š Weekly Summary MCP - Setup" echo "==============================" echo "" # Check Node.js version echo "Checking Node.js version..." if ! command -v node &> /dev/null; then echo "āŒ Node.js not found. Please install Node.js 18+ first." exit 1 fi NODE_VERSION=$(node -v | cut -d'v' -f2 | cut -d'.' -f1) if [ "$NODE_VERSION" -lt 18 ]; then echo "āŒ Node.js version 18+ required. Found: $(node -v)" exit 1 fi echo "āœ… Node.js $(node -v) found" echo "" # Install dependencies echo "Installing dependencies..." npm install echo "āœ… Dependencies installed" echo "" # Create .env if it doesn't exist if [ ! -f .env ]; then echo "Creating .env file..." cp .env.example .env echo "āœ… .env created - please edit with your details" echo "" echo "āš ļø ACTION REQUIRED: Edit .env file with your information:" echo " nano .env" echo "" else echo "āœ… .env file already exists" echo "" fi # Create summaries directory mkdir -p summaries echo "āœ… Summaries directory created" echo "" # Get absolute path for MCP config SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" INDEX_PATH="${SCRIPT_DIR}/src/index.js" echo "šŸ”§ MCP Configuration" echo "====================" echo "" echo "Add this to your ~/.cursor/mcp.json:" echo "" echo "{" echo " \"mcpServers\": {" echo " \"weekly-summary-mcp\": {" echo " \"command\": \"node\"," echo " \"args\": [\"${INDEX_PATH}\"]" echo " }" echo " }" echo "}" echo "" # Check if .env needs editing if [ -f .env ]; then if grep -q "Your Name" .env; then echo "āš ļø REMINDER: Edit .env file with your details!" echo "" fi fi echo "šŸ“š Next Steps:" echo "=============" echo "1. Edit .env with your information (if not done)" echo "2. Add MCP config to ~/.cursor/mcp.json (shown above)" echo "3. Restart Cursor" echo "4. Test: 'Generate my weekly summary' in Cursor chat" echo "" echo "āœ… Setup complete!" echo "" echo "For detailed instructions, see:" echo " • QUICKSTART.md" echo " • README.md" echo ""

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/philipbloch/summary-mcp'

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