We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fzlzjerry/tarot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/bin/bash
# Tarot MCP Server Deployment Script
set -e
echo "๐ฎ Starting Tarot MCP Server deployment..."
# Check if Docker is installed
if ! command -v docker &> /dev/null; then
echo "โ Docker is not installed. Please install Docker first."
exit 1
fi
# Check if Docker Compose is installed
if ! command -v docker-compose &> /dev/null; then
echo "โ Docker Compose is not installed. Please install Docker Compose first."
exit 1
fi
# Build the application
echo "๐ฆ Building the application..."
npm run build
# Build Docker image
echo "๐ณ Building Docker image..."
docker build -t tarot-mcp .
# Stop existing containers
echo "๐ Stopping existing containers..."
docker-compose down || true
# Start the services
echo "๐ Starting services..."
docker-compose up -d
# Wait for services to be ready
echo "โณ Waiting for services to be ready..."
sleep 10
# Health check
echo "๐ฅ Performing health check..."
if curl -f http://localhost:3000/health > /dev/null 2>&1; then
echo "โ
Tarot MCP Server is running successfully!"
echo "๐ Server URL: http://localhost:3000"
echo "๐ Health check: http://localhost:3000/health"
echo "๐ API info: http://localhost:3000/api/info"
echo "๐ก SSE endpoint: http://localhost:3000/sse"
echo "๐ฏ MCP endpoint: http://localhost:3000/mcp"
else
echo "โ Health check failed. Please check the logs:"
docker-compose logs tarot-mcp
exit 1
fi
echo "๐ Deployment completed successfully!"