Skip to main content
Glama

DP-MCP Server

by devraj21
setup.sh1.41 kB
#!/bin/bash # DP-MCP Server Setup Script set -e echo "🚀 Setting up DP-MCP Server..." # Colors for output GREEN='\033[0;32m' YELLOW='\033[1;33m' RED='\033[0;31m' NC='\033[0m' print_success() { echo -e "${GREEN}[SUCCESS]${NC} $1"; } print_warning() { echo -e "${YELLOW}[WARNING]${NC} $1"; } print_error() { echo -e "${RED}[ERROR]${NC} $1"; } # Check if uv is installed if ! command -v uv &> /dev/null; then print_warning "uv not found. Installing..." curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.cargo/bin:$PATH" fi # Install dependencies print_success "Installing dependencies..." uv sync # Install in editable mode uv pip install -e . # Start Docker services if available if command -v docker-compose &> /dev/null || command -v docker &> /dev/null; then print_success "Starting Docker services..." if [ -f "docker-compose.yml" ]; then docker-compose up -d sleep 10 print_success "Docker services started" fi else print_warning "Docker not found. You'll need to set up PostgreSQL and MinIO manually." fi # Test configuration print_success "Testing configuration..." uv run python src/dp_mcp/utils/config.py echo "" print_success "Setup completed! 🎉" echo "" echo "Next steps:" echo "1. Review and update the .env file" echo "2. Start the server: uv run python src/dp_mcp/server.py" echo "3. Test at: http://localhost:8888"

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/devraj21/dp-mcp'

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