-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·30 lines (25 loc) · 853 Bytes
/
setup.sh
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
#!/bin/bash
# Cursor-Azure DevOps MCP Server Setup Script
echo "Setting up Cursor-Azure DevOps MCP Server..."
# Install dependencies
echo "Installing dependencies..."
npm install
# Create .env file if it doesn't exist
if [ ! -f .env ]; then
echo "Creating .env file from template..."
cp .env.example .env
echo "Please update the .env file with your Azure DevOps configuration."
else
echo ".env file already exists."
fi
# Remind user to configure Azure DevOps credentials
echo ""
echo "----------------------------------------"
echo "Setup complete!"
echo ""
echo "Next steps:"
echo "1. Update your .env file with Azure DevOps credentials"
echo "2. Test your connection with: npm run test-connection"
echo "3. Start the server with: npm start"
echo "4. For development mode, use: npm run dev"
echo "----------------------------------------"