-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_mac.sh
More file actions
executable file
Β·49 lines (41 loc) Β· 1.13 KB
/
install_mac.sh
File metadata and controls
executable file
Β·49 lines (41 loc) Β· 1.13 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
#!/bin/bash
# π¦ PEACOCK INSTALLATION SCRIPT - macOS Edition π¦
# Built by Rich Knowles
echo "π¦ Installing Peacock MCP Server for macOS..."
# 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 (macOS doesn't need --break-system-packages)
echo "π¦ Installing Python dependencies..."
pip3 install -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 on macOS!"
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 π πΊπ¦"