-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
Β·57 lines (47 loc) Β· 1.24 KB
/
install.sh
File metadata and controls
executable file
Β·57 lines (47 loc) Β· 1.24 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
# π¦ PEACOCK INSTALLATION SCRIPT π¦
# Built by Rich Knowles
# Supports Linux and macOS
PLATFORM="$(uname -s)"
if [ "$PLATFORM" = "Darwin" ]; then
echo "π Detected macOS - using macOS installer"
exec ./install_mac.sh
fi
echo "π¦ Installing Peacock MCP Server..."
# Check if Python 3 is installed
if ! command -v python3 &> /dev/null; then
echo "β Python 3 is not installed!"
exit 1
fi
echo "β
Python 3 found: $(python3 --version)"
# Install Python dependencies
echo "π¦ Installing Python dependencies..."
pip3 install --break-system-packages -r requirements.txt
if [ $? -ne 0 ]; then
echo "β Failed to install dependencies"
exit 1
fi
echo "β
Dependencies installed"
# Make the server executable
chmod +x peacock_server.py
echo ""
echo "π Peacock installed successfully!"
echo ""
echo "π Next steps:"
echo "1. Add this to ~/.config/Claude/claude_desktop_config.json:"
echo ""
echo '{'
echo ' "mcpServers": {'
echo ' "peacock": {'
echo ' "command": "python3",'
echo ' "args": ['
echo " \"$(pwd)/peacock_server.py\""
echo ' ]'
echo ' }'
echo ' }'
echo '}'
echo ""
echo "2. Restart Claude Desktop"
echo "3. Watch Me DRIVE! π¦"
echo ""
echo "Built for Anna π πΊπ¦"