-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·41 lines (33 loc) · 1009 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·41 lines (33 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
# Quick installer for memory-keeper MCP server
# Can be run directly from GitHub raw URL
set -e
INSTALL_DIR="${MEMORY_KEEPER_INSTALL_DIR:-$HOME/.local/mcp-servers/memory-keeper}"
REPO_URL="https://github.com/mkreyman/mcp-memory-keeper.git"
echo "Installing memory-keeper MCP server..."
# Create installation directory
mkdir -p "$INSTALL_DIR"
# Clone repository
if [ -d "$INSTALL_DIR/.git" ]; then
echo "Updating existing installation..."
cd "$INSTALL_DIR"
git pull
else
echo "Cloning memory-keeper..."
git clone "$REPO_URL" "$INSTALL_DIR"
cd "$INSTALL_DIR"
fi
# Install dependencies and build
echo "Installing dependencies..."
npm install
echo "Building memory-keeper..."
npm run build
# Make launcher executable
chmod +x "$INSTALL_DIR/launcher.sh"
echo ""
echo "✅ Memory-keeper installed successfully!"
echo ""
echo "To add to Claude, run:"
echo "claude mcp add memory-keeper \"$INSTALL_DIR/launcher.sh\""
echo ""
echo "Data directory: ~/mcp-data/memory-keeper/"